Gossamer Forum
Home : Products : Others : MySQLMan :

Directory structure no kosher with program

Quote Reply
Directory structure no kosher with program
I'm getting the error message "Unable to open blah blah. Reason: No such file or directory" in several places. Instead of going in and deciphering and fixing the code, I'm just trying to place files where the program wants them. For example, it wanted login.html to be in "./templates/.templates/" and then create_field.txt wanted to be in the home directory, and now 'functions.txt.compiled' wants to be in "./compiled/.__templates". Who knows where it got those underscores from.
Quote Reply
Re: [scottr] Directory structure no kosher with program In reply to
It appears only the insert link is not working. The message is:
============
fatal undef error: GT::Template (21901): Unable to open template file './compiled/.__templates/functions.txt.compiled'. Reason: No such file or directory at mysql.cgi line 2409.
============
It's Perl 5.006, all my relevant variables are:
============
Script Location : mysql.cgi
MySQLMan_url : mysql.cgi?data_source=DBI%3Amysql%3Aall;table=str;do=insert
help_dir : ./help
home_url : /
insert_null : 1
insert_origin : insert
script_url : mysql.cgi
show_null : 1
show_timestamp_field: 1
template_dir : ./templates

QUERY_STRING : do=insert&data_source=DBI:mysql:all&table=str
REQUEST_URI : /cgi-bin/mysql/mysql.cgi?do=insert&data_source=DBI:mysql:all&table=str
SCRIPT_FILENAME : /www/mydomain.com/cgi-bin/mysql/mysql.cgi
SCRIPT_NAME : /cgi-bin/mysql/mysql.cgi

Stack Trace
-------------------------------------------
(main::cgierr) called from (mysql.cgi) line (34)