Error During Setup Amember Pro

Discussion in 'Installation' started by Jossi Fresco, Jun 3, 2003.

  1. Jossi Fresco

    Jossi Fresco Guest

    user name: joseph_fresco

    After installing the script and running setup.php, when I try to access the admin.php I get the following message:

    The file /xxx/xxxx/xxx/xxxxxxx/htdocs/membership/rconfig.inc.php has been encoded with the ionCube PHP Encoder and requires the free ionCube PHP Loader to be installed.

    I am running PHP 1.4.1 under Apache

    In checking, I see that the ioncube loaders on the package are for linux. I am running FreeBSD.

    I downloaded the FreeBsd version of ionCube loader (ioncube_loader_fre_41.s.so) and copied to the ioncube directory. When I do this, i get the following:

    The encoded file /xxx/xxxxxl/xxxxx/xxxxxxx/htdocs/membership/rconfig.inc.php has expired or is corrupt.

    What is the problem?

    The license that I received says at the top mydomain.com (domain name omitted here for security reasosns), but the real address of the website is webcast.mydomain.com. Could this be the problem?

    -- Jossi :ph34r:
  2. Jossi Fresco

    Jossi Fresco Guest

    Also.... I run the ioncube-rtl-tester.php and it reports that all is OK:
    ////////////////////////////////////////////////////////////////
    Looking for Loader 'ioncube_loader_fre_4.1.so' or 'ioncube_loader.so'

    Extensions Dir: /usr/local/lib/php/extensions/no-debug-non-zts-20010901
    Relative Path: /../../../../../../xxx/xxx/xxxx/xxx/htdocs/membership/ioncube/
    Found Loader: /usr/local/lib/php/extensions/no-debug-non-zts-20010901/../../../../../../xxx/xx/xxx/xx/htdocs/membership/ioncube/ioncube_loader_fre_4.1.so

    Trying to install Loader - this may produce an error...
    The Loader was successfully installed, and encoded files should be able to automatically install the Loader when needed. No changes to your php.ini file should be required to use encoded files on this system.

    Please send the output of this script to support@ioncube.com if you have questions or require assistance.
    ////////////////////////////////////////////////////////////////
  3. Jossi Fresco

    Jossi Fresco Guest

    :lol:

    resolved....

    The problem was that my FTP client was uploading the files as ASCII. I can see now that the emcoded files need to be uploaded as BINARY.

    It would have been better if this was explained in the ssetup info...
  4. alex-adm

    alex-adm Guest

    It will be descibed, thank you.

    I just always thought that it is common practice to upload everything (except CGI) in BINARY mode. It is just more useful.
  5. monsoon

    monsoon Guest

    sigh... happening to me too. same error message. I've tried uploading those files again in binary mode but it doesn't seem to help. Do I need to re-install after uploading in binary mode?

    BTW. Dreamweaver seems to default to ASCII mode for .php
  6. alex-adm

    alex-adm Guest

    no, reinstallation is not needed.
  7. Milly

    Milly Guest

    can someone help me?? I am having the same problem

    The encoded file /xxx/xxxxxl/xxxxx/xxxxxxx/htdocs/membership/rconfig.inc.php has expired or is corrupt

    When i bought amember i no have domain yet so i just used notyetdecided.com for the key.

    Is that why??

    I tried re uploading the file and it still gives the same error
  8. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Please read above. File must be uploaded as BINARY
  9. Milly

    Milly Guest


    Hmmm how exactly would i do that with a FTP program?

    got it...
  10. abbeyvet

    abbeyvet New Member

    Joined:
    Feb 2, 2003
    Messages:
    135
    Most FTP programs have the option to let you choose the mode - ascii, binary or Auto are the usual options.

    It would be helpful to know what FTP program you were using, so someone using the same one could be more specific.
  11. Milly

    Milly Guest

    I am using Bullet Proof FTP and you are correct there is an option to upload files in BIN mode and that is what i did.

Share This Page