Hi I'm trying to setup the fetching email functionality.

I configured pop parameters and set autocron but emails are not fetched

I have one question, where i could look to find if the email are fetched or there is an error?

(although php.ini has error reporting enabled i can't find the php error log). Is there a way to call directly cron.php so i can try to debug?

thanks.

IF you look at your php.ini it will tell you where the log is. Look for the line that has error_log = . My Debian box has it at /var/log/php.log

You may also want to check the MySQL logs especially If you have modified your source of OST (such as to add fields).

Lastly I found it helped me troubleshoot by actually logging into the account and seeing if the messages were marked as read or not. I realized that (at least on my system) although the emails were not properly being processed, it would mark them as read when it tried to connect to get them. Which is ultimately what lead me to the fact that I missed making a change in the source when I modified it to do something.

Good luck!

Thank you for your answer. php.ini did not have those directive. I added it and then configured the crontab.

Will see now if there are some errors in 5 minutes.

Update: no news from the crontab. Simulating the crontab command i have this error:

PHP Warning: session_start(): open(/var/lib/php/session/sess_pelc2mj10af9spobag5foq9tk6, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/support.medieval-europe.eu/httpdocs/main.inc.php on line 48

PHP Warning: Unknown: open(/var/lib/php/session/sess_pelc2mj10af9spobag5foq9tk6, O_RDWR) failed: Permission denied (13) in Unknown on line 0

PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0

update: i changed session.save_path for the cmdline php to /var/tmp. Now there is no more errors, but still emails aren't fetched nor error displayed...

Write a Reply...