Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Join Date
    Jan 2006
    Posts
    42
    Plugin Contributions
    0

    Default Re: Cannot redeclare class QueryCache ... on line 16

    Quote Originally Posted by DrByte View Post
    Good :)
    Yes, you're on the right track.


    That indicates that the db can't be connected. Specifically, when using the credentials in your admin configure.php the database isn't responding.


    I have checked and double checked the Database username and password just to make sure everything is correct.

  2. #12
    Join Date
    Jan 2006
    Posts
    42
    Plugin Contributions
    0

    Default Re: Cannot redeclare class QueryCache ... on line 16

    Can this be done? Since the database has been updated to 1.5.3. Can I upload the files from 1.5.3 and copy my configure.php files and my custom template over? I only have a couple of mods installed .

  3. #13
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Cannot redeclare class QueryCache ... on line 16

    Quote Originally Posted by rtfulk View Post
    Can this be done? Since the database has been updated to 1.5.3. Can I upload the files from 1.5.3 and copy my configure.php files and my custom template over? I only have a couple of mods installed .
    Yes, and that's essentially what I usually do when upgrading anyway ... my process is described here: http://www.zen-cart.com/entry.php?3-...d-of-upgrading
    .

    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.

  4. #14
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Cannot redeclare class QueryCache ... on line 16

    Quote Originally Posted by rtfulk View Post
    One other question I noticed the stylesheet.css and stylesheet_css_buttons.css were updated. I have my own template folder should I merge those 2 css files to my template css files?
    You can certainly compare those files with the same files from the prior version (WinMerge is handy for this) and then make the corresponding updates in your own template.
    In fact, that's what upgrading is about.
    .

    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.

  5. #15
    Join Date
    Jan 2006
    Posts
    42
    Plugin Contributions
    0

    Default Re: Cannot redeclare class QueryCache ... on line 16

    Thanks for all the help. I have reverted back to 1.5.1 for now. I have ran into one issue The admin area loads now, but the webpage is still blank. Any suggestions?

    I have setup a test site and database for 1.5.3 and it is running just the generic Zen Cart stuff right now after I get the site back up I can start working on incorporating my live site into it.


    Thanks,
    Randy

  6. #16
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,960
    Plugin Contributions
    96

    Default Re: Cannot redeclare class QueryCache ... on line 16

    "webpage blank" means that you've got a debug-log file in your /logs folder. Since it's an admin-related log (the characters -adm- will appear in the filename), make sure to obfuscate your admin-folder's name if/when you post its contents.

  7. #17
    Join Date
    Jan 2006
    Posts
    42
    Plugin Contributions
    0

    Default Re: Cannot redeclare class QueryCache ... on line 16

    The latest error in the log files for admin was from 3 days ago (before I started the upgrade). I was a ZEND error php was changed to 5.4 and should have been 5.2. That has been corrected.

  8. #18
    Join Date
    Jan 2006
    Posts
    42
    Plugin Contributions
    0

    Default Re: Cannot redeclare class QueryCache ... on line 16

    With the database being updated to 1.5.3 and I'm running 1.5.1 that should be an issue should it?

  9. #19
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Cannot redeclare class QueryCache ... on line 16

    Quote Originally Posted by rtfulk View Post
    With the database being updated to 1.5.3 and I'm running 1.5.1 that should be an issue should it?
    It is normally not recommended; however, in the case of running v1.5.1 against a v1.5.3 database, there should be no problem ... with one exception: any customer or administrator passwords that were automatically updated to more secure formats will no longer work if you're using v1.5.1.
    .

    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.

  10. #20
    Join Date
    Jan 2006
    Posts
    42
    Plugin Contributions
    0

    Default Re: Cannot redeclare class QueryCache ... on line 16

    Update.

    First I want to thank everyone for their suggestions and help. Everything is back up and running. I wish I could be more specific in what I done to get it back up and running, but this is what got my website back up.

    I started at the beginning I downloaded a fresh copy of 1.5.1 and started comparing and uploading files in the includes folder after each file I checked the website. I got lucky the auto_loader folder had the problem in it. I don't know which file it was since I uploaded the folder completely.

    Even though this is a vague answer, I hope it can help someone else that has encountered the blank page problem.

    Thanks,
    Randy

 

 
Page 2 of 2 FirstFirst 12

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. Replies: 3
    Last Post: 3 Aug 2009, 06:13 AM
  3. cannot redeclare class base...
    By awhitley2 in forum General Questions
    Replies: 3
    Last Post: 23 Jun 2009, 02:02 PM
  4. Cannot redeclare class
    By (Deus) in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 2 Feb 2007, 06:31 AM
  5. Cannot redeclare class ot_coupon in
    By vixenz in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 16 Aug 2006, 09:51 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