Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2006
    Posts
    15
    Plugin Contributions
    0

    Default PHP error in log file after install

    I moved a Zen cart to a new server after never using zen-cart before and it seems to be working fine. However this morning I discovered that there it a log file (/error_log) that is 14MB in size. I have checked the file and discovered the recurring error
    Code:
    PHP Warning: Zend Optimizer for PHP 4.4.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer-2.5.7/php.4.4.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0
    I have checked back at the sites old location and this problem didn't seem to be happening there. I have searched google but not found any zen-cart related information.

    Zen cart is currently version 1.2.5
    PHP is version 4.4.1

    How can I clear this error?

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

    Default Re: PHP error in log file after install

    Zen Cart and Zend Optimizer are completely different things.

    Zend Optimizer is a PHP plugin that your host would install and maintain.
    Zen Cart is unrelated.
    .

    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 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: PHP error in log file after install

    OK, I understand that they are different but I was unsure why it was coming up. Is the Zen Cart attempting to do something that the version of ZendOptimizer cannot do? I guess it is possible that other PHP scripts on the server are creating the same error but maybe not reporting it.

    If the error is no big deal, how would I stop Zen-cart from logging the error and filling up the HDD?

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

    Default Re: PHP error in log file after install

    Zen Cart does nothing to specifically use any features of Zend Optimizer.

    Some other software is likely trying to use it to decrypt PHP code in another application and thus filling your log file.

    How to fix it? Talk to your host and report the problem.
    Either they need to fix the problem, or you need to remove the other software you've installed that's using it.
    .

    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. #5
    Join Date
    Aug 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: PHP error in log file after install

    Thanks DrByte.

    I think I have solved the problem. Zen-Cart is the only application that is installed on the server (for this domain). Also, the file is actually located at /admin/error_log and this error was occuring at the last host. Sorry for the misinformation.

    What I have found though is the file /admin/php.ini with a line that reads
    Code:
    error_log = error_log
    I guess this is where the file is being written from. The file is being written between every 1 and 10 seconds. I guess everytime someone accesses the site (PHP is running as CGI for security reasons).

    I am going to comment the line out. At least for now.

    Thanks again.

 

 

Similar Threads

  1. v139h EZPages Error in log file after installing addons
    By tony_sar in forum General Questions
    Replies: 6
    Last Post: 3 Mar 2012, 05:37 PM
  2. e1034 Incorrect key file error after upgrading server to php 5.
    By anthonytjm in forum General Questions
    Replies: 1
    Last Post: 29 Jul 2010, 08:28 PM
  3. Warning Error after SSL cert install: I am able to write to the configuration file
    By Lackew in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 30 Sep 2009, 07:36 PM
  4. Error with tpl_header.php file. FILE ATTACHED PLEASE SOMEONE SPOT ERROR
    By Canvas101 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 May 2008, 08:58 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