Page 1 of 1

[SOLVED] email fetching doesn't work

Posted: Tue Apr 14, 2015 4:40 pm
by steraffi
Script URL: http://185.58.193.30/Version of script: Last
Hosting company: Hosted on vps running ubunti client 14
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
fetching - #!/usr/bin/php -q

Write your message below:
Hi, i'm installing for the first time the hesk's last version on a virtual server ubuntu client 14. (the web server is apache2 and db is mysql - no lampp)
I've a problem with email fetching:
the system doesn't fetch new email
note that the hesk_pop3.php file has 777 CHMOD
and when i execute the file from web browser i receive an error message with this string: #!/usr/bin/php -q

i think the issue depends on my poor knowledge about apache configuration (i normally use xampp). Can you help me to solve?
Thank you

Re: email fetching doesn't work

Posted: Tue Apr 14, 2015 7:07 pm
by Klemen
Try turning "Debug mode" to "ON" in HESK settings and see if you get any more information when you open hesk_pop3.php in browser.

Re: email fetching doesn't work

Posted: Wed Apr 15, 2015 7:11 am
by steraffi
Hi Klemen; i turned ON debug mode:
the fetching function seems work; this is the message returned:
#!/usr/bin/php -q
'Connected to the POP3 server "pop.gmail.com".
User "testhesk2307@gmail.com" logged in.
There are 1 messages in the mail box with a total of 9391 bytes.
Parsing message 1 of 1'

the problem seems be about ticket visualization on the mail page.

Note that i tried to install the system on xampp in the same server and there the problem doesn't appear

Note also that i don,t receive the opening new ticket mail (and the system isn't in test mode)
Thank's

Re: email fetching doesn't work

Posted: Wed Apr 15, 2015 9:51 am
by Klemen
Are there any folder or files created inside your "attachments" folder when you run POP3 fetching?

Re: email fetching doesn't work

Posted: Wed Apr 15, 2015 1:11 pm
by steraffi
Nothing; only index.html and __latest.txt (default)

Re: email fetching doesn't work

Posted: Wed Apr 15, 2015 1:27 pm
by steraffi
Hi Klemen!
everything stop and save your time!
i solved with a new installation. Perhaps something about old was wrong.
Thank you so much for you patience
i'm closing the post
bye