Gossamer Forum
Home : Products : Others : MySQLMan :

Unable to create compiled...etc. error

Quote Reply
Unable to create compiled...etc. error
I was getting the error that apparently many others are too, the "Unable to create compiled templates directory" error. I tried to find posts here that would help, but none did. It seems that others have had the same results.

After looking into the mysql.cfg file for awhile, I realized that the path to the templates directory needed to be relevant to the script path, not to the root of the server. In my copy of the config file, it's line 23:

Code:
template_dir => $SCRIPT_PATH . "/templates",


I'm not very fluent in Perl, so it took me awhile to realize it Tongue

Hope this helps,

gnoway
Quote Reply
Re: [gnoway] Unable to create compiled...etc. error In reply to
Try;

template_dir => "/full/path/to/admin/and/templates",


...or, be sure that your templates folder is CHMODed to 777, and that it has permission to actually build the directory.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Unable to create compiled...etc. error In reply to
In Reply To:
Try;

template_dir => "/full/path/to/admin/and/templates",


Yep that would have the same effect. But as I said, I'm not the best at understanding Perl, so I didn't notice the way that line worked at first Crazy

gnoway
Quote Reply
Re: [gnoway] Unable to create compiled...etc. error In reply to
Did it work then, or not?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Unable to create compiled...etc. error In reply to
Guess I didn't make that clear. Yes it works great now!

Cool

gnoway