Gossamer Forum
Home : Products : DBMan : Installation :

Scripts not running at all

Quote Reply
Scripts not running at all
Hi,
I tried to install dbman. But when I try to call the script I always get an
Internal Server Error:
The server encountered an internal error or misconfiguration and was unable to complete your request.

The perl debugger brings up the following 'mistakes'.

Unrecognized escape \A in character class passed through in regex; marked by <-- HERE in m/^[\A <-- HERE -Za-z0-9]+\.\d+$/ at /srv/www/htdocs/web886/html/cgi-bin/dbman/db.cgi line 103.
Bareword found where operator expected at /srv/www/htdocs/web886/html/cgi-bin/dbman/db.cgi line 648, near ""per_add" value"
(Missing operator before value?)
Unquoted string "value" may clash with future reserved word at /srv/www/htdocs/web886/html/cgi-bin/dbman/db.cgi line 648.
Bareword found where operator expected at /srv/www/htdocs/web886/html/cgi-bin/dbman/db.cgi line 649, near ""per_del" value"
(Missing operator before value?)
Unquoted string "value" may clash with future reserved word at /srv/www/htdocs/web886/html/cgi-bin/dbman/db.cgi line 649.
syntax error at /srv/www/htdocs/web886/html/cgi-bin/dbman/db.cgi line 647, near ";>"
syntax error at /srv/www/htdocs/web886/html/cgi-bin/dbman/db.cgi line 648, near ";>"
syntax error at /srv/www/htdocs/web886/html/cgi-bin/dbman/db.cgi line 649, near ";>"
/srv/www/htdocs/web886/html/cgi-bin/dbman/db.cgi had compilation errors.



Any ideas? I had the script running on another server some years ago and I really loved it!
Quote Reply
Re: [surfinsaxman] Scripts not running at all In reply to
What type of server are you running this on?

Did you make changes other than to the .cfg and html.pl file ... or are you testing it with the original files you downloaded?

If you made modifications to the .cfg then perhaps if you attach a copy we can look it over and see if something in there could be causing you problems.

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] Scripts not running at all In reply to
Hi,
on the server runs Apache/1.3.28

I did not change anything except the path to perl into usr/bin/perl in db.cgi
and the URL directory in the default.cfg into
$db_dir_url = "http://www.saxnpipes.de/cgi-bin/dbman";
Quote Reply
Re: [surfinsaxman] Scripts not running at all In reply to
Did you enter the perl path as:

#!/usr/bin/perl

I would suggest moving the line within your .cfg file:

$db_debug = 1;

to above the section:

# File and URL's

and see if that gives you any errors from within the DBMan script itself.

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] Scripts not running at all In reply to
Hi,
I have been of time for some days.

Yes, I set the path to perl to:
#!/usr/bin/perl


the URL-Directory is.
$db_dir_url = "http://www.saxophone-de-mediamurx.de/cgi-bin/dbman";

I set the scriptpath within the db.cgi to:
$db_script_path = "/srv/www/htdocs/web182/html/cgi-bin/dbman";


I think I setup anything proberly.
I got no idea what might be wrong.
Quote Reply
Re: [surfinsaxman] Scripts not running at all In reply to
It's only in rare case that you need to change the path in the db.cgi file.

Try changing that back to:

$db_script_path = ".";

and see if that helps. Make sure you upload in ASCII mod and have set the correct permissions on all the files.

Are you getting any error messages? Turn on debugging in your .cfg file and move that line up to above the section File and URL's:



$db_debug = 1;

# File and URL's

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] Scripts not running at all In reply to
I think I did not make any mistake.
I will contact the server administrator. Perhaps this will help.

Thanks so far!