Preserved Topic: grrr tagboards |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: look down! |
posted 10-01-2001 21:39
I am trying to install a tagboard but ugh i am having cgi problems. I have set the permissions right and I am getting a 500 internal error, any suggestions? |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 10-01-2001 22:06
The poster has demanded we remove all his contributions, less he takes legal action. |
Bipolar (III) Inmate From: look down! |
posted 10-01-2001 22:26
yes it is perl and I am using 755 on the cgi files and 660 on the dat files. I also tried using 777 on the cgi files and it still did not work. |
Paranoid (IV) Inmate From: California |
posted 10-01-2001 22:33
Hi adaline, code: #!/usr/bin/perl
|
Bipolar (III) Inmate From: look down! |
posted 10-01-2001 22:43
it says: |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 10-01-2001 22:54
hmm. |
Paranoid (IV) Inmate From: California |
posted 10-01-2001 23:00
That sounds like (a) Wrong permissions on the data file, (b) data file doesn't exist or (c) wrong path to the data file. Make sure that the script has the correct path to the data file and the permissions on the file are at least 664. If the file is not there use FTP to upload a empty file or use SSH/Telnet and type 'touch filename' (filename is the actual name of your data file) on the command line in the correct directory. That should fix it I hope |
Bipolar (III) Inmate From: look down! |
posted 10-01-2001 23:03
what do you mean who are the owners of the files? sorry this isn't my strong point. |
Paranoid (IV) Inmate From: California |
posted 10-01-2001 23:08
Well, the data file and path shouldn't be the problem then. Try to CHMOD the two .dat files to 770 and see if that works. Where did you get the script? Can you post a link? |
Bipolar (III) Inmate From: look down! |
posted 10-01-2001 23:11
ahhh piper the 664 worked, i am not getting a 500 error. however now it isn't doing what it says in step 5 of the readme. it is just taking me back to a blank tag board rather than showing me the msg, any suggestions why? |
Paranoid (IV) Inmate From: California |
posted 10-01-2001 23:19
My best guess is that your scripts run as the 'nobody' user and not as your user. You will most likely need to change the permissions to 666 for it to work correct. Give that a shot. |
Bipolar (III) Inmate From: look down! |
posted 10-01-2001 23:23
ugh it didn't work. how frustrating is this? is it okay that i have all the files uploaded into the cgi bin? |
Paranoid (IV) Inmate From: California |
posted 10-01-2001 23:32
Having all the files in the cgi-bin should be OK. How about CHMOD'ing the .dat files to 777? Do you know if your scripts run under SuExec (as your user) or if they run as the 'nobody' user (web server user)? |
Bipolar (III) Inmate From: look down! |
posted 10-01-2001 23:35
the 777 didn't work and how can I find that out piper because I have no idea. |
Paranoid (IV) Inmate From: California |
posted 10-01-2001 23:40
Couple more things to try. Download the .dat files to your PC and see if any data is making it into the files. Also, try deleteing the .dat files and see if the script will make them for you. If the script does make the files you might still need to CHMOD em to 666 or 777. Other than that I will need to see the script to find out what's wrong with it. |
Nervous Wreck (II) Inmate From: |
posted 10-02-2001 06:16
When I installed a tagboard, I had to play around with the permissions. The data files had to be chomoded to 666, I believe. Also the tagboard.shtml had to be chmoded to something besides what the readme says. Play around with it a bit. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 10-02-2001 06:23
when in doubt you can chmod everything to 777 and then drop permisssions from there. |