Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    Idea or Suggestion Re: fix_cache_key.php suddenly broken?

    OMG - I just discovered that I might have mistakenly blamed this incident on the web host.

    After the "problem" has been "fixed" by the "web host", I decided to give the store duplication process another run, to verify that everything works smoothly and that I can perform that within less than 5 minutes.

    I repeat the process and... the same problem occurs: fix_cache_key.php yields a blank page.

    At this point I begin to understand that there may be something specific in my procedure that triggers this strange behavior... So I:
    1. Login to the admin console of the DUPLICATE store
    2. Take that DUPLICATE store out of DOWN_FOR_MAINTENANCE mode remember, the database was duplicated while the original store was in DOWN_FOR_MAINTENANCE, otherwise duplication could have unpredictable results).
    3. Run fix_cache_key.php


    All works fine!

    Conclusion: fix_cache_key.php should be run while logged in as admin and store is not DOWN_FOR_MAINTENANCE.

    DrByte, is my observation/conclusion correct?

  2. #12
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: fix_cache_key.php suddenly broken?

    Maybe in your case. I always run it without turning store down, always work for me.
    Again, having the ioncube problem is really weird, gotta be something with the way your host is configured.

    (Why dont you check the fix_cache_key yourself, and you will see that this file contain all simple php with no need for ioncube which is mostly used to decode encrypted code?)
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #13
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: fix_cache_key.php suddenly broken?

    Quote Originally Posted by zcnb View Post
    Conclusion: fix_cache_key.php should be run while logged in as admin and store is not DOWN_FOR_MAINTENANCE.

    DrByte, is my observation/conclusion correct?
    Don't know what DrByte will say but I say that is the wrong conclusion.

    fix_cache_key should only be run if...

    you cannot login to your Admin and change this setting:

    Configuration > Sessions > Session Directory

    That's basically all the 'fix_cache_key.php' does anyway.

    If you cannot login to your Admin and change the above setting, only then I would run it / use it.

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

    Default Re: fix_cache_key.php suddenly broken?

    Quote Originally Posted by zcnb View Post
    Conclusion: fix_cache_key.php should be run while logged in as admin and store is not DOWN_FOR_MAINTENANCE.

    DrByte, is my observation/conclusion correct?
    No. There should be no direct correlation.

    The problem you reported initially regarding ioncube is (if you think your host is not to blame) more likely related to something else you've got on your site.

    ie: do you have some sort of addon installed that runs encoded scripts which would thus require ioncube? Mag icSE O is one such. There are others (and all of them violate GPL by the way).
    .

    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
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    Idea or Suggestion Re: fix_cache_key.php suddenly broken?

    Than you all for your feedback. The insights I received from you help me better plan for using fix_cache_key.php properly.

    I just got the reply from from my web host's tech and he says that this problem has nothing to do with the php.ini file. The techs (several of them in succession) "fixed some of the php scripts and the mySQL databases" to get this back working.

    At least it's good to know that I wasn't too quick to put the web host tech support to work.

    As for your question, DrByte, I don't know of such add-ons. If I discover anything new I will post it here.
    Last edited by zcnb; 31 Oct 2008 at 12:57 PM. Reason: addition

  6. #16
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    Default Re: fix_cache_key.php suddenly broken?

    Quote Originally Posted by zcnb View Post
    1. Login to the admin console of the DUPLICATE store
    2. Take that DUPLICATE store out of DOWN_FOR_MAINTENANCE mode (remember, the database was duplicated while the original store was in DOWN_FOR_MAINTENANCE, otherwise duplication could have unpredictable results).
    3. Run fix_cache_key.php
    OK - I have just confirmed (for the Nth time) that the above sequence is mandatory for my store.

    I accept what DrByte said about this not being a requirement but apparently there is some uniqueness to my environment or duplication procedure.

    Perhaps this has to do with the fact that I don't create a new dbuser for the newly duplicated database but rather re-assign the existing dbuser to the newly duplicated database?

    At the moment I have no definite explanations.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v139h fix_cache_key.php and /includes/local/configure.php
    By torvista in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 7 Jan 2012, 08:46 AM
  2. Executing PHP- fix_cache_key
    By anthiases in forum General Questions
    Replies: 5
    Last Post: 30 Mar 2010, 10:13 AM
  3. fix_cache_key.php just redirects me back to index.php
    By meijerbrantm in forum General Questions
    Replies: 9
    Last Post: 28 Jun 2009, 11:14 AM
  4. fix_cache_key.php weird problem
    By erezw in forum General Questions
    Replies: 4
    Last Post: 19 Feb 2009, 04:33 AM
  5. fix_cache_key.php - ERROR
    By imfsub12 in forum General Questions
    Replies: 6
    Last Post: 1 Oct 2008, 02:19 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