Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Step 1 Database Import Hanging


alan-oscommerce

Recommended Posts

Hi,

 

This is my first time trying to use this application. The error I am getting is difficult to figure out, the install just hangs on Step 1 with no further information.

 

Here is what I have done

 

OS Linux, 2.4.18-14

Mysql Version 3.23.52

PHP Version 4.2.2

Apache Version 2.0.40

 

 

I downloaded oscommerce-2.2ms1.tar.gz from oscommerce.com and extracted it to a tmp dir. After reading all the docs on oscdox.com I :

 

1. Copied catalog to ~/public_html

2. copied admin to ~/public_html/catalog/admin

3. Set permissions as required

4. Via command line : mysqladmin create databasename

5. I logged in to mysql as root and granted priviliges to a user with the same name as the prefix to public_html e.g

 

GRANT ALL ON database.* TO 'alan@localhost' IDENTIFIED BY 'password';

 

This allows me to log in and execute commands on that database without any problems.

 

5. I pointed my browser at the install page and filled in the following details.

 

I left any defaults as such.

 

Webserver Root Directory=/home/alan/public_html

Database Server=tired localhost,127.0.0.1 & my actual internal ip daddress

Username=exact same as when I granted permissions

Password=as above.

 

I have turned on error logging in php.ini, none have appeared. I have looked for errors in the http error logs, again nothing, and /var/log/messages has no hints either.

 

I hope I have provided all the information necessary for someone to help me with this problem.

 

Thanks for your help in advance.

 

Alan

Link to comment
Share on other sites

Hi,

 

Webserver Root Directory=/home/alan/public_html  

Database Server=tired localhost,127.0.0.1 & my actual internal ip daddress  

Username=exact same as when I granted permissions  

Password=as above.

 

for the Database server info I think simply 'localhost' is sufficent!

Link to comment
Share on other sites

aahh, I get you.

 

You could try using phpmyadmin as an interface for checking your mysql database setup, I dont know how familiar you are with mysql but if your fairly new to it phpmyadmin will make your oscommerce experience a lot easier and may get your install up and running. :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...