Gossamer Forum
Home : Products : Others : MySQLMan :

error when i try to run the mysql.cgi

Quote Reply
error when i try to run the mysql.cgi
I try to run the script and i get the follow error:

CGI ERROR
==========================================
Error Message : fatal undef error: GT::Template::Parser (15185): Unable to open template file './templates/./templates/login.html'. Reason: File does not exist. at GT/Template.pm line 300.

Script Location : mysql.cgi
Perl Version : 5.006

Configuration
-------------------------------------------
confirm_delete_record: 1
db_host_cookie_name : MySQLMan_host
db_pass_cookie_name : MySQLMan_password
db_user_cookie_name : MySQLMan_username
debug : 0
default_sort : 0
direct_connect : 0
direct_db : parosweb_gr
direct_host : localhost
direct_pass : geo2000
direct_port :
direct_user : parosweb
dump_in_pages : 0
dump_page_length : 1000
help_dir : ./help
home_url : /
insert_null : 1
insert_origin : insert
page_length : 20
script_url : /mysql.cgi
show_null : 1
show_timestamp_field: 0
template_dir : ./templates
url_cookie_name : MySQLMan_url

Any suggestions how to fix this problem are welcome .

Quote Reply
Re: [parosweb] error when i try to run the mysql.cgi In reply to
Discussed before in this forum....

Looks like the problem is with the PATH to your templates folder, which is controlled in the mysql.cfg file. Open it and double check the paths that you added...definitely a path config problem.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Heckler] error when i try to run the mysql.cgi In reply to
>>definitely a path config problem. <<

Fraid not :)

Its a bug which the latest download fixes apparently.
Quote Reply
Re: [Heckler] error when i try to run the mysql.cgi In reply to
Thanks it works now!!
Quote Reply
Re: [parosweb] error when i try to run the mysql.cgi In reply to
Well, it seems that my advice was correct after all, Paul. Don't be quick to argue!
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Heckler] error when i try to run the mysql.cgi In reply to
Saying "Fraid not" with a smilie face doesn't constitute as an argument...at least not where I come from.

It was a friendly gesture pointing parosweb to a solution...
Quote Reply
Re: [RedRum] error when i try to run the mysql.cgi In reply to
It does in my book...subtle, but still an attempt to argue points provided.

Goodbye!
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Heckler] error when i try to run the mysql.cgi In reply to
Umm ok...you believe that if you want to :)

I was giving an answer to a question, you can't expect everyone to sit back and say nothing just because you happened to reply first.

Guess you aren't in the christmas spirit Tongue

Last edited by:

RedRum: Jan 1, 2002, 2:07 PM
Quote Reply
Re: [RedRum] error when i try to run the mysql.cgi In reply to
I don't celebrate Christmas, Paul...like I mentioned in the Chit Chat forum, I am Jewish...Tongue

And the fact of the matter is that the advice I provided did help the user and your comments were unnecessary....
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Heckler] error when i try to run the mysql.cgi In reply to
This isn't a school playground. It's not somewhere for you to boss people about.

It's a place for anyone and everyone to offer assistance.

It isn't a case of "I gave the answer before you", "my dad could beat up your dad"

Now, Im going to watch tv and have my dinner.




Last edited by:

RedRum: Jan 1, 2002, 2:34 PM
Quote Reply
Re: [RedRum] error when i try to run the mysql.cgi In reply to
Take your own advice, Paul.

Takes two to tango!

And like so many times, you miss the point, which is that your reply was unnecessary since the answer given DID help the user. If your reply was a valid and legitimate correction of my response, then I wouldn't have said anything, but the fact of the matter is that your reply was unnecessary and invalid to the course of this thread.

Goodbye!

========================================
Buh Bye!

Cheers,
Me

Last edited by:

Heckler: Jan 1, 2002, 5:30 PM
Quote Reply
Re: [parosweb] error when i try to run the mysql.cgi In reply to
I am a complete newbie to the program and to Forums so if my doing something wrong please let me know quietly.
I have set up mysqlman v1.08
When I run mysql.cgi I get the following error.

Error
--------------------------------------------------------
Error loading required libraries

Reason: syntax error at /usr/home/masters/public_html/cgi-bin/mysqlman/GT/Template.pm line 864, near "$($self"
BEGIN not safe after errors--compilation aborted at /usr/home/masters/public_html/cgi-bin/mysqlman/GT/Template.pm line 963.


1. Please check if the file is in MySQLMan directory, permission is set correctly, and that it compiles.

2. If the file exists in the folder, then check if the path to MySQLMan folder is in @INC.
If @INC does not contain the path then add
use lib '/path/to/MySQLMan';
to the beginning of mysql.cgi.

Please refer the comments in mysql.cgi for detail.

3. Please check if the file was uploaded in ASCII mode (instead of BINARY mode).
------------------------------------------------------
The line in Template.pm is:

quote:
----------------------------------------------------------
$print ? $self->_parse_tags($template, \$loop_tpl) : ($return .= $($self->_parse_tags($template, \$loop_tpl));
----------------------------------------------------
Unquote

Help!

And thank you

hughp
Hugh Payne
Quote Reply
Re: [hughp] error when i try to run the mysql.cgi In reply to
hi,

re: My error running "mysql.cgi" I put this down to an error during downloadin of the program.

I downloaded new version 1.09 and it cleared the problem.

However, I now have a new error:

"fatal undef error: GT::Template::Parser (43977): Unable to locate template file 'login.html' in '.' or any inheritance directories at /usr/home/masters/public_html/cgi-bin/mysqlman/GT/Template.pm line 539"

I tried placing a copy of the files in the "mysql" to no effect. I then changed the line in the config file

"direct to 1" thinking this would cut-out the login call.

So can anybody help?

hughp
Hugh Payne