Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

pISS Slideshow problem - please help


bksbeat

Recommended Posts

I have just copied all changes made to my server, and when I load my website, i.e. www.nontando.com

I get this error...

 

 

Warning: mysql_connect() [function.mysql-connect]: in /mnt/w0311/d39/s22/b00b868a/www/includes/functions/database.php on line 19

Unable to connect to database server!

 

I have never had a problem with my database before, so this probably has something to do with the dbase change I made, which I thought was correct.

Here is a copy of database, with the new fied I added at the bottom

 

products_id int(11) Yes NULL auto_increment Change Drop Primary Index Unique Fulltext

products_quantity int(4) Yes 0 Change Drop Primary Index Unique Fulltext

products_model varchar(12) Yes NULL Change Drop Primary Index Unique Fulltext

products_image varchar(64) Yes NULL Change Drop Primary Index Unique Fulltext

products_price decimal(15,4) Yes 0.0000 Change Drop Primary Index Unique Fulltext

products_date_added datetime Yes 0000-00-00 00:00:00 Change Drop Primary Index Unique Fulltext

products_last_modified datetime Yes NULL Change Drop Primary Index Unique Fulltext

products_date_available datetime Yes NULL Change Drop Primary Index Unique Fulltext

products_weight decimal(5,2) Yes 0.00 Change Drop Primary Index Unique Fulltext

products_status tinyint(1) Yes 0 Change Drop Primary Index Unique Fulltext

products_tax_class_id int(11) Yes 0 Change Drop Primary Index Unique Fulltext

manufacturers_id int(11) Yes NULL Change Drop Primary Index Unique Fulltext

products_ordered int(11) Yes 0 Change Drop Primary Index Unique Fulltext

products_slide_images text Yes Change Drop Primary Index Unique Fulltext

Check All / Uncheck All With selected: Or

 

 

Was I suppose to do something else as I have no idea why it is telling me it cannot connect to my database server?

Thanks

Gary

Link to comment
Share on other sites

I have done a backup here but I really need to resolve. Surely adding a field to a file on a dbase would not cause this error. (1) I have never got this error before (2) I have also never added a field on a file to my dbase before.

 

Please I need some help here

Thanks

Gary

 

 

I have just copied all changes made to my server, and when I load my website, i.e. www.nontando.com

I get this error...

 

 

Warning: mysql_connect() [function.mysql-connect]: in /mnt/w0311/d39/s22/b00b868a/www/includes/functions/database.php on line 19

Unable to connect to database server!

 

I have never had a problem with my database before, so this probably has something to do with the dbase change I made, which I thought was correct.

Here is a copy of database, with the new fied I added at the bottom

 

products_id int(11) Yes NULL auto_increment Change Drop Primary Index Unique Fulltext

products_quantity int(4) Yes 0 Change Drop Primary Index Unique Fulltext

products_model varchar(12) Yes NULL Change Drop Primary Index Unique Fulltext

products_image varchar(64) Yes NULL Change Drop Primary Index Unique Fulltext

products_price decimal(15,4) Yes 0.0000 Change Drop Primary Index Unique Fulltext

products_date_added datetime Yes 0000-00-00 00:00:00 Change Drop Primary Index Unique Fulltext

products_last_modified datetime Yes NULL Change Drop Primary Index Unique Fulltext

products_date_available datetime Yes NULL Change Drop Primary Index Unique Fulltext

products_weight decimal(5,2) Yes 0.00 Change Drop Primary Index Unique Fulltext

products_status tinyint(1) Yes 0 Change Drop Primary Index Unique Fulltext

products_tax_class_id int(11) Yes 0 Change Drop Primary Index Unique Fulltext

manufacturers_id int(11) Yes NULL Change Drop Primary Index Unique Fulltext

products_ordered int(11) Yes 0 Change Drop Primary Index Unique Fulltext

products_slide_images text Yes Change Drop Primary Index Unique Fulltext

Check All / Uncheck All With selected: Or

 

 

Was I suppose to do something else as I have no idea why it is telling me it cannot connect to my database server?

Thanks

Gary

Link to comment
Share on other sites

The error is indicating that it cant even connect to your database ... check to make sure ur database hasn't gone down (check with hosting maybe their having an outage) ... also check your /catalog/includes/configure.php file and make sure your database settings are correct in there..

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...