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
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.
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
Your config.inc.php file is broken. If you email me FTP info and URL, I will help. alex@cgi-central.net
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
It may happen if you host made some dummy 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.
Dummy mods Wouldn't be the first time my host did something dumb for no apparent reason..... Thanks so much for your assistance!