Ice IT Support Posted April 17, 2011 Share Posted April 17, 2011 It's not a script that affects the display of the webpage. (Clicking [upload] on IceITSup's site, http://iceitsupport.cw.cm/Other/GameMaker/form2email.pl, also shows 500.) Olego is right. That's what's happening to me. The error log says: [sun Apr 17 12:41:21 2011] [error] [client 97.120.171.21] File does not exist: /home/iceitsup/public_html/500.shtml, referer: http://iceitsupport.cw.cm/Other/GameMaker/ All the files are there, so I don't understand what is going on. @byron: I tried running your code, it didn't work either. I have three other scripts that are similar to this one and they run just fine. Link to comment Share on other sites More sharing options...
Olego2 Posted April 17, 2011 Share Posted April 17, 2011 Could I get you to try this simple perl script for me and chmod it to 755:Here you go: http://olego.com/byron.pl It's 755. Link to comment Share on other sites More sharing options...
Byron Posted April 17, 2011 Share Posted April 17, 2011 Could I get you to try this simple perl script for me and chmod it to 755:Here you go: http://olego.com/byron.pl It's 755. Ok just be patient until djbob comes back around. Link to comment Share on other sites More sharing options...
Ashoat Posted April 17, 2011 Share Posted April 17, 2011 Olego: You were running up against our process limits. You had four copies of "gallery.pl" running. Whatever that program is, it takes far too long to complete. Link to comment Share on other sites More sharing options...
Olego2 Posted April 18, 2011 Share Posted April 18, 2011 Olego: You were running up against our process limits. You had four copies of "gallery.pl" running. Whatever that program is, it takes far too long to complete. Sorry about that! I've re-written the logic so that there won't be any more <img src=gallery.pl?...> in the HTML. I don't know why each took more than 10 seconds to execute, though--since it was just doing LWP::Simple::get--unless the processes became zombies. Link to comment Share on other sites More sharing options...
Ice IT Support Posted April 18, 2011 Share Posted April 18, 2011 It's not a script that affects the display of the webpage. (Clicking [upload] on IceITSup's site, http://iceitsupport.cw.cm/Other/GameMaker/form2email.pl, also shows 500.) Olego is right. That's what's happening to me. The error log says: [sun Apr 17 12:41:21 2011] [error] [client 97.120.171.21] File does not exist: /home/iceitsup/public_html/500.shtml, referer: http://iceitsupport.cw.cm/Other/GameMaker/ All the files are there, so I don't understand what is going on. @byron: I tried running your code, it didn't work either. I have three other scripts that are similar to this one and they run just fine. Link to comment Share on other sites More sharing options...
Ashoat Posted April 18, 2011 Share Posted April 18, 2011 iceitsup: I don't see many processes from you... Can you post your username / server? Link to comment Share on other sites More sharing options...
Ice IT Support Posted April 18, 2011 Share Posted April 18, 2011 username: iceitsup server: stevie path to script with the issue: /home/iceitsup/public_html/Other/GameMaker/form2email.pl Link to comment Share on other sites More sharing options...
Ashoat Posted April 19, 2011 Share Posted April 19, 2011 You had the script CHMOD'd to 777 instead of 755. Is it working now? Link to comment Share on other sites More sharing options...
Ice IT Support Posted April 19, 2011 Share Posted April 19, 2011 No it still doesn't work. It was set to 777 because when it is set to 755 the script says that it was unable to proccess the request. Link to comment Share on other sites More sharing options...
Ashoat Posted April 20, 2011 Share Posted April 20, 2011 Turns out your directory was also 777. After I set the directory and the folder to 755, the website seems to work. Link to comment Share on other sites More sharing options...
Ice IT Support Posted April 21, 2011 Share Posted April 21, 2011 No I'm still having issues. Now when I click the upload button the script returns with this page: Sorry, we need you to check the following Can't save file /Other/GameMaker/Uploads/Funny_computer_thing.doc This didn't happen when the script was set to 777. Does Stevie accept form data? If not, that might be the problem. Link to comment Share on other sites More sharing options...
Ashoat Posted April 21, 2011 Share Posted April 21, 2011 You probably have bad permissions somewhere else... Can you try investigating on your own? Change settings on the upload directory, etc. and see what happens. Link to comment Share on other sites More sharing options...
Ice IT Support Posted April 21, 2011 Share Posted April 21, 2011 Ok I'll poke around and see what I can find... But is form data enabled on Stevie? I think the script uses form data to store the documents, and if form data is disabled on Stevie then that might be the problem? Again I'll see what I can find. Link to comment Share on other sites More sharing options...
Ashoat Posted April 21, 2011 Share Posted April 21, 2011 What is "form data"? Link to comment Share on other sites More sharing options...
Recommended Posts