Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2007
    Posts
    9
    Plugin Contributions
    0

    Default Fatal Error Cannot Redeclare Class Cache

    Hey all, was messing around with my site a little, i installed FCKEditor but i think i done something wrong and i removed it. set everything back to using Plain Text for my product descriptions. Now when i try to view my website i get this error:

    Cannot redeclare class cache in /home/fhlinux166/j/jlcomputers.co.uk/user/htdocs/includes/classes/cache.php on line 202

    I can access my admin still but cant see my webpage.

    I've also checked line 202 of cache.php and its a ")"

    Help would be appreciated :) thanks

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Fatal Error Cannot Redeclare Class Cache

    I think I'd suggest going into your Admin, and use the Developer Toolkit to search All Catalog Files for "cache.php" and see what it comes up with.

    I don't think the FCKEditor stuff is the cause.
    I suspect you've got a duplicate of cache.php in some folder that's auto-loading somehow.

    Or, you could try this more comprehensive diagnostic approach:
    http://www.zen-cart.com/wiki/index.p...Obscure_Issues

    And, as always, make a mental note to always backup all files and database before installing new toys.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Aug 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Fatal Error Cannot Redeclare Class Cache

    Thanks a lot for the reply DrByte. i managed to sort it with a quick re-upload of the "includes" folder, luckily i didnt damage any of the site i'd already done

    Thanks again :)

 

 

Similar Threads

  1. v151 Fatal error Cannot redeclare class
    By sasha21 in forum General Questions
    Replies: 5
    Last Post: 21 Jul 2013, 03:21 AM
  2. PHP Fatal error: Cannot redeclare class cache
    By snk429 in forum General Questions
    Replies: 15
    Last Post: 16 Feb 2011, 10:08 PM
  3. Fatal error: Cannot redeclare class template_func
    By drseuss in forum General Questions
    Replies: 3
    Last Post: 12 Aug 2009, 07:02 PM
  4. Fatal error: Cannot redeclare class un_productlist
    By pazdar in forum General Questions
    Replies: 2
    Last Post: 1 Jun 2008, 04:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg