Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error creating new ticket from equipment list #42

Open
mavcom opened this issue Jan 16, 2016 · 15 comments
Open

Error creating new ticket from equipment list #42

mavcom opened this issue Jan 16, 2016 · 15 comments

Comments

@mavcom
Copy link

mavcom commented Jan 16, 2016

I installed the plugin on OS Ticket vs 1.9.12, created an equipment item but when I attempt to create a new ticket by selecting the item and clicking "New Ticket" I get the following error.

The website encountered an error while retrieving http://host.svgnameserver.com/~paul/tst/upload/scp/dispatcher.php/equipment/item/openNewTicket. It may be down for maintenance or configured incorrectly.

When this did not work I thought maybe OSTEquipment Plugin is not compatible with vs 1.9.12 so I installed OST vs 1.9.4 and tried the plugin on that. The link (New Ticket) works in 1.9.4 without the error but the created ticket does not show up in the Equipment plugin.

Can you help me get this working properly on either of these versions?

@poctob
Copy link
Owner

poctob commented Jan 16, 2016

It works with 1.9.12, do you have any error in the webserver log?

@mavcom
Copy link
Author

mavcom commented Jan 19, 2016

Hi,
Sorry about the late reply. Where would I find the log? I'm hosting OS Ticket on an Centos apache server, with cpanel.

@poctob
Copy link
Owner

poctob commented Jan 19, 2016

Normally, you would want to install everything locally, test it and then deploy to your host provider. You can enable error reporting in OSTicket by following these instructions http://www.tmib.net/osticket-v19x-frequently-asked-questions-faq#2 You may or may not see anything relevant, but it is worth a shot.Alex On January 19, 2016 at 10:49 AM mavcom [email protected] wrote:Hi, Sorry about the late reply. Where would I find the log? I'm hosting OS Ticket on an Centos apache server, with cpanel.—Reply to this email directly or view it on GitHub.  

@mavcom
Copy link
Author

mavcom commented Jan 19, 2016

ok thanks. i'll give that a try.

@mavcom
Copy link
Author

mavcom commented Jan 27, 2016

Hi,

I tried what you suggested but didn't get any errors, so I installed OSTicket on my local windows computer. At first everything seemed to work fine. It created tickets from the new ticket link and they correctly linked back to the equipment, but it only did that twice. I imported users, changed the status of a machine from retired to active and turned on front end equipment management and it stopped linking the tickets. Now when I try to create a ticket from the equipment manager, when I try to save the ticket I get a 500 error.

@mavcom
Copy link
Author

mavcom commented Jan 27, 2016

I tried the instructions here: #32 but it made no difference.

@poctob
Copy link
Owner

poctob commented Jan 27, 2016

What errors do you have in your web server log?

@mavcom
Copy link
Author

mavcom commented Jan 28, 2016

Error log contains:

[Mon Jan 25 16:14:38.086079 2016] [:error] [pid 7100:tid 1532] [client ::1:60287] script 'C:/xampp/htdocs/ost/scp/apps.php' not found or unable to stat, referer: http://localhost/ost/scp/orgs.php
[Mon Jan 25 16:14:38.591108 2016] [:error] [pid 7100:tid 1532] [client ::1:60287] script 'C:/xampp/htdocs/ost/scp/apps.php' not found or unable to stat, referer: http://localhost/ost/scp/apps.php
[Mon Jan 25 16:15:47.362969 2016] [:error] [pid 7100:tid 1644] [client ::1:61077] script 'C:/xampp/htdocs/ost/scp/apps.php' not found or unable to stat, referer: http://localhost/ost/scp/index.php
[Mon Jan 25 16:15:47.465975 2016] [:error] [pid 7100:tid 1644] [client ::1:61077] script 'C:/xampp/htdocs/ost/scp/apps.php' not found or unable to stat, referer: http://localhost/ost/scp/apps.php

[Wed Jan 27 13:56:47.427586 2016] [:error] [pid 6136:tid 1704] [client ::1:57280] script 'C:/xampp/htdocs/ost/scp/apps.php' not found or unable to stat, referer: http://localhost/ost/scp/
[Wed Jan 27 13:56:48.085624 2016] [:error] [pid 6136:tid 1704] [client ::1:57280] script 'C:/xampp/htdocs/ost/scp/apps.php' not found or unable to stat, referer: http://localhost/ost/scp/apps.php

@poctob
Copy link
Owner

poctob commented Jan 28, 2016

what's the PHP version?

@mavcom
Copy link
Author

mavcom commented Jan 28, 2016

PHP Version 5.6.14

@poctob
Copy link
Owner

poctob commented Jan 28, 2016

Did you perform step 3 from here:
https://github.com/poctob/OSTEquipmentPlugin/wiki/Installation ?

@mavcom
Copy link
Author

mavcom commented Jan 28, 2016

Yes, I did

@mavcom
Copy link
Author

mavcom commented Jan 29, 2016

Reinstalled again following the instructions you suggested. Still doesn't work and the Applications link also doesn't work gives an error message:

Object not found!

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

@ngreis
Copy link

ngreis commented Apr 27, 2016

Fatal error: Class name must be a valid object or a string in /home/xxx/public_html/osticket_root/include/class.forms.php on line 455

this is what i get when creating a equipment ticket, also the application link fails as with mavcon.
same error.

Using cpanel, php 5.5.31, OST 1.9.12

Any help is welcome :)

@ngreis
Copy link

ngreis commented Apr 27, 2016

Well, had a double database reference to the form.
Go to ost_form and check if you have 2 lines for same form, Equipment, of type G, with deletable 0.
If you have 2, one has to go.

This fixes, or fixed for my case, the creating ticket with Equipment additional form.

The navbar error that goes to 404 (mavcon error), still occurs.

The front page Equipment Status link, seems to only refresh the page, does not give an error, but seems to go either reload or send to home page for OST installation.
It was suposed to show exatly what?

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants