Gossamer Forum
Home : Products : Others : MySQLMan :

What's the correct paths?

Quote Reply
What's the correct paths?
I've edited the paths and when I run the mysql.cgi I receive a fatal error;

Error Message : fatal undef error: GT::Template (15144): Unable to open template file '././templates/database.html'. Reason: File does not exist. at html.pl line 36.

I see what the problem is but don't know where it's getting the directory change from.

I don't have the "use lib '/etc/httpd/cgi-bin/mysqlman';" uncommented but it doesn't make a difference either way.

Any clues would be great...

This is what I have as my settings.

# This is the MySQLMan configuration file.
#
# --------------------------
# CONFIG HASH |
# --------------------------
%CONFIG = (

# FILES
# --------------------------------------------------------
# the URL to mysql.cgi.
# You can set it as "mysql.cgi" to make it relative.
script_url => "http://zoo/cgi-bin/mysqlman/mysql.cgi",

# The URL to home/top. It is used for the link TOP on each page
# in the tool bar.
home_url => "http://zoo",

# The PATH to the template directory.
template_dir => $SCRIPT_PATH . "/templates",

# The PATH to the directory with help pages.
help_dir => $SCRIPT_PATH . "/help",

Quote Reply
Re: What's the correct paths? In reply to
I am having the same problem.
In the readme.txt there is a reference to:
GT_Base.pl and GT_Template
These files were not included in the .zip file.

Jeff Horn


Quote Reply
Re: What's the correct paths? In reply to
Can you justify your reasons for repeating yourself 3 times in the top 3 threads?

Please do not make duplicate posts in future - it is unnecessary and irritating.

Installations:http://www.wiredon.net/gt/
Favicon:http://www.wiredon.net/favicon/

Quote Reply
Re: What's the correct paths? In reply to
I appreciate your concern and will refrain from doing so in the future.
To answer your question:
There are multiple posts in this forum for the same problem with no resolution.
I did notice something in the reame file where some files were mentioned that are missing in the .tar and .zip downloads that was not brought out in the posts and wanted to contribute it.

Jeffrey L. Horn,
VFX Graphics, Inc.
Quote Reply
Re: What's the correct paths? In reply to
Fair enough but you didn't need to point it out 3 times.

Why not just create a new thread stating your findings instead of adding 3 duplicate posts.

Installations:http://www.wiredon.net/gt/
Favicon:http://www.wiredon.net/favicon/

Quote Reply
Re: What's the correct paths? In reply to
Now that all of that is said and done...
Any ideas on these files or what the problem could be??



Jeffrey L. Horn,
VFX Graphics, Inc.
Quote Reply
Re: What's the correct paths? In reply to
Here are a few ideas in case it is not just a simple path problem.

http://www.scriptsolutions.com/programs/free/perldiver/
Perl modules script

Drop the GT_ ... it stands for GossamerThreads ... use only Base & Templates

Set file perms to 777 or at least high until working, then lower to requested values immediately.

Do this and set the paths until working.

???Who Knows? I am guessing and giving some trouble shooting tips. Thats what I do when stuck. Good Luck

Quote Reply
Re: What's the correct paths? In reply to
Actually. the fix was quite simple.
I am surprised that no one has included or replied with this.
After all of the problems that I had I deleted it off of my server and tried a few other programs, they didn't cut it.
I unzipped the filed into the defult directory(mysqlman-1.07), uploaded the files and set the .cfg. Initially I uploaded to a directory call mysqlman.
I also set the use lib '/proper/path/mysqlman-1.07 in the mysql.cgi file.
I uploaded the directories/files and set mysql.cgi and html.pl to 755...
It works like a dream!!
Thanks for the input though.


Jeffrey L. Horn,
VFX Graphics, Inc.
Quote Reply
Re: [compuflea] What's the correct paths? In reply to
You seem to be right.

I was having a lot of trouble installing and configuring.

Then I found your post and followed your instructions to the letter - but with one addition - set the templates directory permissions to 777 (temporarily though - I will reset them to a safer value after I get over the euphoria of seeing the thing working!)

Thanks a lot!