• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

CGI Script problems

Pr0Hawk

Platinum Member
Paulson sent me the script he uses for pics.paulsonator.com to host pictures. I tried installing it on my site and I am having a bit of a problem. When you try to create an account I get the following error:

Software error:
Permission denied at /home/allnasca/public_html/cgi-bin/create.cgi line 178.


I checked line 178 and its:

open(FILE, ">>$basedir/$tempinfo") || die $!;


Any ideas?
 
Im suppose to chmod the file to 755 according to the .cgi. But that doesnt work. When I chmod it 666, i get

Forbidden
You don't have permission to access /cgi-bin/create.cgi on this server.

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

 
Originally posted by: Pr0Hawk
Im suppose to chmod the file to 755 according to the .cgi. But that doesnt work. When I chmod it 666, i get

Forbidden
You don't have permission to access /cgi-bin/create.cgi on this server.

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

$tempinfo is create.cgi?

755 is read write execute for owner, and read and execute for all others. that line of code opens a file to append text to it. so you need it to let other people write to it.

my guess is that $tempinfo is not create.cgi... doesn't make sense to be writing to a cgi script...
 
Thx Gopunk. Tempinfo was tempdatabase in my data folder. It works now. I forgot to chmod that 666. Stupid me.
 
Um, I gave Paulson that script with the explicit instructions not to give it out to anyone else without my permission.

Ugh. :disgust:
rolleye.gif
 
No, I know you. You're cool. It's just really irritating that my direct request regarding distribution of the script was disobeyed. lol, wonder if this is how it feels to be pirated. 😕

I'll help you get everything set up tomorrow after 3 PM or so...obviously I know the tricks to get it working. Night night.
 
I dont want to get anyone introuble or anything. Maybe Paulson forgot? I dont think he would do anything against your wishes on purpose.
 
Back
Top