vansrv7 Posted May 20, 2014 Share Posted May 20, 2014 (edited) One more problem in my 1.5.6.1 installation: when I'm on FO in a customer account and click on referral program, I have this error messages: Warning: include_once() [function.include-once]: Unable to access /var/www/vhosts/MYDOMAIN/httpdocs/shop/modules/referralprogram/controllers/front../../../ReferralProgramModule.php in/var/www/vhosts/MYDOMAIN/httpdocs/shop/modules/referralprogram/controllers/front/program.php on line 30 Warning: include_once(/var/www/vhosts/MYDOMAIN/httpdocs/shop/modules/referralprogram/controllers/front../../../ReferralProgramModule.php) [function.include-once]: failed to open stream: No such file or directory in/var/www/vhosts/MYDOMAIN/httpdocs/shop/modules/referralprogram/controllers/front/program.php on line 30 Warning: include_once() [function.include]: Failed opening '/var/www/vhosts/MYDOMAIN/httpdocs/shop/modules/referralprogram/controllers/front../../../ReferralProgramModule.php' for inclusion (include_path='.:') in/var/www/vhosts/MYDOMAIN/httpdocs/shop/modules/referralprogram/controllers/front/program.php on line 30 Warning: include_once() [function.include-once]: Unable to access /var/www/vhosts/MYDOMAIN/httpdocs/shop/modules/referralprogram/controllers/front../../../referralprogram.php in/var/www/vhosts/MYDOMAIN/httpdocs/shop/modules/referralprogram/controllers/front/program.php on line 31Warning: include_once(/var/www/vhosts/MYDOMAIN/httpdocs/shop/modules/referralprogram/controllers/front../../../referralprogram.php) [function.include-once]: failed to open stream: No such file or directory in/var/www/vhosts/MYDOMAIN/httpdocs/shop/modules/referralprogram/controllers/front/program.php on line 31Warning: include_once() [function.include]: Failed opening '/var/www/vhosts/MYDOMAIN/httpdocs/shop/modules/referralprogram/controllers/front../../../referralprogram.php' for inclusion (include_path='.:') in/var/www/vhosts/MYDOMAIN/httpdocs/shop/modules/referralprogram/controllers/front/program.php on line 31Fatal error: Class 'ReferralProgramModule' not found in /var/www/vhosts/MYDOMAIN/httpdocs/shop/modules/referralprogram/controllers/front/program.php on line 200 Any help? (...I think I'll never end to debug my site....) Edited May 20, 2014 by vansrv7 (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted May 21, 2014 Share Posted May 21, 2014 Can you check if the module's folder has enough permissions? Like 755 or 775 Link to comment Share on other sites More sharing options...
vansrv7 Posted May 21, 2014 Author Share Posted May 21, 2014 Hi Nemo, default settings were 755 for folders, 644 for files. Tryed changing everything to 777 but the result is the same Link to comment Share on other sites More sharing options...
NemoPS Posted May 21, 2014 Share Posted May 21, 2014 What about this file? ReferralProgramModule.php can you check if it's broken or something? Should be in the main directory of the module Link to comment Share on other sites More sharing options...
vansrv7 Posted May 21, 2014 Author Share Posted May 21, 2014 The file looks ok. I also re-uploaded it from my local installation (that works correctly) but nothing changed. Since I recently moved the installation from localhost to remote server, I think it's something related to server configuration (my local installation works pretty well) but I don't know where to look at. Link to comment Share on other sites More sharing options...
vansrv7 Posted May 21, 2014 Author Share Posted May 21, 2014 Maybe found the solution. In my domain configuration I deactivated the PHP safe mode using che Plesk control panel. Now it looks working correctly. I hope I didn't damaged something else..... Link to comment Share on other sites More sharing options...
Recommended Posts