Gossamer Forum
Home : Products : Others : MySQLMan :

errors in templates files ? (yes again ...)

Quote Reply
errors in templates files ? (yes again ...)
Hello everybody ...

I've the problem of "no such file or directory" for the templates and apply the change in parser.pm (my $full_file = $file; ).
The majority of the functions of MysqlMan work great but if I try to insert a line in a table, error :
Code:
CGI ERROR
==========================================
Error Message : fatal undef error: GT::Template (7535): Unable to open template file './compiled/.__templates/functions.txt.compiled'. Reason: No such file or directory at /usr/lib/cgi-bin/mysql.cgi line 2409.

Script Location : /usr/lib/cgi-bin/mysql.cgi
Perl Version : 5.006001

So, what's wrong in the GT functions for doing this ??!

thank's for reply

regards

Didier


Quote Reply
Re: [didier] errors in templates files ? (yes again ...) In reply to
Try changing $SCRIPT_PATH = '.'; at the top of mysql.cgi to $SCRIPT_PATH = '/full/path/to/mysqlman'; and see if that helps. I had similar problems and this fixed it. Let me know if it helps.

Regards,
Charlie
Quote Reply
Re: [CP] errors in templates files ? (yes again ...) In reply to
Yes !!! Thank's !!!! Wink
It is the solution, for the moment all work !!!
Without the change in parser.pm it works great !!

Really thank's, I work hard on it and It's wonderfull to have solve this problem !!

Didier
Quote Reply
Re: [didier] errors in templates files ? (yes again ...) In reply to
No worriees, I'm glad it solved the problem for you.

Regards,
Charlie