There are so many posts regarding the cron in 1.8 that I hate to create another thread but here it is.PHP Error log entries (none)Host: HostgatorMail Sending: (SMTP is setup and working)Mail Fetching/Receiving: (IMAP is set up and successfully connected but has not downloaded any emails)PHP version: 5.2.17Operating System: Linux CentOSThis is an upgraded install from 1.7.I have set up the cron job in Cpanel with Hostgator and they have confirmed it is correct. I have turned on the polling.Emails are correct for IMAP and SMTP.I had set up an API for the rcron as well with easycron but it did not work. 

ok, it appears that the Hostgator tech support is slipping. I entered home3 instead of home as is stated in ALL of the support materials and now I am getting a response emailed to me. Here is the error I am getting now:

<br />

<b>Parse error</b>:  syntax error, unexpected T_FUNCTION in <b>/home3/xxxxxxxxx/public_html/leadcapturepagebosshelp.com/include/class.ticket.php</b> on line <b>1923</b><br />

x's replace my username on the server. 

"PHP version: 5.2.17" osTicket requires PHP 5.3.

With Hostgator the htaccess file includes some code that ensures using 5.3, or so they say.# Use PHP 5.4AddType application/x-httpd-php53 .phpThis is suppose to be the fix regarding Hostgator and since that I am still getting this error. I am happy to push hostgator more if this is the issue for sure. I appreciate your assistance and would be happy to have someone knowledgeable sort this out for compensation. You appear to be admin. I remember seeing something about getting help setting up osticket. Well this is a pickle and it is worth paying someone to fix. 

Here is the entire htaccess file in the root directory, which they said would suffice for the add-on domains that I have in the account. Do you see anything wrong in this code for the htaccess file?# Use PHP 5.4AddType application/x-httpd-php54 .php<IfModule mod_suphp.c> suPHP_ConfigPath /home3/btwynne <Files php.ini>   order allow,deny   deny from all </Files></IfModule>

Here was my fix:For those of you that use Hostgator and are trying to use osticket 1.8 here is the scoop, well two scoops.1. In your htaccess file in your root you need to add the following code and not everyone is on home3 so look on the left hand side of your cpanel main page. # Use PHP 5.4AddType application/x-httpd-php54 .php<IfModule mod_suphp.c> suPHP_ConfigPath /home3/btwynne <Files php.ini>   order allow,deny   deny from all </Files></IfModule>2. Setup this for a cron job:*/5 * * * */opt/php53/bin/php /home3/username/public_html/leadcapturepagebosshelp.com/api/cron.phpIn this case leadcapturepagebosshelp.com is an add-on domain. If you just have one primary domain there would be nothing to place here, unless you were installing osticket on a subdomain.

Write a Reply...