Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Links SQL Admin error

Quote Reply
Links SQL Admin error
Hello guys..
everything was working fine just b4 while i was trying to " Build All" and i got this error "
Forbidden You don't have permission to access /cgi-bin/admin/nph-build.cgi on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

anyone can help me out .. everythings was working fine since months ago
thanksUnimpressed
Quote Reply
Re: [xmoe] Links SQL Admin error In reply to
Hi,

What CHMOD does nph-build.cgi have? It *could* be that it was using too much power, so your host "disabled" it (and didn't tell you). Other than that, I don't think its gonna be a 403 problem, but more likely a 500 IS Error (which some servers report as a 403 error; which has always struck me as weird).

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Links SQL Admin error In reply to
 CHMOD 775 was working fine but just today i've got permission denid.. dont know why ?!! any suggest?!Mad
Quote Reply
Re: [xmoe] Links SQL Admin error In reply to
775 shouldn't work ;) 755 is the CHMOD for CGI scripts (unless your server has some kind of weird setup Wink)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Links SQL Admin error In reply to
done 755 -rwxr-xr-x 1 look look 33533 Jan 23 2002 nph-build.cgi*

but still the same persmission denied
!!??!??!?!
Quote Reply
Re: [xmoe] Links SQL Admin error In reply to
Hi,

If you can email FTP and LSQL admin panel details to anby[AT]ultranerds.com I'll take a quick look for you. If it was working, then its probably something simple thats stopped it working :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Links SQL Admin error In reply to
ur using this email for msn messneger we can talk there if ur free for moments
Quote Reply
Re: [xmoe] Links SQL Admin error In reply to
Hi,

I'm actually at work, but I can take a look in a bit, when I get a break Tongue

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Links SQL Admin error In reply to
the same here :) ok if u got a break am at msn mohammed@remal.com
Smile
Quote Reply
Re: [xmoe] Links SQL Admin error In reply to
Mmm.. thinking about it, you know how to use SSH/Telnet? (looks like you do, based on the details you provided on the script settings).

What happens if you run it via SSH/Telnet?

perl nph-build.cgi --all

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Links SQL Admin error In reply to
Building HTML Pages ...

Creating backup file ...
Done (11.86 s)

Resetting hits and rates ...
GT::SQL::Driver::MYSQL::sth (16118): Executing query: SELECT * FROM lsql_ClickTrack WHERE ( ( Created < '2005-12-03' ) ) from Links::Build::build_reset_hits at Links::Build::build_reset_hits line 7
GT::SQL::Driver::MYSQL::sth (16118): Executing query: DELETE FROM lsql_ClickTrack WHERE ( Created < '2005-12-03' ) from Links::Build::build_reset_hits at Links::Build::build_reset_hits line

and start it show lins of sql etc.. bala bala bala .. what do u think ?
Quote Reply
Re: [xmoe] Links SQL Admin error In reply to
Hi,

Try turning Setup > debug to "Disabled".. hows it build then?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Links SQL Admin error In reply to
done.. Building category...then
Finished building categories (31.68 s)

All done. Total Time: (35.70 s)
root@home[/home/look/public_html/cgi-bin/admin]#


and still persmission denied Crazy
Quote Reply
Re: [xmoe] Links SQL Admin error In reply to
Hi,

What does your path to Perl look like?

Also, does your main admin.cgi still work?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Links SQL Admin error In reply to
/usr/bin/perl <=== yes admin.cgi working as fine..
Quote Reply
Re: [xmoe] Links SQL Admin error In reply to
Hi,

In Setup > Misc Options, can you tell me what "NPH Headers" is set to?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Links SQL Admin error In reply to
set to Yes
Quote Reply
Re: [xmoe] Links SQL Admin error In reply to
What if you change this to "no" .. does that make a difference?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Links SQL Admin error In reply to
nope .. the same
Quote Reply
Re: [xmoe] Links SQL Admin error In reply to
Mmm, ok.. without taking a look I'm afraid there isn't a lot else I can suggest. It could be anything Unsure

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Post deleted by PerlFlunkie In reply to