Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Urguent help, whats this error please?


Mark-UK

Recommended Posts

Ive moved my site to a new hosting company and i cant install it, im getting this error, any ideas please.

 

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'lighter_oscadmin'@'localhost' (using password: YES) in /usr/local/psa/home/vhosts/lightercompany.co.uk/httpdocs/includes/functions/database.php on line 19

Unable to connect to database server!

Link to comment
Share on other sites

Ive moved my site to a new hosting company and i cant install it, im getting this error, any ideas please.

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'lighter_oscadmin'@'localhost' (using password: YES) in /usr/local/psa/home/vhosts/lightercompany.co.uk/httpdocs/includes/functions/database.php on line 19

Unable to connect to database server!

 

You have set up a database on your new host and imported your database right?

 

What about editing the configuration file with your new database location, user name and password.

Link to comment
Share on other sites

hi i now getting this one, any ideas please.

 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/install) is not within the allowed path(s): (/usr/local/psa/home/vhosts/lightercompany.co.uk/httpdocs:/tmp:/usr/local/share/pear) in /usr/local/psa/home/vhosts/lightercompany.co.uk/httpdocs/includes/warnings.php on line 5

 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/includes/configure.php) is not within the allowed path(s): (/usr/local/psa/home/vhosts/lightercompany.co.uk/httpdocs:/tmp:/usr/local/share/pear) in /usr/local/psa/home/vhosts/lightercompany.co.uk/httpdocs/includes/warnings.php on line 12

Link to comment
Share on other sites

Any ideas please.

This error indicates that your host has enabled the PHP open_base_dir setting on your server. Your host needs to add your Movable Type installation folder to the allowed paths for this setting (i.e., add the file path referenced in the error as "not within the allowed path").

 

The open_base_dir setting is primarily used to prevent php scripts for a particular user from accessing files in another user's account. So usually, any files in your own account should be readable by your own scripts.

 

Check your path settings in the confirguration files ( catalog/includes/configure.php, catalog/admin/includes/configure.php)

 

HTH

 

-Sidd

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...