Gossamer Forum
Quote Reply
500 error
I got into the admin.cgi to test it like it says in the readme.txt

Added new category
added new link
built pages

Then when I go to the main page where I told it to build the pages, page shows up fine with category I made in admin.cgi. click on the category I created, shows the link I made from the admin.cgi.

Now the problem

Click the link-500 error

Add new link-500 error

search-500 error

virtually every option pulls up 500 error

I have set absolute path to links.cfg in all cgi files.

All permissions set according to readme SEVERAL times.

searched the forum several times

Can anyone please help?

No hair left to pull out

Thanks in advance



Quote Reply
Re: 500 error In reply to
Is the path to Perl correct at the top of all the CGI files?

Try it with diferent locations, such as #!/usr/bin/perl, or #!/usr/local/bin/perl.

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: 500 error In reply to
Yes, I changed all cgis to #!/usr/bin/perl

Are you saying to try it purposely with #!/usr/local/bin/perl ?

Quote Reply
Re: 500 error In reply to
Well, check with your Hosts FAQ's to see where the location of Perl is. If you have it set correctly, then it must be something else!

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: 500 error In reply to
Yes that's definitely where perl is.

Any other ideas?

Thanks,

Tom

Quote Reply
Re: 500 error In reply to
If the Perl path is correct, then it most likely is due to not including the FULL PATH to the links.cfg file in the require statement in your public .cgi scripts (as mentioned quite a few times in this forum) -OR- your paths/url variables in the links.cfg are not configured correctly.

In addition, the scripts may not be chmod 755, which would also cause an INTERNAL SERVER ERROR.

Read the TARGET SHOOTING section in the README file.

Regards,

Eliot Lee
Quote Reply
Re: 500 error In reply to
As I stated in my original post:

"I have set absolute path to links.cfg in all cgi files.
All permissions set according to readme SEVERAL times.
searched the forum several times"

As for the links.cfg file:

# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/usr/home/v1/a0009704/html/cgi-bin/links/admin";
$db_dir_url = "http://tombusch.com/cgi-bin/links/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://tombusch.com/cgi-bin/links";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/usr/home/v1/a0009704/html/links";
$build_root_url = "http://tombusch.com/links";

Again, the admin script works, it adds links and categories and builds pages. When you visit the pages and try to view, modify, or add links, that's when you get 500 error



Quote Reply
Re: 500 error In reply to
REALLY????

Are you using:

require "/usr/home/v1/a0009704/html/cgi-bin/links/admin/links.cfg";

in ALL your CGI scripts, because if you ain't, guess what, your scripts are not properly configured!

Regards,

Eliot Lee
Quote Reply
Re: 500 error In reply to
Eliot:

In Reply To:
I have set absolute path to links.cfg in all cgi files.
Did you upload in ASCII?.....
chmod to 755?......
you definitely have the correct path to perl?.....
checked your error log?......
tried running the scripts from telnet?


Installations:http://www.wiredon.net/gt/
Favicon:http://www.wiredon.net/favicon/

Quote Reply
Re: 500 error In reply to
Yes, every one!

I guess I gotta contact prohosting and see if they can find something.

Regards,

Tom