Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Install


Guest

Recommended Posts

I uploaded the catalog folder to my server as instructed.

 

When I went to install http://www.market-toys.co.uk/catalog/install/ all I got was the following error message FATAL ERROR: register_globals is disabled in php.ini, please enable it!. I cannot find any file php.ini to amend.

 

you have two options here...Install the patch for register globals found in the contributions

 

or create a file called php.txt and put this in the file

register_globals = on;

 

Upload it to your root folder and rename it to php.ini

 

The second option is not recommended due to security issues

 

HTH

Regards

 

Mark A Reynolds

Link to comment
Share on other sites

you have two options here...Install the patch for register globals found in the contributions

 

or create a file called php.txt and put this in the file

register_globals = on;

 

Upload it to your root folder and rename it to php.ini

 

The second option is not recommended due to security issues

 

HTH

 

 

I have managed to get started on the installation, I set all the permissions as per the documentation and all i get is the following error message:

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'market-toys.co.u'@'localhost' (using password: NO) in /home/sites/market-toys.co.uk/public_html/catalog/includes/functions/database.php on line 19

Unable to connect to database server!

Link to comment
Share on other sites

I have managed to get started on the installation, I set all the permissions as per the documentation and all i get is the following error message:

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'market-toys.co.u'@'localhost' (using password: NO) in /home/sites/market-toys.co.uk/public_html/catalog/includes/functions/database.php on line 19

Unable to connect to database server!

Link to comment
Share on other sites

I ... get .... the following error message:

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'market-toys.co.u'@'localhost' (using password: NO) in /home/sites/market-toys.co.uk/public_html/catalog/includes/functions/database.php on line 19

Unable to connect to database server!

And what is your analysis of this error message? What is it telling you?

 

And don't say "I have no idea" because anyone with no computer knowledge at all would be able to come up with SOME idea.

 

Rich.

Link to comment
Share on other sites

Hi

 

I am not thick, yes I can read an know what it says,

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'market-toys.co.u'@'localhost' (using password: NO) in /home/sites/market-toys.co.uk/public_html/catalog/includes/functions/database.php on line 19

Unable to connect to database server!

 

I have no idea whay it does not say my null domain, I have checked and double checked and my domain is completed in full everywhere i have not made any mistake, i even removed the oscommerce files from my server and started again, with the same result.

it tells me the set permission to /catalog/includes/configure.php and the reset permission to catalog/admin/includes/configure.php, these are 2 separate files, but my system will only allow one of these.

Link to comment
Share on other sites

Hi

 

I am not thick, yes I can read an know what it says,

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'market-toys.co.u'@'localhost' (using password: NO) in /home/sites/market-toys.co.uk/public_html/catalog/includes/functions/database.php on line 19

Unable to connect to database server!

 

I have no idea whay it does not say my null domain, I have checked and double checked and my domain is completed in full everywhere i have not made any mistake, i even removed the oscommerce files from my server and started again, with the same result.

it tells me the set permission to /catalog/includes/configure.php and the reset permission to catalog/admin/includes/configure.php, these are 2 separate files, but my system will only allow one of these.

Ok...

 

Can you see the database at all? Does it exist?

 

If yes then... you are tring to connect to your database using a username / domain of "market-toys.co.u" / "localhost", with no password. Is this correct? Is this user enabled/existing for the database? And if it is, does it really not require a password (not a good idea by the way).

 

I don't think your database connection problem has anything to do with your file permissions on configure.php

 

And what do you mean "...my system will only allow one of these"??? As you point out, they are two seperate files.

 

Rich.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...