Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ms2.2 install complete but index.php will not disp


ACE99

Recommended Posts

I'm new to all of this. I installed the latest php, mysql, and apache2 software on my windows XP laptop. The apache2 server seems to be working ok. I completed the os commerce installation successfully but when I clicked on the link to display the catalog page (catalog/index.php) the page will not display in the browser. The catalog/admin/index.php page will not display either. I have no idea how to solve this problem. Please help!

Link to comment
Share on other sites

:P

 

Hello,

 

Your problem should be easy to solve. It comes from the fact that by default, Apache is set up to display index.html pages if you don't specify the file name in your url.

 

And when you click on the Catalog link or Admin link, oscommerce send you to a url such as http://yoursite/catalog/ or http://yoursite/admin/

Apache will then try to load the default index.html which does not exist.

 

So to have it working, you only need to modify your Apache config file httpd.conf, and modify the following part to look like this (this is an extract from my httpd.conf).

 

<IfModule mod_dir.c>

DirectoryIndex index.html index.php index.htm

</IfModule>

 

Bold elements have been changed by myself. :blink:

 

Don't forget to restart the server !!

 

Regards and good luck

 

Lefuneste

Link to comment
Share on other sites

This is ACE99 again. I tried to add the suggested lines to my Apache config file, but I couldn't find those lines. So, I just tacked them on somewhere. It still didn't work. I can type in index.php and it looks like it's loading in the browser, but nothing shows up. It is so crazy because the install.php file does work!! :(

 

It must have something to do with my mysql installation because I think Index.php calls the database as soon as it loads.

Link to comment
Share on other sites

Ok mysql and everything seems to be working fine. I tested everything and it works. The oscommerce databases are even being created perfectly. However, the index.php and admin page will still not load! Arrgh!

 

My computer is set up with the web server root folder here:

 

C:\Program Files\Apache Group\Apache2\htdocs\

 

I have the oscommerce catalog set up in the root folder, and the admin folder and other folder are located in the catalog folder, like this:

 

C:\Program Files\Apache Group\Apache2\htdocs\catalog\admin...etc.

 

These are all my exact inputs in the install program for oscommerce:

 

[screen 1: New Installation]

Import catalog database: checked

Automatic configuration: checked

 

[screen 2: Database import]

Database server: localhost

username: root

password: *****

database name: oscommerce

persistent connections: checked

session storage: files

 

[screen 3]

Database import was successful! :P

 

[screen 4: configuration]

www address: http://localhost/catalog/

web server root directory: C:\Program Files\Apache Group\Apache2\htdocs\

http cookie domain: localhost

http cookie path: C:\Program Files\Apache Group\Apache2\htdocs\

 

[screen 5:configuration]

repeats what was show on screen 2

 

[final screen]

The configuration was successful!

 

There are two links to go to the catalog or admin.

 

But neither the catalog nor the admin files will run!!!!! :(

 

PLEASE HELP :(

Link to comment
Share on other sites

I am having a similar problem, it's very strange. Everything was working great until Saturday night, and then I got this crazy blank page stuff. I have contacted my webhost to see if there is a problem on their end, but they haven't found anything yet.

 

Is there a way to do the reinstall without losing what you already have stored? Perhaps there is some setting that got hosed.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...