1
karmes
error after install: class/smarty/Smarty.class.php line XXXX
  • 2004/12/18 18:04

  • karmes

  • Just popping in

  • Posts: 12

  • Since: 2004/12/18


Yesterday I installed Xoops2 on my hosted account. After install I got a blank initial page. Went through the blank page troubleshooter and did the MySQL update suggested and now when I got to the page I get:

Warning [Xoops]: Smarty error: problem writing temporary file '/home/armes/public_html/templates_c/41c473993e15b' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Unable to create file /home/armes/public_html/templates_c/db%3Asystem_block_login.html because Permission denied in file class/smarty/Smarty.class.php line 1575
Warning [PHP]: fetch(/home/armes/public_html/templates_c/db%3Asystem_block_login.html): failed to open stream: Permission denied in file class/smarty/Smarty.class.php line 1164
Warning [PHP]: fetch(/home/armes/public_html/templates_c/db%3Asystem_block_login.html): failed to open stream: Permission denied in file class/smarty/Smarty.class.php line 1164
Warning [PHP]: fetch(): Failed opening '/home/armes/public_html/templates_c/db%3Asystem_block_login.html' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file class/smarty/Smarty.class.php line 1164
Warning [Xoops]: Smarty error: problem writing temporary file '/home/armes/public_html/templates_c/41c4739941808' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Unable to create file /home/armes/public_html/templates_c/db%3Asystem_block_mainmenu.html because Permission denied in file class/smarty/Smarty.class.php line 1575
Warning [PHP]: fetch(/home/armes/public_html/templates_c/db%3Asystem_block_mainmenu.html): failed to open stream: Permission denied in file class/smarty/Smarty.class.php line 1164
Warning [PHP]: fetch(/home/armes/public_html/templates_c/db%3Asystem_block_mainmenu.html): failed to open stream: Permission denied in file class/smarty/Smarty.class.php line 1164
Warning [PHP]: fetch(): Failed opening '/home/armes/public_html/templates_c/db%3Asystem_block_mainmenu.html' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file class/smarty/Smarty.class.php line 1164
Warning [Xoops]: Smarty error: problem writing temporary file '/home/armes/public_html/templates_c/41c4739945a6c' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Unable to create file /home/armes/public_html/templates_c/default^theme.html because Permission denied in file class/smarty/Smarty.class.php line 1575
Warning [PHP]: fetch(/home/armes/public_html/templates_c/default^theme.html): failed to open stream: Permission denied in file class/smarty/Smarty.class.php line 1158
Warning [PHP]: fetch(/home/armes/public_html/templates_c/default^theme.html): failed to open stream: Permission denied in file class/smarty/Smarty.class.php line 1158
Warning [PHP]: fetch(): Failed opening '/home/armes/public_html/templates_c/default^theme.html' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file class/smarty/Smarty.class.php line 1158


THese are all saying permission denied but as far as I can tell all the permissions are setup correctly. The class/smarty directory is 755, the file Smarty.class.php is 644. I am not a big server person (or PHP person for that matter) but the last line referring to /usr/lib/php & /usr/loacal/lib/php makes it seem liek maybe the libraries they are tryign to call are not in those default linux directories?? ANy help would be greatly appreciated.

Thanks

Karmes

2
jdseymour
Re: error after install: class/smarty/Smarty.class.php line XXXX

See this faq:

https://xoops.org/modules/smartfaq/faq.php?faqid=286

Double check your folder permissions.

3
karmes
Re: error after install: class/smarty/Smarty.class.php line XXXX
  • 2004/12/18 18:10

  • karmes

  • Just popping in

  • Posts: 12

  • Since: 2004/12/18


Thanks will do right now. Wow, I had thought about changing the permissions on those folders but I hardly EVER set anything completely open to 777. WIll give it a whirl.

thank you so much for the quick reply!

Karmes

4
karmes
Re: error after install: class/smarty/Smarty.class.php line XXXX
  • 2004/12/18 18:17

  • karmes

  • Just popping in

  • Posts: 12

  • Since: 2004/12/18


Worked perfectly!!

Thanks again!!

5
jdseymour
Re: error after install: class/smarty/Smarty.class.php line XXXX

Very glad to help. Remember the faq to check for answers. More and more can be found there.

Login

Who's Online

293 user(s) are online (242 user(s) are browsing Support Forums)


Members: 0


Guests: 293


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits