Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Jan 2011
    Posts
    25
    Plugin Contributions
    0

    Default Re: PHP Fatal error: Cannot redeclare class cache

    OK I reuploaded most of the files to the original ones, just to be sure. I made changes where needed of course

    I think I remember what the problem is. Installing the zen cart tag cloud app, I had to add a line of code to one of my pages. A page from the define_pages editor.

    How can I check this/ remove this line now, since I can't access the defined page editor.


    I kno I'm being kinda vague, but i really appreciate your help.

  2. #12
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: PHP Fatal error: Cannot redeclare class cache

    The define-pages-editor simply provides a screen for you to edit a file that's stored on your server, under /includes/languages/YOUR_LANGUAGE/html_includes/YOUR_TEMPLATE/
    You can access the files via your FTP program and edit them as needed.
    .

    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. #13
    Join Date
    Jan 2011
    Posts
    25
    Plugin Contributions
    0

    Default Re: PHP Fatal error: Cannot redeclare class cache

    I couldn't find it. So i just reuploaded and reinstalled zen_cart
    using the same mysql database that I originally used. But my products aren't on my site.
    I ran the fix_cache_key.php because I read that I should do that when moving servers, which is basically what I did. just didn't move to a new server.

    So what do I have to do to get my old mysql DB to be accessed by the site

  4. #14
    Join Date
    Jan 2011
    Posts
    25
    Plugin Contributions
    0

    Default Re: PHP Fatal error: Cannot redeclare class cache

    because all the corresponding lines should be correct, since I reused the backup of the site, and since the server address is the same.
    Is there some sort of updating app I have to run?

  5. #15
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: PHP Fatal error: Cannot redeclare class cache

    If you ran zc_install and chose the option to "Install" on the database screen, then you wiped out your database contents. In such case, restoring the database from your backup would be required.
    .

    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.

  6. #16
    Join Date
    Jan 2011
    Posts
    25
    Plugin Contributions
    0

    Default Re: PHP Fatal error: Cannot redeclare class cache

    Ok. I backed up my database first. When I get home I'll import it again

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v151 Shipping Estimator Sidebox PHP Fatal error: Cannot redeclare class order on 1.5.1
    By explorer1979 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 10 Apr 2014, 08:29 AM
  2. PHP Fatal error: Cannot redeclare class upload
    By cshart in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 7 Dec 2011, 06:33 AM
  3. PHP Fatal error: Cannot redeclare class order
    By sketchhgal in forum General Questions
    Replies: 7
    Last Post: 25 Jun 2010, 09:32 AM
  4. Fatal Error Cannot Redeclare Class Cache
    By Sofian in forum Basic Configuration
    Replies: 2
    Last Post: 15 Sep 2007, 10:08 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