Guest Posted February 4, 2003 Share Posted February 4, 2003 I've got warning message. how do I fix line 432 of application_top.php? Please help me :cry: Warning: open_basedir restriction in effect. File is in wrong directory in xxxxxx/httpdocs/shop/catalog/includes/application_top.php on line 432 Link to comment Share on other sites More sharing options...
toolcrazy Posted February 4, 2003 Share Posted February 4, 2003 It has nothing to do with OSC, don't try and edit the line. It is the old PHP Safe mode stuff that is all over this forum. What were you doing when you recieved this error? Steve ------------------------- Link to comment Share on other sites More sharing options...
lap Posted February 4, 2003 Share Posted February 4, 2003 I've got warning message.how do I fix line 432 of application_top.php? Please help me :cry: Warning: open_basedir restriction in effect. File is in wrong directory in xxxxxx/httpdocs/shop/catalog/includes/application_top.php on line 432 :? I have got the same problems hosting with basm.be , I haven't already fix the problem, but i would suggest don't edit the line too, because i also think this is the problems from PHP setting on the server side !! The problem is this :arrow: e.g. In file application_top in 'catalog/includes/' trying read a file which is from the like this `/includes/application.php' but actually they was on the same directry, so i won't work ! Unless their server setting is right, otherwise no hope just by changing the directory yourself for all the includes/ !! Is anyone know how to solve this, it is the Virtual Directry must be 'ON' :?: Link to comment Share on other sites More sharing options...
Ramesh Posted February 4, 2003 Share Posted February 4, 2003 this occurs on one of my test servers as well. in the admin contrl panel if i click on who's online and there is at least one person online (or me using another explorer windows - ctrl N) I get the same message. it does seem to work (i.e. who's online) but just says the error message anyway. Special Effects / 3d + Flash Link to comment Share on other sites More sharing options...
Guest Posted February 4, 2003 Share Posted February 4, 2003 And ...here is the solution http://www.oscommerce.com/forums/viewtopic.php...3279&highlight= HTH Link to comment Share on other sites More sharing options...
Guest Posted February 8, 2003 Share Posted February 8, 2003 I asked to my server support desk. Answer is "We suggest you the following solution for your problem with the cart. You need to change one parameter from the file application_top.php to make your cart work. Just FTP into your domain and locate the file in the shop/catalog/includes/ folder in httpdocs. Download the file to your PC. Edit it with some text editor and locate the following text define('PHP_SESSION_SAVE_PATH', '/tmp') remove the / from /tmp to make it look as define('PHP_SESSION_SAVE_PATH', 'tmp') and again upload the file. Create a folder named tmp in the same folder as the file and give it 777 permissions recursively. " This is deferent issuer in there but I had "make /tmp directry" error same time. So, I was following above. Then I canged line 429 of the file application_top.php . from (ture) "// check if the configure.php file is writeable if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') { if (STORE_SESSIONS == '') { " to (false) "// check if the configure.php file is writeable if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'false') { if (STORE_SESSIONS == '') { " It looks fine now. :D Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.