chrometweaks.org

Which iPage hosting service for paying video lessons website ?

Click Here To View All Answers...


My question is Which iPage hosting service for paying video lessons website ? Hoping for any comment. Second question of mine... How do I fix this...ive been looking at the code for about an hour and dont understand what is wrong w/ it...can someone post what their code for that section is so I can copy past it so it can work....thanks or tell me how to fix it.....

Comments (138)

I would like to know the answer too. Anyone here know what is the right answer to your question. I'll do some Googling and get back to you if I find an good answer. You should email the people at iPage as they probably could give you an answer..

Comment #1

When you need a fresh copy of a file download osc to a spare dir and take from there..

What happened just prior to this error occuring ? did you install a contrib...

Comment #2

I'm having the same problem. I've restored the file with no luck. Help!..

Comment #3

On which page are you seeing this error message? The more likely problem is that you have added code to that page to establish a new database connection after the db connection has already been made by the database.php page. There probably isn't anything wrong with your database.php page..

The error message is telling you that database.php has already made a connection to the database (with the code on line 13) and you are trying to redeclare values for the function tep_db_connect to make it connect to the database again...

Comment #4

Shopping_cart.php. I've restored the file from backup but am stilling having the problem:.

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/virtual/site23/fst/var/www/html/oscommerce/includes/functions/database.php:13) in /home/virtual/site23/fst/var/www/html/oscommerce/includes/functions/database.php on line 13..

Comment #5

No contribution. I was just trying to change alignment...

Comment #6

Okay, Maybe it would be better to move My Account | Cart Contents | Checkout to the right column. Here is the image of what I'm talking about...

Comment #7

Lol, I was really confused... after reading and seeing the screenshot...

Comment #8

This has been addressed a number of times before in the forums..

You have uploaded the wrong file to the languages directory...

Comment #9

Please explain further. Is there more than one shopping_cart.php?..

Comment #10

Yes.

The one in /catalog/ and also in each of the catalog/includes/languages/*/.

Where * is somthing like english / espanol / german etc...

Comment #11

I have created an entry in the KB for this problem.

Http://www.oscommerc...on_Problems/198..

Comment #12

Thank you, thank you, thank you! I was having a panic attack over this!..

Comment #13

How do I fix this...ive been looking at the code for about an hour and dont understand what is wrong w/ it...can someone post what their code for that section is so I can copy past it so it can work....thanks or tell me how to fix it.....

Comment #14

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/bjrdzlt/public_html/store/includes/functions/database.php:13) in /home/bjrdzlt/public_html/store/includes/functions/database.php on line 13..

Comment #15


This question was taken from a support group/message board and re-posted here so others can learn from it.