PDA

View Full Version : Error when viewing index


kiwigurl
08-22-2006, 09:52 AM
Hi,

I recently got pro v1.2

I haven't made any categories at all yet but installation was successful. I did a few things in admin and thought I'd check out what the directory looks like so far and this is what comes up....

Fatal error: Smarty error: the $compile_dir 'tmp/' does not exist, or is not a directory. in /home/kiwigurl/public_html/smarty/Smarty.class.php on line 1095

Where is says 'tmp/' I checked to see if I had that directory and I don't, checked the download and it didn't come in the zip file..... Does that have anything to do with it?......

Anyone's help is appreciated thanks

Vincent Wright
08-22-2006, 09:54 AM
Pretty strange, since distributive comes with tmp/ folder.

Anyway, create tmp/ folder where you installed the directory on your server and issue the command below:


chmod 777 tmp


This will assign write permissions which is necessary for Smarty to function properly.

If you have problems completing this feel free to notify us.

kiwigurl
08-22-2006, 10:00 AM
wow, that was an easy error to fix....thanks :)

Vincent Wright
08-22-2006, 10:04 AM
You are welcome, kiwigurl. ;)

kiwigurl
08-23-2006, 09:33 AM
Hi again,

ok I'm a bit of a newb at this php thing :P . How do I add meta tag description and keywords for the index.php page? I know how it's done in html but this php thing is beyond me sometimes :D

Vincent Wright
08-23-2006, 09:44 AM
No need to edit files for this.

Log into admin panel, click Browse tab (at the top), click "edit" link (top right).

You will see fields for Category meta-description and Category meta-keywords. Just type something in there and save changes.

kiwigurl
08-23-2006, 10:21 AM
Thats one directory I never thought of trying....ROOT directory in admin....Thanks again! :dance: :good:

Vincent Wright
08-23-2006, 10:26 AM
You are welcome!

eline
08-23-2006, 10:17 PM
I installed the script and it was working fine. I played around with the admin panel for a few minutes and went to view my directory and now i have a blank page with only this:
Warning: Smarty error: unable to read resource: "index0.tpl" in /home/eline/public_html/publishers/smarty/Smarty.class.php on line 1095

eline
08-23-2006, 10:23 PM
I installed the script and it was working fine. I played around with the admin panel for a few minutes and went to view my directory and now i have a blank page with only this:
Warning: Smarty error: unable to read resource: "index0.tpl" in /home/eline/public_html/publishers/smarty/Smarty.class.php on line 1095


so then i go and rename index.tpl to index0.tpl and the directory is working again.. hah how nice sheeesh

eline
08-23-2006, 10:24 PM
this sucks! now the directory is looking for index.tpl again

Vincent Wright
08-24-2006, 05:42 AM
May I take a look at your site?

Vincent Wright
08-24-2006, 09:17 AM
I think I figured it out what happened.

Why playing around with the admin panel you have probably clicked "unique" link at the top right-hand corner while browsing ROOT category. This turned on unique template for this category (which is home page in other words). The script is now looking for index0.tpl instead of index.tpl since you turned this mode on. But since the file is missing (before turning on this mode you have to create unique template file) the script returns error.

NOTE: You should not have renamed the index.tpl to index0.tpl. Please rename it back to index.tpl.

Also, in the admin panel browse to ROOT category. If you see "non-unique" link at the upper right corner then click it to turn back to "unique".

This should fix the problem.