Updating a vanilla installation of 4.0.0.2 by just replacing all the files providing in the patch returns only white/empty pages. The errorlog shows the following:
[Fri Jan 09 16:01:57 2009] [error] [client xx.xx.xx.xx] PHP Fatal error: Unable to read 21225 bytes
in /srv/www/htdocs/vhosts/eiretronic/core/oxconfig.php on line 0
This is one of the Zend encoded files.
There is nothing wrong with the server setup as I still have a 4.0.0.2 running on it with no problems and no changes where made.
It’s the CE version. I don’t think it’s the files as I used SCP and I had a quick lock at them and the ASCII files looks the same and so do the "Binary2.
hmm… Have a look at your SCP programm: In the options you shall find something where you can explicidely switch between ascii and bin transfer mode. Do not use automatic tranfer mode.
The point is still: If you are using a CE, where did you find a Zend encoded file in there?
Marco Steinhäuser
Community Operator
OXID eSales AG
Check the oxconfig.php in the patch you released - this is actually the file that throws the error message. Lookin at the header it shouldn’t be there.
<?php @Zend;
4570;
?>
This Software is the property of OXID eSales and is protected
by copyright law - it is NOT Freeware.
Any unauthorized use of this software without a valid license key
is a violation of the license agreement and will be prosecuted by
civil and criminal law.
Version OXID_PE_4.0.0.2
<?PHP
/*
print <<<EOM
<html><body><a href=“http://www.zend.com/products/zend_guard”><img border=“0” src=“http://www.zend.com/images/store/safeguard_optimizer_img.gif” align=“right”></a><center><h1>Zend Optimizer not installed</h1></center><p>This file was encoded by the <a href=“http://www.zend.com/products/zend_guard”>Zend Guard</a>. In order to run it, please install the <a href=“http://www.zend.com/products/zend_optimizer”>Zend Optimizer</a> (available without charge), version 3.0.0 or later. </p><h2>Seeing this message instead of the website you expected?</h2>This means that this webserver is not configured correctly. In order to view this website properly, please contact the website’s system administrator/webmaster with the following message:<br><br><tt>The component “Zend Optimizer” is not installed on the Web Server and therefore cannot service encoded files. Please download and install the Zend Optimizer (available without charge) on the Web Server.</tt><br><br><b>Note</b>: Zend Technologies cannot resolve issues related to this message appearing on websites not belonging to <a href=“http://www.zend.com”>Zend Technologies</a>. <h2>What is the Zend Optimizer?</h2><p>The Zend Optimizer is one of the most popular PHP plugins for performance-improvement, and has been available without charge, since the early days of PHP 4. It improves performance by scanning PHP’s intermediate code and passing it through multiple Optimization Passes to replace inefficient code patterns with more efficient code blocks. The replaced code blocks perform exactly the same operations as the original code, only faster. </p><p>In addition to improving performance, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Guard. </p><p>The Zend Optimizer is a free product available for download from <a href=“http://www.zend.com”>Zend Technologies</a>. Zend Technologies also developed the PHP scripting engine, known as the <a href=“http://www.zend.com/products/zend_engine”>Zend Engine</a>.</p></body></html>
EOM;
exit();
__halt_compiler();
?>