DepecheNYC Posted June 22, 2007 Share Posted June 22, 2007 I've setup IIS to run a web server. I know that web server is running file because I can load index.htm with my browser. I installed MySQL. I put oscommerce files in the root folder of the web server. Now I'm stuck. What am I suppose to do next to set up the store with a web browser? Link to comment Share on other sites More sharing options...
web-project Posted June 23, 2007 Share Posted June 23, 2007 2 options 1) go to http://your-domain-or-IP-address/catalog/install 2) load and set-up by hand: i) load database file (*.sql) which is located in install folder to MySQL database ii) edit the configure.php files which located at catalog/includes/ & catalog/admin/includes/ folders Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
DepecheNYC Posted June 24, 2007 Author Share Posted June 24, 2007 2 options 1) go to http://your-domain-or-IP-address/catalog/install 2) load and set-up by hand: i) load database file (*.sql) which is located in install folder to MySQL database ii) edit the configure.php files which located at catalog/includes/ & catalog/admin/includes/ folders I get below error when I goto /localhost/catalog/install. FATAL ERROR: register_globals is disabled in php.ini, please enable it! Also, I have a feeling MySQL is not configured properly. Can you tell me what to check and how to test it? Link to comment Share on other sites More sharing options...
DepecheNYC Posted June 24, 2007 Author Share Posted June 24, 2007 I changed the register_globals in php.ini to on. I've heard it's dangerous to do this but is it mandatory to enable it to run osCommerce? After enabling it, I was able to access the first installation page. However, I got stuck at the next page which asks for below. New Installation Please customize the new installation with the following options: Import Catalog Database: Install the database and add the sample data Checking this box will import the database structure, required data, and some sample data. (required for first time installations) Automatic Configuration: Save configuration values I think MySQL is not configured properly on my server. What am I suppose to do? PS: I'm running Windows Server 2003 LOCALLY. I'm not using a hosting service yet. Link to comment Share on other sites More sharing options...
DepecheNYC Posted June 24, 2007 Author Share Posted June 24, 2007 i) load database file (*.sql) which is located in install folder to MySQL database How do I do that? Link to comment Share on other sites More sharing options...
mistoffeles Posted June 25, 2007 Share Posted June 25, 2007 I've setup IIS to run a web server. Why? Link to comment Share on other sites More sharing options...
nkouts Posted June 25, 2007 Share Posted June 25, 2007 I changed the register_globals in php.ini to on. I've heard it's dangerous to do this but is it mandatory to enable it to run osCommerce? After enabling it, I was able to access the first installation page. However, I got stuck at the next page which asks for below. New Installation Please customize the new installation with the following options: Import Catalog Database: Install the database and add the sample data Checking this box will import the database structure, required data, and some sample data. (required for first time installations) Automatic Configuration: Save configuration values I think MySQL is not configured properly on my server. What am I suppose to do? PS: I'm running Windows Server 2003 LOCALLY. I'm not using a hosting service yet. At the php.ini you must change the: register_long_arrays = On Link to comment Share on other sites More sharing options...
DepecheNYC Posted June 25, 2007 Author Share Posted June 25, 2007 At the php.ini you must change the:register_long_arrays = On I've done that so now I can get to the screen at http://server/catalog/install. However, after the second screen, nothing happens no matter which button I press. I suspect that there's something wrong with MySQL configuration. What am I suppose to do next? Link to comment Share on other sites More sharing options...
mistoffeles Posted June 25, 2007 Share Posted June 25, 2007 Also, I have a feeling MySQL is not configured properly. Can you tell me what to check and how to test it? You may wish to install phpmyadmin, a set of scripts used for administering a MySQL database server. This would not only let you know your MySQL was set up correctly, but also let you administer it almost effortlessly. Link to comment Share on other sites More sharing options...
DepecheNYC Posted June 25, 2007 Author Share Posted June 25, 2007 You may wish to install phpmyadmin, a set of scripts used for administering a MySQL database server. This would not only let you know your MySQL was set up correctly, but also let you administer it almost effortlessly. I've read about that. Where am I suppose to install it and how do I run it? Do I put it on the root folder of the store site? Link to comment Share on other sites More sharing options...
mistoffeles Posted June 25, 2007 Share Posted June 25, 2007 I've done that so now I can get to the screen at http://server/catalog/install. However, after the second screen, nothing happens no matter which button I press. I suspect that there's something wrong with MySQL configuration. What am I suppose to do next? I have the same problem, and I know for a fact that my MySQL database server works, because it has been running for over 2 years without any problems with many databases on it, so yours may be fine. Link to comment Share on other sites More sharing options...
mistoffeles Posted June 25, 2007 Share Posted June 25, 2007 I've read about that. Where am I suppose to install it and how do I run it? Do I put it on the root folder of the store site? Definitely not, you don't want just anyone to even have access to the login screen for your administration pages. Your best bet is to install it in a virtual folder, so that you access it with something like "https://yoursite/~dbadmin" or whatever you like. Note that it requires https:, the secure version of http: in order to run. I know you can set this up on Windows Server 2003, but I haven't bothered to learn how as I wouldn't run a Windows based server. I do, however, run a MySQL/Apache/PHP install on XP as a testing server - it's a decked-out laptop so I can do all my development and testing on a "real" server before it goes on the live website. Link to comment Share on other sites More sharing options...
DepecheNYC Posted June 25, 2007 Author Share Posted June 25, 2007 Definitely not, you don't want just anyone to even have access to the login screen for your administration pages. Your best bet is to install it in a virtual folder, so that you access it with something like "https://yoursite/~dbadmin" or whatever you like. Note that it requires https:, the secure version of http: in order to run. I know you can set this up on Windows Server 2003, but I haven't bothered to learn how as I wouldn't run a Windows based server. I do, however, run a MySQL/Apache/PHP install on XP as a testing server - it's a decked-out laptop so I can do all my development and testing on a "real" server before it goes on the live website. I've put it on a virtual folder. With SSL, I get unable to connect error. Without SSL, then I get below error. phpMyAdmin - Error Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. Link to comment Share on other sites More sharing options...
mistoffeles Posted June 25, 2007 Share Posted June 25, 2007 I've put it on a virtual folder. With SSL, I get unable to connect error. Without SSL, then I get below error. phpMyAdmin - Error Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. Do you have SSH installed? Have you tested your PHP install by creating a phpinfo() script and browsing to it? Link to comment Share on other sites More sharing options...
DepecheNYC Posted June 25, 2007 Author Share Posted June 25, 2007 Do you have SSH installed? Have you tested your PHP install by creating a phpinfo() script and browsing to it? Is SSH necessary? I'm using Firefox and IE 6.0 to access the site running on a server in my LAN. I made a php file using notepad with below code then saved it in the root directory of the site. <?php // Show all information, defaults to INFO_ALL phpinfo(); // Show just the module information. // phpinfo(8) yields identical results. phpinfo(INFO_MODULES); ?> I opened http://server/phpinfo.php. It showed some information of PHP. I still think there's something wrong with MySQL configuration. Can someone help me how to test to see if it's configured properly and what I'm suppose to do if it's not? Link to comment Share on other sites More sharing options...
DepecheNYC Posted June 25, 2007 Author Share Posted June 25, 2007 I refreshed phpinfo.php. Then I got "No input file specified." message on the browser. Link to comment Share on other sites More sharing options...
mistoffeles Posted June 25, 2007 Share Posted June 25, 2007 I refreshed phpinfo.php. Then I got "No input file specified." message on the browser. PHPmyadmin requires SSH to communicate with the server, because it uses https:// instead of http:// Did you follow all of the installation instructions for PHP, including the changes to httpd.conf (Apache's config file)? That looks like PHP is not properly installed or configured. Link to comment Share on other sites More sharing options...
DepecheNYC Posted June 25, 2007 Author Share Posted June 25, 2007 PHPmyadmin requires SSH to communicate with the server, because it uses https:// instead of http:// Did you follow all of the installation instructions for PHP, including the changes to httpd.conf (Apache's config file)? That looks like PHP is not properly installed or configured. I'm using IIS. From some other thread, I've read about XAMPP. When I installed that, it gave me an error too. Link to comment Share on other sites More sharing options...
DepecheNYC Posted June 26, 2007 Author Share Posted June 26, 2007 Now I'm getting "The page cannot be displayed". Someone please tell me how to cleanly remove PHP and MySQL then help me how to reinstall PHP, MySQL, IIS and osCommerce. Link to comment Share on other sites More sharing options...
DepecheNYC Posted June 26, 2007 Author Share Posted June 26, 2007 I followed below instruction. As a result, I'm getting blank pages on all .php pages. http://www.peterguy.com/php/install_IIS6.html#phpConfigure Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.