Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 21

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 28.08.2004, 03:08   #1 (permalink)
Baby Mamber
 
Join Date: Jun 2004
Posts: 22
inkpassion is on a distinguished road
Default Cafepress mod wont work!

My Site is www.inkpassion.com and I cannot get the cafepress working right. My cafepress store is http://www.cafepress.com/inkpassioncom. When you click on my link I get the following error :

Fatal error: Cannot redeclare class cafepressbox in /home/inkpassion/www/www/administrator/components/com_cafepress/class.cafepressbox.php on line 84

Help!

inkpassion is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 28.08.2004, 07:02   #2 (permalink)
Junior Mamber
 
richardt's Avatar
 
Join Date: Apr 2004
Location: Melbourne, Australia
Posts: 42
richardt is on a distinguished road
Send a message via MSN to richardt
Default Re: Cafepress mod wont work!

Have a look in this thread (not sure if it'll help but I saw it floating around).

http://mambers.com/showthread.php?t=...ight=cafepress
__________________
Richard Thornton
http://richardthornton.com
richardt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 28.08.2004, 09:03   #3 (permalink)
Expert Mamber
 
rober's Avatar
 
Join Date: May 2004
Location: Kansas, U.S.A.
Posts: 332
rober is on a distinguished road
Send a message via MSN to rober
Default Re: Cafepress mod wont work!

Quote:
Originally Posted by inkpassion
My Site is www.inkpassion.com and I cannot get the cafepress working right. My cafepress store is http://www.cafepress.com/inkpassioncom. When you click on my link I get the following error :

Fatal error: Cannot redeclare class cafepressbox in /home/inkpassion/www/www/administrator/components/com_cafepress/class.cafepressbox.php on line 84

Help!


I think your problem lies here in your path. "www/www" you stuttered
__________________
Peace, wherever you are.
Designs by Rober
Network Engineer and graphics designer. Jack of all internet trades...
rober is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 29.08.2004, 02:48   #4 (permalink)
Baby Mamber
 
Join Date: Jun 2004
Posts: 22
inkpassion is on a distinguished road
Default Re: Cafepress mod wont work!

www/www is the right path I have other sub domains and the way my host works they have it setup this way.
inkpassion is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 29.08.2004, 02:49   #5 (permalink)
Baby Mamber
 
Join Date: Jun 2004
Posts: 22
inkpassion is on a distinguished road
Default Re: Cafepress mod wont work!

Quote:
Originally Posted by richardt
Have a look in this thread (not sure if it'll help but I saw it floating around).

http://mambers.com/showthread.php?t=...ight=cafepress
Been there installed it not work

Another other ideas?
inkpassion is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 29.08.2004, 18:46   #6 (permalink)
Expert Mamber
 
rober's Avatar
 
Join Date: May 2004
Location: Kansas, U.S.A.
Posts: 332
rober is on a distinguished road
Send a message via MSN to rober
Default Re: Cafepress mod wont work!

I have requested that some of the developers review this message to see if they can be of assistance.

Hopefully, you will have an answer soon.
__________________
Peace, wherever you are.
Designs by Rober
Network Engineer and graphics designer. Jack of all internet trades...
rober is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 29.08.2004, 19:36   #7 (permalink)
Elite Mamber
 
descartes's Avatar
 
Join Date: Mar 2004
Location: Nürnberg
Posts: 1,021
descartes is on a distinguished road
Default Re: Cafepress mod wont work!

...Now it seems to work?!

Greetings,
__________________
Christian Hent - Moderator
Download XAMPPMambo now!
descartes is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 29.08.2004, 21:51   #8 (permalink)
Expert Mamber
 
rober's Avatar
 
Join Date: May 2004
Location: Kansas, U.S.A.
Posts: 332
rober is on a distinguished road
Send a message via MSN to rober
Default Re: Cafepress mod wont work!

It works when called up directly, but when you click on the link, you get:
http://www.inkpassion.com/index.php?...ress&Itemid=45

Are you using wrapper by chance?
__________________
Peace, wherever you are.
Designs by Rober
Network Engineer and graphics designer. Jack of all internet trades...
rober is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 30.08.2004, 00:18   #9 (permalink)
Administrator
 
Join Date: Mar 2004
Posts: 807
Admin will become famous soon enough
Default Re: Cafepress mod wont work!

Gladly PHP says exactly what is wrong. You just have to read the error message:

Quote:
Fatal error: Cannot redeclare class cafepressbox in /home/inkpassion
Now what does this mean?
Your component is using a php class library which is called "cafepressbox". When you start the component, it tries to register this class in PHP. During this process PHP suddenly realises, that there already exists a class with the same name. As a class can only be registered to PHP once, PHP suddenly interrupts and drops the error message.

How can you solve this?
In most cases the error wasn't made by the user, but by the developer. And this error is a common one. After the develper coded the component, he maybe thought that a module would be a nice addition to his component. In this module he uses many functions, he already has coded in his component. So why invent the wheel twice? He just loads the class library and think he is safe. But he is not!

When you have already declared your class in the module, the component will fail to initialize the class again (if the component is loaded after the module, otherwise it's vice versa). So the developer must check, if the class is already declared if so, he didn't need to do this again.

You should try to turn off the module and see, if the component now loads fine. If it will, please inform the corresponding author (see XML file) and point him to this thread. If this is not the solution, than damn, it took me 5 minutes to explain this so very detailed...
__________________
Regards,
Arthur Konze
Webmaster @ Mamboportal.com - Mambers.com
Admin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 30.08.2004, 05:27   #10 (permalink)
Expert Mamber
 
rober's Avatar
 
Join Date: May 2004
Location: Kansas, U.S.A.
Posts: 332
rober is on a distinguished road
Send a message via MSN to rober
Default Re: Cafepress mod wont work!

Quote:
Originally Posted by Admin
If it will, please inform the corresponding author (see XML file) and point him to this thread. If this is not the solution, than damn, it took me 5 minutes to explain this so very detailed...

And so nicely I might add, very nice job professor

Thanks for the clarification Aurthur, even us old dogs learned something on this session
__________________
Peace, wherever you are.
Designs by Rober
Network Engineer and graphics designer. Jack of all internet trades...

Last edited by rober; 02.09.2004 at 06:58.
rober is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi template hack (sub_template ) will it work in 4.5.1 beta 4 Graemezee Development Discussions 2 16.08.2004 13:23
Please help me titledata.php wont work with alias yipppie Mambo 4.5 'How Do I' Questions 1 07.08.2004 16:55
AkoFormsBot dont work HELP kachete Mambo 4.5 'How Do I' Questions 1 19.07.2004 23:56


All times are GMT +2. The time now is 03:40.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.