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

    help question fix_cache_key.php suddenly broken?

    fix_cache_key.php used to work for me time after time. A few minutes ago I tried it again and... it simply displays a blank page. Which spells t-r-o-u-b-l-e ...

    Trying to figure out why this weird, unexpected behavior, I tried running it from the command line:
    Code:
    /usr/bin/php -f  fix_cache_key.php
    Sure enough, in response I receive something that I don't think I should be receiving:
    Failed loading /usr/local/IonCube/ioncube_loader_lin_5.2_ts.so: /usr/local/IonCube/ioncube_loader_lin_5.2_ts.so: cannot open shared object file: No such file or directory
    <html><head>
    <style type="text/css">
    <!--
    h1 {
    color: #B56224;
    }
    h2 {
    color: #D67732;
    }
    h3 {
    color: #D67630;
    }
    .red {
    color: #FF0000;
    font-weight: bolder;
    }
    .green {color: #009900;
    font-weight: bolder;
    }
    -->
    </style>
    </head><body>
    I suspect that this is a problem with some change done at my web host, not fix_cache_key.php, because it is the same exact fix_cache_key.php that used to work for me for weeks.

    However, before contacting my web host tech support I think that I need to confirm with the guru(s) familiar with this PHP script the nature of this problem.

    Note: Zen Cart continues to work as usual.

    Another piece of information that may be relevant: 5 months ago, my web host account used PHP ver. 5.2.5. It is now ver. 5.2.6.

    Are you familiar with this error message?
    Last edited by zcnb; 30 Oct 2008 at 08:17 PM. Reason: fix typo

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: fix_cache_key.php suddenly broken?

    Why not just call file from normal url
    i.e

  3. #3
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    Default Re: fix_cache_key.php suddenly broken?

    Quote Originally Posted by misty View Post
    Why not just call file from normal url?
    That's exactly what I have been doing - and did this time, too.

    But this time it failed (blank page), so I tried calling the file from the command line to get more diagnostic information (which I did - see the post that started this thread).

    Interestingly enough, in my search for clues I found the following thread:

    http://www.zen-cart.com/forum/showth...hlight=IonCube

    While Zen Cart itself does not require IonCube, perhaps fix_cache_key.php does?

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

    Default Re: fix_cache_key.php suddenly broken?

    No, Zen is opensource, it does not need that.
    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

  5. #5
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    help question Re: fix_cache_key.php suddenly broken?

    Yes, I know that Zen Cart itself does not require IonCube, but I was asking about the script that is not officially part of Zen Cart: fix_cache_key.php.

    If it doesn't need IonCube, why do I get this error message?

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

    Default Re: fix_cache_key.php suddenly broken?

    Probably a configuration change recently made to your server by your hosting company? Perhaps they recently changed something to make it trigger ioncube stuff? Maybe they're making every PHP script run thru ioncube for some reason? Doesn't make sense, but sometimes server admins do strange things, sometimes unbeknownst even to themselves.

    The fix_cache_key.php utility script is a very simple PHP script, and does not require or utilize anything specific to ioncube or any encoding library.
    .

    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.

  7. #7
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    Default Re: fix_cache_key.php suddenly broken?

    Thanks for your insights, DrByte. I know that you are the one who wrote fix_cache_key.php, so I was eager to hear what you have to say about this.

    In the meanwhile, my web host tech support managed to fix the problem. That was after I had to re-state the fact that this script has not changed since May 2006 and so the sudden break must have been due to a recent change in the system (they did some impressive upgrades in the last few days).

    I still don't know how they fixed it. If and when I get this information from them I will post it here. I somehow suspect that this had something to do with the global php.ini (in /usr/local/lib).

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

    Default Re: fix_cache_key.php suddenly broken?

    Failed loading /usr/local/IonCube/ioncube_loader_lin_5.2_ts.so: /usr/local/IonCube/ioncube_loader_lin_5.2_ts.so: cannot open shared object file: No such file or directory
    That type error msg. is specific to Server software. In doing some upgrades the IonCube was missed being included which produced the error. No doubt you will get a similar type msg. from your Hoster but as a Hosting Client, who cannot do anything to correct the situation, one only needs to know the problem was solved.

  9. #9
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    Default Re: fix_cache_key.php suddenly broken?

    Quote Originally Posted by Website Rob View Post
    That type error msg. is specific to Server software. In doing some upgrades the IonCube was missed being included which produced the error. No doubt you will get a similar type msg. from your Hoster but as a Hosting Client, who cannot do anything to correct the situation, one only needs to know the problem was solved.
    What you say is correct, but the last sentence seems to contradict the following solution to the same type of problem:

    http://www.bluehostforums.com/showthread.php?p=55567

    If you read the solution at the end of the thread, you'll notice that all what was needed is change a setting in php.ini.

    If I place my own php.ini under my home directory, then in essence I do have control over this. To make such decision, however, I need to know first whether my host's solution was in php.ini or something in the installation of that .so library.

    I am still baffled by the fact that while this script couldn't run by PHP, the entire Zen Cart functioned perfectly. How is this possible? Either PHP is broken or not.

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

    Default Re: fix_cache_key.php suddenly broken?

    Ok, let me clarify by stating that each Hoster has their own way of setting up their Servers.

    As a Hoster as well, I do not see the logic in doing things the way BlueHost does with regard to this situation but, their Company, their Servers, their Rules. If you host with them and their solutions work for you then all is good.

    IMHO, a Hosting Client should not have to worry about back-end Server stuff and/or settings for them; such as: IonCube, Zend, cURL, whatever.

 

 
Page 1 of 2 12 LastLast

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