Missing Tickets

Helpdesk for my helpdesk software

Moderator: mkoch227

allawrence
Posts: 56
Joined: Wed Sep 06, 2006 11:44 pm

Missing Tickets

Post by allawrence »

Script URL:
Version of script: 2.4
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Missing tickets

Write your message below:
Tickets created via Email can not be found.
I receive an Email acknowledging the creation of the ticket along with the ticket number.
Performing a search using the ticket ID returns a NOT FOUND message.


Any ideas would be most welcome!

Al
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Missing Tickets

Post by Klemen »

That's a strange one. Did you upgrade form 2.4 or are using a clean install?

If you turn Debug mode to "ON", do you get any extra error messages?

Are you using email piping or POP3 fetching? If you try the alternative is it any better?

Can you find tickets in the database, for example using phpMyAdmin?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
allawrence
Posts: 56
Joined: Wed Sep 06, 2006 11:44 pm

Re: Missing Tickets

Post by allawrence »

Klemen wrote:That's a strange one. Did you upgrade form 2.4 or are using a clean install?
Upgrade
If you turn Debug mode to "ON", do you get any extra error messages?
How is that accomplished?
Are you using email piping or POP3 fetching? If you try the alternative is it any better?
POP3 fetching... don't believe I can use piping with my host
Can you find tickets in the database, for example using phpMyAdmin?
Tickets are NOT in the database
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Missing Tickets

Post by Klemen »

To turn debug mode on:
1. go to Settings
2. go to Help Desk tab
3. under "Features" find "Debug mode" and turn it ON
4. save changes

Then try POP3 fetching again and see what the output says.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
allawrence
Posts: 56
Joined: Wed Sep 06, 2006 11:44 pm

Re: Missing Tickets

Post by allawrence »

Klemen wrote:To turn debug mode on:
1. go to Settings
2. go to Help Desk tab
3. under "Features" find "Debug mode" and turn it ON
4. save changes

Then try POP3 fetching again and see what the output says.
Sorry, had to go out for awhile...
Reading the above I get the impression that you believe I got some sort of 'output'.
All I got was an Email (addressed to the person sending the Email (in this case that was me)). The Email acknowledges receipt and gives the Tracking ID
What else would I be expecting to see?

Al
allawrence
Posts: 56
Joined: Wed Sep 06, 2006 11:44 pm

Re: Missing Tickets

Post by allawrence »

Having turned on DEBUG and submitting an Email, what would the next step be?
I assume there would be a file somewhere with the debug info?

Al
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Missing Tickets

Post by Klemen »

Sorry if I wasn't clear - with debug mode enabled, send an email then open the "hesk_pop3.php" file in your browser. It should show show some details of message(s) being parsed and perhaps any error messages.

Have you been modifying any files? It just doesn't make much sense that the ticket doesn't appear but the email is sent - that's the last thing that happens and it wouldn't be sent if any database-related errors occurred.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
allawrence
Posts: 56
Joined: Wed Sep 06, 2006 11:44 pm

Re: Missing Tickets

Post by allawrence »

Klemen wrote:Sorry if I wasn't clear - with debug mode enabled, send an email then open the "hesk_pop3.php" file in your browser. It should show show some details of message(s) being parsed and perhaps any error messages.
Ahhh, ok... see the results below
Have you been modifying any files? It just doesn't make much sense that the ticket doesn't appear but the email is sent - that's the last thing that happens and it wouldn't be sent if any database-related errors occurred.
If you mean 'modifying' as in modifying PHP code, the answer is no

Here is the debug results:

Connected to the POP3 server "xxx.xxx.xxx".

User "xxxxxxxxxxx" logged in.

There are 1 messages in the mail box with a total of 2557 bytes.

Parsing message 1 of 1.


Warning: stripos() [function.stripos]: needle is not a string or an integer in /homepages/43/d151159610/htdocs/kseh/inc/pipe_functions.inc.php on line 341

Warning: stripos() [function.stripos]: needle is not a string or an integer in /homepages/43/d151159610/htdocs/kseh/inc/pipe_functions.inc.php on line 342

Warning: stripos() [function.stripos]: needle is not a string or an integer in /homepages/43/d151159610/htdocs/kseh/inc/pipe_functions.inc.php on line 343

Warning: stripos() [function.stripos]: needle is not a string or an integer in /homepages/43/d151159610/htdocs/kseh/inc/pipe_functions.inc.php on line 344

