aMember Pro - PHP 4.3.10 (was "Smarty Error")

Discussion in 'Troubleshooting' started by beano, Dec 16, 2004.

  1. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    I believe it is already resolved in helpdesk, right?
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Yes, you should.
  3. jasondavis

    jasondavis New Member

    Joined:
    Aug 1, 2003
    Messages:
    85
    1 site is resolved the other has the license error, not sure how it happened
  4. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Please try to re-upload ionCube loaders again (it has been updated, download again and update).
    If it doesn't help, contact support as suggested in newsletter.
  5. Willow

    Willow Guest

    I also have the same, but when I ran tester.php I got a message telling me that amember was loading using Zend, and that no further configuration was required. My hosts are currently running 4.3.9 but are upgrading today.

    Do I need to upgrade?
  6. gigaenvy

    gigaenvy New Member

    Joined:
    Oct 19, 2004
    Messages:
    33
    JasonDavis,

    My domain also had the licensing message when my host upgraded and not once did I receive smarty errors. Here is my final summary that still needs to be confirmed by Alex.

  7. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    IMPORTANT!

    We have discovered that Zend Optimizer (even latest 2.5.7) has a bug that prevents ionCube (and any other PHP extensions like that) from working correctly with PHP 4.3.10.

    This way, if:
    - your host has PHP 4.3.10 installed;
    - and your host has Zend Optimizer installed;
    - and you are using ionCube (default) version of aMember Pro;
    there will be troubles, you will see the same license error.

    To resolve this problem, you need to change your aMember Pro to Zend-encoded version. To do that, you just need to replace 2 files in your installation to Zend-encoded:
    amember/rconfig.inc.php
    amember/plugins/db/mysql/mysql.inc.php

    Zend-encoded files for latest version (today it is 2.3.3) can be downloaded from members area.

    We will make Zend-encoded files for previous versions of aMember available for download from members area tomorrow.

    P.S. We are sorry for all these troubles. It is really annoying. I guess it is result of competitive activity between Zend (they sell Zend SafeGuard and they are related with PHP development as well) and ionCube encoder, which is more advanced independent product.
  8. rupa

    rupa Guest

    Same "Smarty Error" but PHP 4.3.11

    I have the following cofiguration on the server --

    aMember 2.3.2 PRO
    PHP Version 4.3.11
    Apache 1.3.33

    And with no code changes, today I suddenly get the above same error

    Warning: call_user_func_array(): First argumented is expected to be a valid callback, 'Array' was given in /hsphere/local/home/codonix1/codonixnotes.com/amember/smarty/SmartyNoWrite.class.php on line 222

    Because of this issue our customers are unable to login/register or use any of the member services on our application.

    Please treat this as high priority and prompt assistance is greatly appreciated.

    Thanks in advance,
    Rupa
  9. tomarriola

    tomarriola Member

    Joined:
    Mar 29, 2003
    Messages:
    140
    Since its urgent I hope you posted this to support. You'll get a very fast reply there. It could take days if you wait for support via these forums.
    Good luck
    Tom
  10. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
  11. rupa

    rupa Guest

    Thanks, I did open a ticket as well (question) but haven't heard back. And I already got 2 responses here :)
  12. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    I hope all your questions were answered in the helpdesk in time, right?
  13. rupa

    rupa Guest

    Yes, the pointer you had sent worked and the issue was resolved then itself. Help was faster (actually immediate) than with the helpdesk :)

    Thanks a lot for your help!

    Regards,
    Rupa

Share This Page