I've installed the free version of amember. I got through the setup okay without any errors whatsoever. However, when I go to my admin/index.php page, I get the following message: Warning: Smarty error: unable to read template resource: "admin/login.html" in /home/creative/public_html/dwc/member/smarty/Smarty.class.php on line 546 I've made sure to chmod those directories and files to be read, and I made sure my config.inc.php file didn't have any extra spaces after the ?> tag. Any help on fixing this would be greatly appreciated. Thanks. M.
Make sure you have uploaded this file correctly: amember/templates/login.html Filename case does matter!
where do i find that file, in the downloaded files it isnt included in the package where do i find "login.html"?
To be more specific to cover this situation, I changed the templates folder from 755 to 777 with no change. Then, without switching the templates folder back to 755, I switched the templates_c folder from 606 - a suggested in the manual - to 777 and I got the proper login page and was able to log in using my username and password. Right now - I'm concerned about site security. Should I change the templates folder back to 755? Steve
Steve, please edit config.inc.php and $config['tpl_cache_level'] = 0; It is better solution for everyone
I was getting the same, originally mentioned by Dicky, error. I did the chmod thing. I found my login.html file, but it is in amember/templates/cookie_login/login.html Should I do something about this? Please help me! LOL.
B) hey it worked.......cool beans....now to make this thing look like my site.......for the 5th time in 3 weeks.....sure hope this thing works or I want my money back......rofl.....joke....I am using the freebee.....giggles. but if I ever get rich I will be sure to get the pro version. Kel
hi! im just new in PHP.. it may sound dumb but i couldn't find this file you mentioned to edit.. *Please edit config.inc.php and *$config['tpl_cache_level'] = 0; my problem is this: Warning: Smarty error: problem creating directory "/home/www/site/var/tmp/templates_c/%%149/%%1496431464" in /home/www/lib/smarty/Smarty.class.php on line 1042 Warning: Smarty error: problem writing temporary file '/home/www/site/var/tmp/templates_c/%%149/%%1496431464/40da2dc83d968' in /home/www/lib/smarty/Smarty.class.php on line 1042 Warning: touch(): Unable to create file /home/www/site/var/tmp/templates_c/%%149/%%1496431464/index_free.tpl.php because No such file or directory in /home/www/lib/smarty/Smarty.class.php on line 1575 Warning: fetch(/home/www/site/var/tmp/templates_c/%%149/%%1496431464/index_free.tpl.php): failed to open stream: No such file or directory in /home/www/lib/smarty/Smarty.class.php on line 1158 Warning: fetch(): Failed opening '/home/www/site/var/tmp/templates_c/%%149/%%1496431464/index_free.tpl.php' for inclusion (include_path='.:/home/www/lib:/home/www/lib/smarty:/home/www/lib/pear:/home/www/site/htdocs/lib') in /home/www/lib/smarty/Smarty.class.php on line 1158 May I ask what causes these errors? I am using linux server.. Thanks..
I received a similar error message after installing the Pro version. The file Smarty.class.php was present, but the case of the initial letter was incorrect. The problem was caused by my FTP transfer of the files using WS_FTP with the session option "Force lowercase remote filenames" set. After disabling this option, and re-copying and re-installing the files, the problem disappeared. Regards, Ian