Warning: stripos() [function.stripos]: needle is not a string or an integer in /homepages/43/d151159610/htdocs/kseh/inc/pipe_functions.inc.php on line 345

Warning: stripos() [function.stripos]: needle is not a string or an integer in /homepages/43/d151159610/htdocs/kseh/inc/pipe_functions.inc.php on line 346

Warning: stripos() [function.stripos]: needle is not a string or an integer in /homepages/43/d151159610/htdocs/kseh/inc/pipe_functions.inc.php on line 347

Warning: stripos() [function.stripos]: needle is not a string or an integer in /homepages/43/d151159610/htdocs/kseh/inc/pipe_functions.inc.php on line 348

Warning: stripos() [function.stripos]: needle is not a string or an integer in /homepages/43/d151159610/htdocs/kseh/inc/pipe_functions.inc.php on line 349

Warning: stripos() [function.stripos]: needle is not a string or an integer in /homepages/43/d151159610/htdocs/kseh/inc/pipe_functions.inc.php on line 350

Warning: stripos() [function.stripos]: needle is not a string or an integer in /homepages/43/d151159610/htdocs/kseh/inc/pipe_functions.inc.php on line 351

Warning: stripos() [function.stripos]: needle is not a string or an integer in /homepages/43/d151159610/htdocs/kseh/inc/pipe_functions.inc.php on line 352

Warning: stripos() [function.stripos]: needle is not a string or an integer in /homepages/43/d151159610/htdocs/kseh/inc/pipe_functions.inc.php on line 354

Ticket TUA-14A-MU69 created/updated.



Disconnected from the POP3 server "xxx.xxx.xxx".
allawrence
Posts: 56
Joined: Wed Sep 06, 2006 11:44 pm

Re: Missing Tickets

Post by allawrence »

Klemen,

Just checked HESK Admin and the ticket is now displaying on the open ticket screen. The ticket contents are the exact verbiage as contained in the Email the user receives (is that right?)

The difference between all the other attempts and this attempt was that I was using a CRON job to run the hesk_pop3.xxxxxx.php program and this time did NOT use CRON.

But I guess there still are some errors being thrown...

Hope this helps

Al
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Missing Tickets

Post by Klemen »

Does it help if you upload these two files to the server over existing ones?
http://www.phpjunkyard.com/extras/pop3.zip

pipe_functions.inc.php goes into "inc" folder and hesk_pop3.php into "inc/mail"
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
allawrence
Posts: 56
Joined: Wed Sep 06, 2006 11:44 pm

Re: Missing Tickets

Post by allawrence »

Here's the results from running it in the browser:
---------------------------
Warning: stream_wrapper_unregister() [function.stream-wrapper-unregister]: Unable to unregister protocol pop3:// in /homepages/43/d151159610/htdocs/kseh/inc/mail/hesk_pop3_xxxxxxx.php on line 59

Connected to the POP3 server "xxxxxxxxxx".

User "xxxxxxxxxx" logged in.

There are 1 messages in the mail box with a total of 24477 bytes.

Parsing message 1 of 1.

Ticket 3J4-YZT-DLB3 created/updated.



Disconnected from the POP3 server "xxxxxxxx".
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Missing Tickets

Post by Klemen »

Ok, so if you use the *original* hesk_pop3.php but this new modified pipe_functions.inc.php it works fine?

P.s.: Thanks for all the testing.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
allawrence
Posts: 56
Joined: Wed Sep 06, 2006 11:44 pm

Re: Missing Tickets

Post by allawrence »

Just checked the admin open tickets and the last ticket is not on the list
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Missing Tickets

Post by Klemen »

But the email notification arrived anyway, I presume?

If it did, I'm really not sure anymore what could be happening - no more error messages or anything, emails arrive but tickets don't exist?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
allawrence
Posts: 56
Joined: Wed Sep 06, 2006 11:44 pm

Re: Missing Tickets

Post by allawrence »

allawrence wrote:Here's the results from running it in the browser:
---------------------------
Warning: stream_wrapper_unregister() [function.stream-wrapper-unregister]: Unable to unregister protocol pop3:// in /homepages/43/d151159610/htdocs/kseh/inc/mail/hesk_pop3_xxxxxxx.php on line 59
The email arrived...

The above is not a problem?
Post Reply