Fatal error: Unable to read 39145 bytes in /common.inc.php on line 0

Discussion in 'Installation' started by ueslei, Sep 27, 2007.

  1. ueslei

    ueslei New Member

    Joined:
    Sep 27, 2007
    Messages:
    3
    Hi there,

    I'm keep getting the following error while trying to install the Zend trial version on our VPS.

    Fatal error: Unable to read 39145 bytes in /home/webadmin/t-s-l.com/html/amember/common.inc.php on line 0

    I've read the other forum posts and tried uploading the file using binary without any luck. I also managed to get our VPS support team to upgrade our Zend Optimizer to the latest version without any luck either.

    We ran the tester.php file and got the following results:

    Testing whether your system has ionCube Loader in php.ini...Failed
    Testing whether your system has Zend Optimizer in php.ini...OK
    Testing results:
    No additional configuration required and aMember will work on your hosting using the following loading method: Zend Optimizer installed

    Additional information:
    PHP version 4.3.9 (apache2handler)
    OS Linux traders-secret-library.com 2.6.9-023stab044.4-smp #1 SMP Thu May 24 17:20:37 MSD 2007 i686
    safe_mode Disabled
    enable_dl Enabled
    extension_dir /usr/lib/php4
    PHP Extensions yp, xml, wddx, sysvshm, sysvsem, sockets, shmop, pspell, posix, mime_magic, iconv, gmp, gettext, ftp, exif, dio, dbx, dba, curl, ctype, calendar, bz2, bcmath, zlib, openssl, apache2handler, domxml, gd, imap, ldap, mbstring, mysql, ncurses, odbc, snmp, xmlrpc, Zend Optimizer
    CURL binary /usr/bin/curl

    Would appreciate any help anyone can offer.
  2. jenolan

    jenolan aMember Coder

    Joined:
    Nov 3, 2006
    Messages:
    510
    common.inc.php is not compiled so that is not the problem.

    Could you have a permission problem? Depending on your host you might need global read?

    Gimme a link to have a peek would help.
  3. ueslei

    ueslei New Member

    Joined:
    Sep 27, 2007
    Messages:
    3
    Error Resolved

    Hi there,

    Thanks jenolan, I tried your suggestions with no luck and then decided to download and install the IonCube version of the software just out of curiosity. We had to install IonCube on our VPS previously to run some other software and it seems a bit strange that the tester.php file continues to state:

    Testing whether your system has ionCube Loader in php.ini...Failed

    I was able to install successfully and setup a few demo products etc, for testing. And all appears to be working fine for the time being.

    Thanks again to all that assisted me :)
  4. saeven

    saeven New Member

    Joined:
    Nov 23, 2007
    Messages:
    4
    Don't mean to bud in, but that's an error usually resulting from improper handling of binary encoded files.

    Make sure that you upload in binary mode, not ascii or auto, and that if the file is extracted, that you use a binary-safe archive program. I always recommend WinRAR from rarlab.com

    Cheers.
    Alex

Share This Page