Installation ...plugins\db\mysql\mysql.inc.php is corrupted.

Discussion in 'Installation' started by payne, Dec 22, 2008.

  1. payne

    payne New Member

    Joined:
    Dec 22, 2008
    Messages:
    4
    When installing, I rec'd the error:

    ...plugins\db\mysql\mysql.inc.php is corrupted.

    So I checked around the forum and found a couple of old post hinting at uploading in binary format and/or possible corrupt php scripts or old ionCube loader....

    I made sure the ftp was set to binary...and uploaded again...no luck...

    The ionCube version seems to be current...so that leaves me with a corrupt php script...

    Any suggestions as to a fix would be appreciated.

    Thanks in advance,
    Payne

    Just for some background...I ran Tester.php on my hosting company...here's the output:

    Hosting company: www.webhost4life.com

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

    Testing results:
    No additional configuration required and aMember will work on your hosting using the following loading method: ionCube Loader installed

    Additional information:
    PHP version 5.2.0 (isapi)
    OS
    Windows NT DEDI535 5.2 build 3790
    safe_mode
    Disabled
    enable_dl
    Enabled
    extension_dir
    C:\PHP5\ext\
    PHP Extensions
    bcmath, calendar, com_dotnet, ctype, filter, ftp, hash, iconv, json, odbc, Reflection, date, libxml, zlib, SimpleXML, dom, SPL, wddx, xml, xmlreader, xmlwriter, ISAPI, mbstring, bz2, curl, dba, dbase, gd, gettext, imap, ldap, mcrypt, mhash, mime_magic, ming, mssql, mysql, mysqli, openssl, pgsql, shmop, snmp, sockets, tidy, xmlrpc, xsl, zip, ionCube Loader, Zend Optimizer
    CURL binary
    Not found, but curl PHP extension is available

    The related post:


    06-12-2007, 02:37 PM
    I've downloaded the trial version to test out. After copying the files to the web folder, and running the initial setup (urls, database, etc) I click the link to go to the admin and get the error:

    "amember\plugins\db\mysql\mysql.inc.php is corrupted."

    I did NOT FTP the files. I downloaded them directly to the www server.

    I am running IIS on w2k3. I do not need the folder protect options.

    Thanks for the tips and suggestions.

    --------------------------------------------------------------------------------

    jenolan06-13-2007, 07:56 PM
    You need to upload the encoded php files in binary mode.

    --------------------------------------------------------------------------------

    alex06-14-2007, 02:39 PM
    There can be 2 reasons:
    - files were broken during unpacking;
    - there is old version of Zend Optimizer or ionCube Loader installed in your PHP
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    If this is not fixed yet. Please contact support and attach phpinfo() output we will check what can be wrong.
  3. payne

    payne New Member

    Joined:
    Dec 22, 2008
    Messages:
    4
    Moved Amember source to new Hosting company

    I decided to host amember on a dedicated Linux box with full support for MySQL, PHP, etc...

    Uploaded everything and it works just fine...not sure where the problem was with webhosting4life.com....

    Thanks for your help
    Payne
  4. daxcastro

    daxcastro New Member

    Joined:
    Nov 8, 2009
    Messages:
    1
    I too have found this same problem. Simply installed the amember script, configured it and tried to run, but got the corrupt error.

    I have re-downloaded the file, made sure I uploaded in binary format, still same error.

    The test script came back okay.. so everything is supposed to be running, but it is not.

    Any help is great.

    Thanks

    www.blairegroup.com/amember


    Dax
  5. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    You appear to be running on a server with Windows OS.

    Don't think aMember runs on windows servers. This was probably the problem with above poster.
  6. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    aMember is working fine on Windows servers powered by Apache (not IIS).

    This problem is usually related with wrong upload (file uploaded in ASCII mode instead of binary). Try to use another ftp client, or contact us via helpdesk with ftp info and we will help with upload.
  7. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    Sorry Alex meant to add that bit.

    blairegroup.com seems to be running on an IIS/5.0 server.

Share This Page