webchicka Posted April 18, 2007 Posted April 18, 2007 I have searched topic after topic and tried everything I could find on installing OSC on a windows server. Here's what I've got Windows Server 2003 PHP 5.2.1 MySQL 5.0.22 PHPMyAdmin Help me please. I've lost track of everything I've tried but I'll try to put together a complete list. register_globals and register_long_arrays are both on. I've changed all the 'getenv's in the install files to '$_SERVER[]' I tried the steps spax laid out at http://www.oscommerce.com/forums/index.php?showtopic=259055 to no avail. I've tried manually entering the sql database using PHPMyAdmin and just not setting one up using the install After all this, I finally got through the installation, it connects to my database, and seems to finish the installation. But I got to view the catalog and it either takes me back to install.php or tells me "Unable to connect to database server". It gives me the same error when going to the Administrator page. I'm at my wits end. I've been trying to get this installed for 3 days. I need it finished tonight. Can anyone help? Pretty Please? Thanks in advance.
jasonabc Posted April 19, 2007 Posted April 19, 2007 you need to edit install/templates/pages/install_3.php and where you see: $sql_file = $dir_fs_www_root . 'install/oscommerce.sql'; Edit it to (change /path_to_root/ to real path): $sql_file = '/path_to_root/install/oscommerce.sql'; You will need to know the path to the root of your website. Check with your hosting company if you don't know. If you have the option of installing OSC on a Linux box then I'd take it. OSC and Microsoft boxes have never been the best of friends... Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
Recommended Posts
Archived
This topic is now archived and is closed to further replies.