Gossamer Forum
Home : Products : Others : MySQLMan :

Internal Server Error

Quote Reply
Internal Server Error
hi
everything work fine , but after i login in , i get error !!

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

what i will do now ?

my info :

#
# $script_path = '/home/sola/www/mysqlman';
#

script_url => "mysql.cgi",


template_dir => $script_path . "/home/sola/www/mysqlman/templates",

help_dir => $script_path . "/home/sola/www/mysqlman/help",


what else ?


Quote Reply
Re: Internal Server Error In reply to
Check the syntax of the mysql.cgi script:

Code:

perl -c mysql.cgi


Check your Perl Error Log files.

Regards,

Eliot Lee
Quote Reply
Re: Internal Server Error In reply to
host:~/www/mysqlman$ perl -c mysql.cgi
mysql.cgi syntax OK
host:~/www/mysqlman$

??


Quote Reply
Re: Internal Server Error In reply to
Okay...and did you change the permission of the mysql.cgi script to 755 (rwxr-xr-x) and did you change the permission of the template files to 666 (rw-rw-rw-)???

Also check the Perl path in the first line of the mysql.cgi script.

Regards,

Eliot Lee
Quote Reply
Re: Internal Server Error In reply to
Try typing:

./mysql.cgi

and see what it prints out.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Internal Server Error In reply to
I'm not sure if you fixed this:

Code:
#
# $script_path = '/home/sola/www/mysqlman';
#




template_dir => $script_path . "/home/sola/www/mysqlman/templates",

help_dir => $script_path . "/home/sola/www/mysqlman/help",
But,

$script_path = '/home/sola/www/mysqlman';

Should not be commented out, no # and

template_dir => $script_path . "/home/sola/www/mysqlman/templates",
help_dir => $script_path . "/home/sola/www/mysqlman/help",

should be:

template_dir => $script_path . "/templates",
help_dir => $script_path . "/help",

I'm not sure if that will make a difference, but it might, if $script_path is undefined, it might be confusing the issue.

Also, the

script_url => "mysql.cgi",

Might have to be set to a full path, if you are having relative path problems:

script_url => "http://my.server.com/cgi-bin/path/to/mysql.cgi",


Just some thoughts, since there didn't seem to a resolving post to this thread.


PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://postcards.com/FAQ