Amember Errors

Discussion in 'Installation' started by ladypatty, Dec 15, 2003.

  1. ladypatty

    ladypatty Guest

    I have installed the free version of amember
    I get through the setup and try to go to the admin area and I get these errors.. I am unsure of what it is telling me so not sure what to look for...
    can you help??


    Warning: Failed opening '//smarty/Smarty.class.php' for inclusion (include_path='') in //config.inc.php on line 55

    Warning: Failed opening '//common.inc.php' for inclusion (include_path='') in //config.inc.php on line 56

    Warning: Failed opening '//db.inc.php' for inclusion (include_path='') in //config.inc.php on line 57

    Warning: Failed opening '//paysys.inc.php' for inclusion (include_path='') in //config.inc.php on line 58

    Warning: Failed opening '//member.inc.php' for inclusion (include_path='') in //config.inc.php on line 59

    Warning: Failed opening '//product.inc.php' for inclusion (include_path='') in //config.inc.php on line 60

    Warning: Failed opening '//plugins.inc.php' for inclusion (include_path='') in //config.inc.php on line 61

    Fatal error: Call to undefined function: new_smarty() in /home/www/plbdesign/amember/admin/index.php on line 22
  2. alex-adm

    alex-adm Guest

    most possible your hosting provider disabled __FILE__ functionality in PHP.

    Edit amember/config.inc.php and replace
    $config['root_dir'] = dirname(__FILE__);
    to
    $config['root_dir'] = '/home/user/public_html/amember';
    ^^^^^^^^^^^^^^^^^^^^^ - something like that but there should be your actual path
    to aMember folder.
  3. Lady Patty

    Lady Patty Guest

    Ok I will go try that now and see what happens.... Waits to pull hair out
  4. Lady Patty

    Lady Patty Guest

    Ok now starts to pull hair but yet it is better.. only two lines of errors...
    can you tell me what to fix next??

    Parse error: parse error in //config.inc.php on line 33

    Fatal error: Call to undefined function: new_smarty() in /home/www/plbdesign/amember/admin/index.php on line 22
  5. alex-adm

    alex-adm Guest

    Your config.inc.php file is broken. If you email me FTP info and URL, I will help.
    alex@cgi-central.net
  6. Lady Patty

    Lady Patty Guest

    I emailed you the file.. let me know if that is not what you wanted
  7. circpros

    circpros Guest

    Same issue

    Alex -

    I am new to amember, and have suffered the same problems as Lady Patty. I tried the initial fix you suggested, and like Patty had the same two warning/error messages.

    Parse error: parse error in //config.inc.php on line 33

    Fatal error: Call to undefined function: new_smarty() in /nfs/cust/7/76/85/58677/web/amember/admin/index.php on line 22


    Is there a fix to the config.inc.php file I can apply to make it work?

    Thanks,

    Micah :confused:
  8. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    It may happen if you host made some dummy :mad: modifcations to PHP and the script is unable to detemine path names. Latest aMember Pro has protection against it, but corresponding code is not yet added to aMember Free.

    If you send me FTP info to support@cgi-central.net, I will help you with this trouble.
  9. circpros

    circpros Guest

    Dummy mods

    Wouldn't be the first time my host did something dumb for no apparent reason.....

    Thanks so much for your assistance!

Share This Page