PDA

View Full Version : Warning: Smarty error: unable to read resource: "admin/


John D
01-14-2006, 05:15 PM
Hey,
Getting this error when I try access the admin panel on my site

Warning: Smarty error: unable to read resource: "admin/main.tpl"

Can anyone help?

Thanks :)

David
01-14-2006, 05:17 PM
Can you get a copy of main.tpl from the release here, and try replacing it to see if that works?

John D
01-14-2006, 05:22 PM
I replaced it but still getting the same error.

I can access the login but when I try login I get the error

Thanks

David
01-14-2006, 08:41 PM
I believe this is going to be something where we have to work with the paths for init.php and includes (require once). You might try adding a "../" before these. I bet you at least get a more defined error message.

tomika3
01-21-2006, 09:04 AM
Hi!

I just came across the same problem. For me the solution was to delete the " characters, so have an include like this: include file=whatever.tpl

The weird thing is that on other pages include file="whatever.tpl" works fine. Anyway, try it by getting rid of the quotation marks on the problematic page!

Have luck!
Tom

David
01-21-2006, 11:48 PM
Thanks for telling us about your solution.
I think some servers/configurations seem to attract this problem.
Can you tell us anything about your setup?