Jump to content
Sign in to follow this  
ahuffman

Install & Get Smarty working on SuSE 10

Recommended Posts

Hi, I'm in desperate need of help here. My senior project is due in 2 weeks and I can't get this Smarty template program working which I need for it.

 

I'm building a online shopping cart system w/ mysql, apache 2, smarty & php. I've been messing with this stuff for days and I have absolutely had it. I tried the way this book sets it up, i've tried the instructions for the quick install of smarty. Im not sure if its my php setup or what. I keep receiving this error:

 

 

Warning: fetch(templates_c/%%45^45E^45E480CD%%index.tpl.php): failed to open stream: No such file or directory in /usr/share/php/smarty/Smarty.class.php on line 1258

Warning: fetch(): Failed opening 'templates_c/%%45^45E^45E480CD%%index.tpl.php' for inclusion (include_path='/usr/share/php') in /usr/share/php/smarty/Smarty.class.php on line 1258

Warning: _include(templates_c/%%55^55C^55C3DD28%%debug.tpl.php): failed to open stream: No such file or directory in /usr/share/php/smarty/Smarty.class.php on line 1925

Warning: _include(): Failed opening 'templates_c/%%55^55C^55C3DD28%%debug.tpl.php' for inclusion (include_path='/usr/share/php') in /usr/share/php/smarty/Smarty.class.php on line 1925

when i attempt to run the page. My templates_c folder is writable. Im just not sure if i have it in the right spot or what the problem is. I'm using SuSE 10. I don't know if this makes a difference or not.

 

Please help me or i'm doomed haha!

-Thanks in advance.

Share this post


Link to post
Share on other sites

A strange looking error.. which is easily solvable :)

 

All this is actually the permissions on the files and directories. Do:

 

# chmod 755 directory
# chmod 644 file

 

That will solve it ^_^

 

PS: it isn't looking for write permission .. inclusion - read permissions ;)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...