Hi, common problem here, but none of the solutions on the forum seems to apply.
- Brand new 1.6 RC5 setup via Fantastico (manual install and setup yields same problem)
- "Enable cron call on staff's activity" work just fine. Gets new emails from my support email addresses quick. Email is set to POP with SSL.
- Site is active, Enabled POP/IMAP email fetch in settings
Now, automatic cron jobs wouldn't work. So, I opened a shell via Putty to the site.
- local php is at /usr/local/bin/php
- cron.php located at /home/jovasol/support/api/cron.php
I manually typed:
## /usr/local/bin/php /home/jovasol/support/api/cron.php
and receive:
Fatal Error: Contact system administrator.blahblah@blahblah.com
Which, I found in main.inc.php, but I have no idea what the specific error is. How can I determine the exact cause?
Also, initially, I was getting an error_log file in my /api folder, with the following line:
PHP Warning: PHP Startup: mm_create(0, /session_mm_cli1075) failed, err mm: failed to open semaphore file (Permission denied) in Unknown on line 0
I traced this to a standard "issue" with PHP 5.2.10, where the default session.save_path in the php.ini file is set to a folder without write permissions. I copied the php.ini to a user folder, and uncommented the default session.save_path to be simply:
session.save_path = /tmp
Now, when I call the line with a custome php.ini file:
## /usr/local/bin/php -c /home/jovasol/php.ini /home/jovasol/support/api/cron.php
I still get:
Fatal Error: Contact system administrator.blahblah@blahblah.com
but, at least no error_log file is created. So I can't find any specific errors! Any help would be appreciated.
Thanks,
Garrick