isaacf Posted December 19, 2005 Posted December 19, 2005 Hello, I am new in this forum and wanted to know if they can help me with this problem, I leave the Link them so that they see that it is what it happens to me in instalaci?n of the OSC. P.S I am of the city of M?xico and I do not speak inglish... http://oscommerce.qadram.com/modules.php?n...iewtopic&t=8517 Thanks...
MaBiSmAd Posted December 20, 2005 Posted December 20, 2005 Hello, I am new in this forum and wanted to know if they can help me with this problem, I leave the Link them so that they see that it is what it happens to me in instalaci?n of the OSC. P.S I am of the city of M?xico and I do not speak inglish... http://oscommerce.qadram.com/modules.php?n...iewtopic&t=8517 Thanks... This is a problem of installing oscommerce on a recent version of PHP. The easiest way to get around this problem is to edit the install_3.php file and put in the absolute path to the oscommerce.sql file. install_3.php is located in - ...\catalog\install\templates\pages\install_3.php Find this line - $sql_file = $dir_fs_www_root . 'install/oscommerce.sql'; and change it to the absolute path - $sql_file = 'c:/inetpub/wwwroot/catalog/install/oscommerce.sql'; (the above example would be typical for a Windows web server - your path may be different)
isaacf Posted December 20, 2005 Author Posted December 20, 2005 Thanks, I could solve the problem i myself, everything was in which specified the installation route well, I I specified: /www/tienda and the correct thing is: C:\FoxServ\www\tienda Thanks for the answer in any case... :blush: Screenshot:
Bayarea510 Posted December 21, 2005 Posted December 21, 2005 MaBiSmAd, I tryed you little trick and it didnt seem to work on my install. Is there something else I might be missing? Thanks George
alanos Posted December 21, 2005 Posted December 21, 2005 in install_3.php find this: $script_filename = getenv('PATH_TRANSLATED'); if (empty($script_filename)) { $script_filename = getenv('SCRIPT_FILENAME'); } replace with this $script_filename = $_SERVER["PATH_TRANSLATED"]; if (empty($script_filename)) { $script_filename = $_SERVER["PATH_TRANSLATED"]; } This is only for windows Good luck
Guest Posted December 24, 2005 Posted December 24, 2005 Just tried both of the above but now i'm getting Parse error: parse error, unexpected T_STRING in e:\domains\t\the-mpg.com\user\htdocs\catalog\install\templates\pages\install_3.php on line 50 Am completely lost any ideas????? Thx
Guest Posted December 24, 2005 Posted December 24, 2005 Just tried both of the above but now i'm getting Parse error: parse error, unexpected T_STRING in e:\domains\t\the-mpg.com\user\htdocs\catalog\install\templates\pages\install_3.php on line 50 Am completely lost any ideas????? Thx Had applyed the register_globals patch before had if thats any help Sorry for the double posts Many Thx Ken
MaBiSmAd Posted December 24, 2005 Posted December 24, 2005 Just tried both of the above but now i'm getting Parse error: parse error, unexpected T_STRING in e:\domains\t\the-mpg.com\user\htdocs\catalog\install\templates\pages\install_3.php on line 50 Am completely lost any ideas????? Thx Just replace install_3.php with an unmodified one and try again. This error is typically caused by missing or mismatched puncuation...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.