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

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

  1. beano

    beano Guest

    Everything was working fine up until this morning. Attempted to join, log into the members area and even log into the admin area and got the following message:

    Warning: Illegal offset type in /home/..../public_html/members/smarty/Smarty.class.php on line 195

    Warning: Smarty error: unable to read template resource: "fatal_error.html" in /home/..../public_html/members/smarty/Smarty.class.php on line 546

    Any ideas?? I'm using aMember Free 1.85
  2. kbray

    kbray New Member

    Joined:
    Dec 17, 2004
    Messages:
    3
    My ISP just upgraded their php version to 3.1.0 today. And today I am also getting this error.

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

    Just wondering if there is a relationship.

    -kevin
  3. mh718

    mh718 New Member

    Joined:
    Feb 4, 2003
    Messages:
    36
    same trouble--related to PHP upgrade

    I'm getting the same Smarty errors and my host also upgraded PHP today. I need a fix quick! So I will try the trouble tickets.
  4. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
  5. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Please let me know if it really helps to resolve issue.
  6. mh718

    mh718 New Member

    Joined:
    Feb 4, 2003
    Messages:
    36
    already have those files

    Alex, I'm pretty sure my Ioncube is already 4.3.10, but I overwrote with new ones anyway and now I get an error with rconfig.inc.php

    Do I upload as ascii or binary? I did binary.
  7. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Please paste EXACT error message.
  8. mh718

    mh718 New Member

    Joined:
    Feb 4, 2003
    Messages:
    36
    not getting the rconfig error anymore

    I switched over to a PC to do the unzip and upload of the 4.3.10 files, so I'm back to square one with the Smarty.class.php error (Ioncube is correct and I have PHP 4.3.10 running).

    Warning: Illegal offset type in /home/.xx/xx/xx.com/users/smarty/Smarty.class.php on line 176

    Fatal error: Call to undefined function: array() in /home/.xx/xx/xx.com/users/smarty/SmartyNoWrite.class.php on line 165
  9. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    If you are using aMember Pro older than 2.1.9 (that included old version of Smarty library), then it is necessary to upgrade to latest aMember Pro version.

    I'm sorry for this issue, but I really couldn't expect this! These guys from PHP team are breaking compatibility for nothing. I believe there will be more issues with PHP 4.3.10 and all scripts are affected, not only aMember.
  10. terriz

    terriz Member

    Joined:
    Nov 17, 2003
    Messages:
    37
    If my server is still at PHP 4.3.9, should I update Ioncube anyway?

    I've verified my server is still at PHP 4.3.9. Is the Ioncube update compatible (meaning I should install it now)? Or do I wait until my server is upgraded?

    Thanks for your promptness on this matter, Alex! :)

    Peace,
    Terri Z
    www.Solo-E.com
  11. homebound

    homebound New Member

    Joined:
    Dec 4, 2004
    Messages:
    2
    ionCube for apache?

    hi,

    my isp currently runs 4.3.8 (apache)

    Will the iocube upgrade work on apache if they decide to upgrade to 4.3.10?

    If not, what should I do to keep our subscriptions going? (My boss will give me a fired message if our subscriptions suddenly dry up because subscribers get error messages...)
  12. leemtowshen

    leemtowshen Guest

    Mine is encoded with IonCube. Followed steps til 3A. If you have ionCube-encoded version of aMember Pro, then you have to
    upgrade your ionCube Loader. Download file
    http://www.cgi-central.net/opened/ioncube_loader_lin_4.3.zip
    , unpack archive and upload it to amember/ioncube/ folder on your
    website.
    There is only update of loader for Linux. We are awaiting while ionCube
    will release updated loader (version 2.5) for other platforms and hope it
    will happen soon.


    Got this message on my site: The file /home/uanon1/public_html/member/rconfig.inc.php has been encoded with the ionCube PHP Encoder and requires the free ioncube_loader_lin_4.3.so ionCube PHP Loader to be installed.

    ALready sent a trouble ticket, but i think the team would be overloaded by requests, so when i get my solution, will post it here to aid them.
  13. leemtowshen

    leemtowshen Guest

    Another area tat is affected, the Cron Job. Seems like the upgrade in PHP renders the Cron Job codes invalid.

    Wat do i have to do next regarding the cron job message: Cron job has been running last time at 12/18/2004 00:00:01, it is more than 24 hours before.
    Most possible external cron job has been set incorrectly. It may cause very serious problems with the script


    :confused:
  14. JackHandy

    JackHandy New Member

    Joined:
    Mar 19, 2004
    Messages:
    6
    Switch To Zend??

    Is it possible to switch to Zend if previously using IonCube?? I can't reach the download or their web site, possible overloaded server. Does this mean CURL is not working? Why now??

    Here is the tester.php info:

    PHP version 4.3.10 (apache)
    OS Linux 2.4.26-ow3 #2 SMP Wed Aug 11 20:49:49 EDT 2004 i686
    safe_mode Disabled
    enable_dl Enabled
    extension_dir ./
    PHP Extensions xslt, xmlrpc, xml, wddx, sysvsem, swf, sockets, pspell, posix, mysql, ming, mhash, mcrypt, mbstring, ldap, imap, iconv, gettext, gd, ftp, fdf, exif, domxml, dio, dbase, dba, curl, ctype, calendar, bz2, bcmath, zlib, openssl, Zend Optimizer
    CURL binary Not found, but curl PHP extension is available
  15. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Yes, it is 100% compatible.
  16. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    You should find out which version of aMember you are using (step 2 of instructions).
    If it is Zend-encoded, upgrade (or ask your hosting support to upgrade) Zend Optimizer to latest version 2.5.7 (step 3B).
    If it is ionCube (default), upgrade ionCube Loader to latest version as stated in instructions (step 3A).
  17. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Please submit a support ticket with full login info. I don't think it is related with upgrade in any kind.
  18. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    You can and should switch to Zend. Please login to CGI-Central members area, and download aMember Pro (zend-encoded version). There are only 2 files, just replace these files in your installation. No other changes required.

    However, of course, files must match your aMember Pro version. Published files are from 2.3.3 (will work with any 2.3.x version).
  19. jasondavis

    jasondavis New Member

    Joined:
    Aug 1, 2003
    Messages:
    85
    On one of my domains after fixing it all i now get License error - license domain doesn't match your domain
  20. dishdude

    dishdude Guest

    sorry for the stupid questions alex
    as of now i dont have any problem with any of my pages so far I dont get any error masseges but good to take early precautions

    I check the my site files and I did find this in rconfig.inc says <?php //003d8
    so does that means I should upgrade???
    thanks in advance for your responce

    dishdude

Share This Page