Wizard upload error log
Wizard upload error log
I just attempted to upload a wizard I modifed and I get the error "Wizard installation failed. Uploaded zip file is not a config wizard." I renamed it and changed the templates and functions... however I can't seem to find the error log that states what the issue is.
Re: Wizard upload error log
Usually we only see this if someone is trying to upload a wizard into the component field, or if the wizard is truly corrupted/mangled/broken. I don't know of any sort of log that we would keep for this, but I can ask the developers what sort of things would cause it to fail. In the meantime, can you post/PM your wizard? If you PM it to me, please post back here saying you have done so for the benefit of the rest of the staff.
Update: Received and shared in network drive.
Update: Received and shared in network drive.
Former Nagios employee
Re: Wizard upload error log
Sent PM with web wizard attached.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Wizard upload error log
I PM's you back a fixed wizard
For others, here was the problem, a wizard must be in a folder with the same name as the *.inc.php file.
Also, I fixed a bug in the wizard code on line 558 where it was missing a comma, causing invalid PHP
For others, here was the problem, a wizard must be in a folder with the same name as the *.inc.php file.
Also, I fixed a bug in the wizard code on line 558 where it was missing a comma, causing invalid PHP
Re: Wizard upload error log
Thanks Scott. I appreciate the help!
Re: Wizard upload error log
I uploaded the wizard and noticed that everything below the regular website URL wizard disappeared. Looking into the logs to see what happened.
Re: Wizard upload error log
Normally that means the page is hitting a warning that is causing the script to die but not actually breaking everywhere when it just gets loaded into the system, only when it's being called.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Wizard upload error log
I moved this /usr/local/nagiosxi/html/includes/configwizards/website_24x7 to /tmp and refreshed the web page. All the other wizards came back. Going to keep digging and see what happened.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Wizard upload error log
This is likely a bug in your wizard, check your apache log
tail -f /var/log/httpd/error_log
tail -f /var/log/httpd/error_log
Re: Wizard upload error log
No errors are showing up in the apache logs.