slic535 Posted August 3, 2011 Share Posted August 3, 2011 i cannot get into the admin of my site. any clues? this is what i get Fatal error: Unable to read 12019 bytes in /home/slic535/public_html/admin_enc_zend.php on line 0 Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 3, 2011 Share Posted August 3, 2011 We think the likely cause is that when the files that have 'zend' or 'ion' as part of the filename were FTP'd to your hosted space, the FTP program assumed these files were ASCII (or "textual") as opposed to binary. It is true that PHP code is all textual, and several FTP programs, if set to "Auto" in its file transfer mode, will assume files with a .php suffix can use the ASCII mode. But not in this case. Zend encoded files have raw binary stuff in it, and these files must be transferred using "Binary" mode. Quote Link to comment Share on other sites More sharing options...
slic535 Posted August 3, 2011 Author Share Posted August 3, 2011 We think the likely cause is that when the files that have 'zend' or 'ion' as part of the filename were FTP'd to your hosted space, the FTP program assumed these files were ASCII (or "textual") as opposed to binary. It is true that PHP code is all textual, and several FTP programs, if set to "Auto" in its file transfer mode, will assume files with a .php suffix can use the ASCII mode. But not in this case. Zend encoded files have raw binary stuff in it, and these files must be transferred using "Binary" mode. i tried to go into my encoding and change to unicode but it still didnt work. how do i do it? i get a message that says this in admin_enc_zend.php <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(); my hosting provider says the script is running more than 64m so it wont work, how is this? can this be fixed Quote Link to comment Share on other sites More sharing options...
Guest hennaboy Posted August 4, 2011 Share Posted August 4, 2011 As bsmither has mentioned to you. You have uploaded the file incorrectly. He did not mentioned changing the encoding to unicode like you have tried. You need to delete the file and upload again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.