Gossamer Forum
Home : Products : Others : MySQLMan :

Error: can't find header.txt cuz it doesn't exist?

Quote Reply
Error: can't find header.txt cuz it doesn't exist?
I had to edit this post since no one responded. I got past the original problems, able to log in and see a list of all the databases on my server. That's weird.

Problem is, the 'header' isn't showing up and I have this error message instead:

Error: Can't load included file: './header.txt'. Reason: No such file or directory

All the paths in html.pl are set at default. The paths in the .cfg are set at default ( /templates /help) so nothing changed there. URL to the script is right or it wouldn't work. I deleted the header.txt file and uploaded again in ASCII and chmod to 644. Still get the error.

Help, please.

Quote Reply
Re: Error after login In reply to
Now another error message:

fatal undef error: GT::Template (65927): Unable to open template file '/cgi-bin/mysql/templates/login.html'. Reason: File does not exist. at /www/a/amillionaire/cgi-bin/mysql/html.pl line 399.

I've tried changing that line to an assortment of different paths. But, to no avail. This error message started when it was at the default (straight from the zip file to the server). Changed the path a little at a time, but nothing changed. Now, no login screen. Just this.

Help?

Quote Reply
Re: Error after login In reply to
Ok, got past the log in...finally! But, new error message!

Error: Can't load included file: './header.txt'. Reason: No such file or directory

Ok, what's up with this? Shouldn't the paths be correct if it's gotten to the log in and beyond? Please advise.

Quote Reply
Re: Error after login In reply to
So, that file is definatly not there? It should be in the /templates/ folder. If it is, is it CHMODed to 666? (like all the other template files should be).

That should be your problem, although it is unusual to get a "No Such File or directory" error message with something like this. I am assuming you have it all installed in the default way?

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: Error after login In reply to
Hi Andy... yes, the file's there. And, I even deleted it and re-uploaded it again, set permisssions to 644, and yes, in ASCII mode. Everything is set in the default mode.

Any ideas on what to do?

Quote Reply
Re: Error after login In reply to
Hello? Anyone there? I said CHMOD TO 666! Wink

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: Error after login In reply to
......whether it is 666 or 644 makes no difference and the file is only being READ not WRITTEN

Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/
Quote Reply
Re: Error after login In reply to
Did it... still no workie. :(

Next idea?

Quote Reply
Re: Error after login In reply to
I'm getting this too even after changing paths to point directly at the header file. Strangely the version in Links SQL, which look like the same version, works correctly. I gave up in the end and reverted to an older version.



________________________
Eraser
Insight Eye
http://www.insighteye.com
Quote Reply
Re: Error after login In reply to
Eraser:

I solved the problem with Eliot's (AnthroRules) fix. Here's what he gave me:

I experienced this problem before...and it deals with the sub _parse_includes routine in the Template.pm file...

Look for my $root = $self->{root};.

Replace it with:



my $root = "/absolute/path/to/cgi-bin/mysql/templates";


Hope this helps.

Regards,

Eliot Lee

____________________________________

For more on this check out the other post. It's the one offering the Pamela Lee video ;) It tracks the history and the fix.

Good luck! Mine's working great now.

Quote Reply
Re: Error after login In reply to
That's great...

Thanks Smile



________________________
Eraser
Insight Eye
http://www.insighteye.com