irrision Posted May 30, 2005 Posted May 30, 2005 I'm getting this error on a fresh install of oscommerce. Any clues as to what's going on here? Warning: main(): SAFE MODE Restriction in effect. The script whose uid/gid is 937/649 is not allowed to access includes/functions/database.php owned by uid/gid 935/100 in /home/.sites/4/site148/web/includes/application_top.php on line 63 Warning: main(includes/functions/database.php): failed to open stream: Success in /home/.sites/4/site148/web/includes/application_top.php on line 63 Warning: main(): SAFE MODE Restriction in effect. The script whose uid/gid is 937/649 is not allowed to access includes/functions/database.php owned by uid/gid 935/100 in /home/.sites/4/site148/web/includes/application_top.php on line 63 Warning: main(includes/functions/database.php): failed to open stream: Success in /home/.sites/4/site148/web/includes/application_top.php on line 63 Fatal error: main(): Failed opening required 'includes/functions/database.php' (include_path='') in /home/.sites/4/site148/web/includes/application_top.php on line 63
♥Vger Posted May 30, 2005 Posted May 30, 2005 Your web hosting company is running php in Safe Mode, which you can do nothing about. You can't run osCommerce with php in Safe Mode so you'll have to look somewhere else for hosting. Vger
designbysue Posted June 7, 2005 Posted June 7, 2005 Or you can contact your hosting company and ask them to remove your site from safe mode (not sure if that is worded correctly, but I know my host does it for me)
♥Vger Posted June 7, 2005 Posted June 7, 2005 Safe Mode is defined in php.ini. It is true that you can have a local php.ini file with Safe Mode set to off, but every time that the hosting company does an upgrade on their servers those local php.ini files get overwritten. So you can expect your website to go down every now and then. If a hosting company has 1,000 or 100,000 websites on their servers they can't be expected to bother about local php.ini files and what will happen to their settings when they run a system upgrade. Vger
thecheekymonkey Posted December 9, 2005 Posted December 9, 2005 Or you can contact your hosting company and ask them to remove your site from safe mode (not sure if that is worded correctly, but I know my host does it for me) cheers buddy, i just contacted my hosting company and they took me off safe mode, and hey presto, problem sorted within 5 mins. thanks alot ;)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.