MDN

Go Back   Mambo - Forums Closed for posting > Mambo 3rd Party Addons > Components

Reply
 
Thread Tools Search this Thread Display Modes
Old December 12th, 2005, 10:32   #1
dchai
 
Join Date: Dec 2005
Posts: 7
dchai is on a distinguished road
Default docman fatal error Cannot redeclare themeConfig::$details_homepage

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.
dchai is offline   Reply With Quote
Old January 26th, 2006, 22:30   #2
drumminhands
 
Join Date: Jan 2006
Posts: 1
drumminhands is on a distinguished road
Default Same problem

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?
drumminhands is offline   Reply With Quote
Old January 27th, 2006, 07:50   #3
counterpoint
 
counterpoint's Avatar
 
Join Date: Sep 2005
Location: Yorkshire, England
Posts: 1,372
counterpoint is on a distinguished road
Default

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.
counterpoint is offline   Reply With Quote
Old April 6th, 2006, 09:17   #4
ninad
 
Join Date: May 2005
Posts: 7
ninad is on a distinguished road
Default

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:
Originally Posted by counterpoint
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.
ninad is offline   Reply With Quote
Old June 11th, 2006, 03:08   #5
diamonta
 
Join Date: May 2006
Posts: 1
diamonta is on a distinguished road
Default solution for fatal error

solution :
in the file themeConfig.php (docman folder) delete var $details_downloads = "1"; and delete $details_homepage = "1";
that will work wonderfull.
diamonta is offline   Reply With Quote
Old March 28th, 2007, 05:44   #6
cakka
 
Join Date: Jan 2007
Posts: 16
cakka is on a distinguished road
Lightbulb Just do this

Just replace the codes

Code:
var $details_homepage = "1"; 

with :

//var $details_homepage = "1";

or you can delete codes :

Code:
var $details_homepage = "1";
cakka is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

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


All times are GMT -7. The time now is 19:37.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.