chrometweaks.org

Whats important to look for when choosing a domain iPage hosting service ?

Click Here To View All Answers...


First question I got is Whats important to look for when choosing a domain iPage hosting service ? Thanks in advance for any response. My 2nd question... Hi......this error message is showing up in my footer and I have no idea how to correct it. <Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/blacklig/www/www/includes/functions/database.php:13) in /home/blacklig/www/www/includes/functions/database.php on line 13>.

Could someone look at my database.php on line 13 and tell me how to correct it or better yet make the correction. I have only included the first 16 lines..

<?php.

/*.

$Id: database.php,v 1.21 2003/06/09 21:21:59 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright © 2003 osCommerce.

Released under the GNU General Public License.

*/.

Function tep_db_connect($server = DB_SERVER, $username = DB_SERVER_USERNAME, $password = DB_SERVER_PASSWORD, $database = DB_DATABASE, $link = 'db_link') {.

Global $$link;..

Comments (78)

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

Comment #1

Hi Steve.....thanks for the reply. I wish I knew how to correct my problem with your reply but I have very lttle knowledge of working with php as you can see. I looked at my database.php but still unsure what to delete. If you could give me the correct code to enter there I would appreciate it...

Comment #2

What you need to do is search your files for instances of.

In order to see where the function is defined most likely would be catalog/includes/functions/general.php.

Or.

Catalog/includes/applications_top.php.

In a default install the function is normally only declared in the database.php.

Do you have more that one declare of the.

In your database.php.

This post has been edited by.

241.

: 09 July 2004, 16:22..

Comment #3

Hi.

Do you have a blank line at the top or at the bottom of the code, if so delete it and see if that resolves it.

Regards.

Mark..

Comment #4

As the catalog/includes/functions/database.php file is not a long one you could post the file to be checked..

Comment #5

Hi....and thanks to all the great replies. With this info I was able to correct it and the iPage site is running OK again...

Comment #6

Can you post the resolve to the issue in order to aid others whom find themselves with this issue or similar..

Comment #7

Hi......this error message is showing up in my footer and I have no idea how to correct it. <Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/blacklig/www/www/includes/functions/database.php:13) in /home/blacklig/www/www/includes/functions/database.php on line 13>.

Could someone look at my database.php on line 13 and tell me how to correct it or better yet make the correction. I have only included the first 16 lines..

<?php.

/*.

$Id: database.php,v 1.21 2003/06/09 21:21:59 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright © 2003 osCommerce.

Released under the GNU General Public License.

*/.

Function tep_db_connect($server = DB_SERVER, $username = DB_SERVER_USERNAME, $password = DB_SERVER_PASSWORD, $database = DB_DATABASE, $link = 'db_link') {.

Global $$link;..

Comment #8

Hi,.

The key point is.

This lets you know that this function has already been declared so you are noe looking for two instances of.

The idea being to delete or comment out one of them as you only require one...

Comment #9


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