Product:
Search Type:

"Cannot redeclare db_fetch_row()" error in Sitebuilder module

Article ID: 5250
Last Review: May,07 2008
APPLIES TO:
  • Plesk 8.4.0 for Linux/Unix

SYMPTOMS

Plesk panel > Modules > Remote Administration of Sitebuilder page shows the following error:

Fatal error: Cannot redeclare db_fetch_row() in
/usr/local/psa/admin/plib/modules/sbm3/dbcommon.php on line 15

The problem may appear if:
  • you upgrade to Plesk 8.4.0 from Plesk versions older then v8.3.0, for example v8.2.1 -> v8.4.0 upgrade;
  • Sitebuilder support module was already installed and used prior to upgrade.

RESOLUTION

Download the attached archive that onto the server that contains two files corrected:

/usr/local/psa/admin/plib/modules/sbm3/common.php
/usr/local/psa/admin/plib/modules/sbm3/config.php


Extract the archive and replace these files:

# tar xfz ./smb3.db_fetch_row.fix.tgz -C /usr/local/psa/admin/

Please make backup of original files before.

Additional information

MD5 (/usr/local/psa/admin/plib/modules/sbm3/common.php) = 138f49db6805fcbabf5d78965783e003

MD5 (/usr/local/psa/admin/plib/modules/sbm3/config.php) = d48809e6be83a4f34ef9f0d0fd2c2988

ATTACHED FILES:

smb3.db_fetch_row.fix.tgz

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields