|
|
#1 |
![]() Join Date: Dec 2005
Posts: 7
![]() |
Hi,
I downloaded and installed following components on my mambo 4.5.2 - DOCMan 1.3 RC 2 - Lister 1.0 RC 2 module After configured docman, when I click on the component, I recevie following fatal error message. Fatal error: Cannot redeclare themeConfig::$details_homepage in c:\wamp\www\mambo\components\com_docman\themes\def ault\themeConfig.php on line 36 I was wondering anyone experience this before? Looking forward for your reply. Thanks. |
|
|
|
|
|
#2 |
![]() Join Date: Jan 2006
Posts: 1
![]() |
I have the same problem.
"Cannot redeclare themeConfig::$details_homepage ... components/com_docman/themes/default/themeConfig.php on line 36" Does anyone have a solution? |
|
|
|
|
|
#3 |
![]() Join Date: Sep 2005
Location: Yorkshire, England
Posts: 1,372
![]() |
It seems to be a killer bug in Docman. If you edit the file components/com_docman/themes/default/themeConfig.php and delete line 33 (the first declaration of $details_homepage) you will get over the problem.
|
|
|
|
|
|
#4 | |
![]() Join Date: May 2005
Posts: 7
![]() |
I was also hit by this bug when upgraded to docman 1.3 RC_2. I have PHP 5.0.4. A minor addition to the solution posted in the earlier comment (thanks for the same!) .
In the themeConfig.php I have, the *first declaration* of the variable details_homepage is on line 65. So just find this string and either disable or delete the line -- " var $details_homepage = "1";" -Ninad Quote:
|
|
|
|
|
|
|
#5 |
![]() Join Date: May 2006
Posts: 1
![]() |
solution :
in the file themeConfig.php (docman folder) delete var $details_downloads = "1"; and delete $details_homepage = "1"; that will work wonderfull. ![]() |
|
|
|
|
|
#6 |
![]() Join Date: Jan 2007
Posts: 16
![]() |
Just replace the codes
Code:
var $details_homepage = "1"; with : //var $details_homepage = "1"; or you can delete codes : Code:
var $details_homepage = "1"; ![]() |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem with admin section | sarmiento | General Questions | 16 | July 19th, 2006 23:21 |
| Fatal error: Cannot redeclare class version | Siempie | Administration Questions | 23 | March 20th, 2006 14:16 |
| Fatal Error in Docman | Westeras.com | General Questions | 3 | March 30th, 2005 11:28 |
| Fatal error: Cannot redeclare viewbanner() | gabeparr | Administration Questions | 0 | August 25th, 2004 11:31 |