Kian Posted February 12, 2009 Share Posted February 12, 2009 Hi all I've problem with cron.php. With plesk i set cron job but i receive back this email Site error: the file <b>/var/www/vhosts/blabla.net/httpdocs/admin/cron.php</b> requires the ionCube PHP Loader ioncube_loader_lin_5.1.so to be installed by the site administrator. If i use external cron job service it works simply using this url http://blabla.net/admin/cron.php I've 2 questions 1) How to make cron works with plesk crontab? 2) If i go to http://blabla.net/admin/cron.php cron is exechuted... i'm questioning on the fact that everybody can do the same how to secure cron.php file? Maybe i can change cron.php to cron8236.php. Can it works? 0 Quote Link to comment Share on other sites More sharing options...
bear Posted February 12, 2009 Share Posted February 12, 2009 Speak to your host/provider about getting that ioncube error fixed (assuming you don't manage the server yourself). As for renaming the file that runs, that should be no problem, I believe. As long as the cron points to the new name...but you should probably be restricting internet access to the admin folder anyway, either through renaming it (see security steps in the WIKI) or via htaccess, or both. 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted February 13, 2009 Author Share Posted February 13, 2009 Thank you for reply me now i'm goint to contact my provider. About security of Admin folder i've a problem Malicious users who visit your site and recognise a WHMCS install will know that they can try logging into your admin area via the admin folder. To protect against this, you can rename the admin folder name to any name you like. You cannot move the folder - only rename it. You can then tell WHMCS what the name of that folder is for the links in admin notification emails by adding the following line to your configuration.php file: $customadminpath = "myadminname"; Replace "myadminname" above with the new name you just gave to your admin folder. Ok, no problem Also remember to reissue your whmcs license after doing this, otherwise, you will be unable to login to your admin area. To do this, login to your client area at http://www.whmcs.com/clients, click on 'My Licenses', click on the edit icon next to your license and then on the 'Reissue License' button. Finally, if you have already created a cron job, or one has been created for you, you will need to update the path on the cron as well. Example: php -q /home/mylogin/public_html/secure/myadminname/cron.php What? i don't understand what i've to do with my license Can you please explain me this step? 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted February 14, 2009 Author Share Posted February 14, 2009 ioncube-encoded-file.php This file has been successfully decoded. ionCube Loaders are correctly installed. ioncube-loader-helper.php An ionCube encoded file has been loaded successfully. My provider told me that ioncube is available zend_extension = /usr/lib/php5/ioncube_loader_lin_5.1.so So WHY it doesen't work? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.