Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help ERRORS


Rocketgirl

Recommended Posts

Hello,

This is 1st error in the store, store not working and can't log in the admin -

haven't sleep trying to figure this out' but i think the db server has changed' and my configures

are wrong in the ( // define our database connection ) info and on this other files

please help let me know what's wrong need support any help is appreciated!

 

Warning: mysql_pconnect(): Unknown MYSQL server host 'nameofServerhere.net' (2) in

/home/content/StoreNameHere/html/admin/includes/functions/database.php. on line 17

 

also checked admin/includes/functions/database.php.

line 17 reads: $$link = mysql_pconnect($server, $username, $password);

----------

 

This 2nd error in the admin, not workin'

 

Warning: main(includes/classes/logger.php): failed to open stream: No such file or directory in

 

/home/content/StoreNameHere/html/admin/includes/application_top.php on line 76

 

Warning: main(includes/classes/logger.php): failed to open stream: No such file or directory in

 

/home/content/StoreNameHere/html/admin/includes/application_top.php on line 76

 

Fatal error: main(): Failed opening required 'includes/classes/logger.php' (include_path='.:/usr/local/lib/php') in

 

/home/content//StoreNameHere/html/admin/includes/application_top.php on line 76

 

I checked the includes/classes/logger.php

adn checked the 'admin/includes/application_top.php on line 76 - Reads this:

--- require(DIR_WS_CLASSES . 'logger.php');

 

 

3rd error at admin

 

Warning: main(includes/database_tables.php): failed to open stream: No such file or directory in

 

/home/content/StoreNameHere/html/admin/includes/application_top.php on line 49

 

Warning: main(includes/database_tables.php): failed to open stream: No such file or directory in

 

/home/content/StoreNameHere/html/admin/includes/application_top.php on line 49

 

Fatal error: main(): Failed opening required 'includes/database_tables.php' (include_path='.:/usr/local/lib/php') in

 

/home/content/StoreNameHere/html/admin/includes/application_top.php on line 49

 

I checked the admin/includes/application_top.php on line 49

line 49 reads - require(DIR_WS_INCLUDES . 'database_tables.php');

Link to comment
Share on other sites

First, edit both of your configure.php files and change the pconnect line to

  define('USE_PCONNECT', 'false');

That will probably fix all of the errors. If not, post again and we'll keep trying.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

First, edit both of your configure.php files and change the pconnect line to
  define('USE_PCONNECT', 'false');

That will probably fix all of the errors. If not, post again and we'll keep trying.

 

Regards

Jim

Thanks you, i have edited those to false) but now i'm getting this error

Warning: mysql_connect(): Unknown MySQL server host 'nameofServerhere.net' (2) in

/home/content/StoreNameHere/html/includes/functions/database.php on line 19

Unable to connect to database server!

 

 

includes/functions/database.php on line 19 - Reads:

$$link = mysql_connect($server, $username, $password);

And still getting the 2nd error in admin, i'm going to see what the name of the server is then update

define('DB_SERVER', in configures' Im not sure but that could be the problem.

Link to comment
Share on other sites

Most MySQL servers are defined as localhost, rather than the domain name or host server name. What did your host instruct you to use? If you're not clear on that, get back to them and ask.

Link to comment
Share on other sites

Most MySQL servers are defined as localhost, rather than the domain name or host server name. What did your host instruct you to use? If you're not clear on that, get back to them and ask.
yes i just talk to them, and they would help me with backup, restore, migrate the DB, and hopefully this will help' the site is working but i get those random errors

but for now i should wait for the backup to finish' and hopefully i should be able to log in to the admin' thanks for your help!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...