Gossamer Forum
Home : Products : Others : MySQLMan :

Install Help - I.S Error 500

Quote Reply
Install Help - I.S Error 500
can you help me please!

I creat a directory called mysql in cgi-bin folder.
I upload all files and directories inside it and i set them to the right chmod.

--- in the mysql.cgi at the top i put: #!/usr/bin/perl5.004

then
use lib '/home/www/ottimo/cgi-bin/mysql';
then
$SCRIPT_PATH = '/home/www/ottimo/cgi-bin/mysql/';

--- in the the URL to mysql.cfg. i set the following:

script_url => "/home/www/ottimo/cgi-bin/mysql/mysql.cgi",
template_dir => $SCRIPT_PATH . "/home/www/ottimo/cgi-bin/mysql/templates",
home_url => "/home/www/ottimo/cgi-bin/mysql/",

I then run http://www.ottimo.com/cgi-bin/mysql/mysql.cgi and i received Internal Server Error 500.

What i am missing?
Thank you
Quote Reply
Re: [antoined] Install Help - I.S Error 500 In reply to
You'll need to check your error log for more information.
Quote Reply
Re: [Paul] Install Help - I.S Error 500 In reply to
I found this!
Number found where operator expected at /home/www/ottimo/cgi-bin/mysql/mysql.cgi line 25, near "$VERSION = '1.09"
(Might be a runaway multi-line '' string starting on line 18)
(Missing operator before 1.09?)
syntax error at /home/www/ottimo/cgi-bin/mysql/mysql.cgi line 25, near "$VERSION = '1.09"
Execution of /home/www/ottimo/cgi-bin/mysql/mysql.cgi aborted due to compilation errors.
Quote Reply
Re: [antoined] Install Help - I.S Error 500 In reply to
Looks like you may have accidentally deleted a ; ' or "
Quote Reply
Re: [Paul] Install Help - I.S Error 500 In reply to
Hi again
I am using Script Checker:

for
/home/www/ottimo/cgi-bin/mysql/mysql.cgi
no error

for
/home/www/ottimo/cgi-bin/mysql/mysql.cfg
the following error:
/home/www/ottimo/cgi-bin/mysql/mysql.cfg: syntax error near unexpected token `('
/home/www/ottimo/cgi-bin/mysql/mysql.cfg: /home/www/ottimo/cgi-bin/mysql/mysql.cfg: line 17: `%CONFIG = ('

What could be?
Thanks again
Quote Reply
Re: [antoined] Install Help - I.S Error 500 In reply to
attach your mysql.cfg so that it is easy to check for you

Cheers,

Dat

Programming and creating plugins and templates
Blog