Xepher.Net Forums

Xepher.net => Technical Support => Topic started by: robynie on June 09, 2006, 04:00:42 AM

Title: file permissions
Post by: robynie on June 09, 2006, 04:00:42 AM
I got lazy and I've started using Website Baker to make my website.  After every time I change something I go and use the fix file permissions tool and everything was working fine.  Except it stopped working.  Now I have one page that still gives the "internal server error" even after using the fix file permissions tool.  I even tried manually setting the file permissions using my FTP client.

Any ideas?
Title: file permissions
Post by: Xepher on June 09, 2006, 10:29:32 PM
It would help if you tell me which file is still having the problem, so I can look at it myself. :-)
Title: file permissions
Post by: robynie on June 10, 2006, 01:49:46 AM
Oh, I meant to include that, sorry.

It's what you get if you click on "Slow going" or the read more of that news post.
http://robynie.xepher.net/pages/posts/slow-going....9.php
Title: file permissions
Post by: Xepher on June 10, 2006, 03:25:16 AM
Hmm... two problems here at least. First off, my fix permissions script doesn't like that filename. That many dots is making it think it's a "....php" file, instead of a ".php" file. I'm fixing that as we speak, so that's done. Now that works, the file just returns "no input file specified" which is an error in your scripts somewhere. My guess is that they ALSO dislike that many dots at the end of a filename. Lemme go look into that...

EDIT: Confirmed. If you rename the file without all the extra dots it works fine. I tried to hunt through the code, but I don't know where it's actually generating that error at, as it's quite convoluted. As such, I'd suggest you simply avoid ending any post titles with a string of periods. Either that, or bug whoever actually wrote it. :-)
Title: file permissions
Post by: robynie on June 10, 2006, 02:31:32 PM
Oh, ok thanks!
Title: file permissions
Post by: Databits on June 10, 2006, 05:20:14 PM
You may be able to write it into an .htaccess file to execute that specific file as php.
Title: file permissions
Post by: Xepher on June 11, 2006, 12:55:48 AM
No need to play with .htaccess files... My script just wasn't catching it with the right extention, so it wasn't setting the proper permissions on it. It was trival to manually set 700 on it, and then it executed fine. Plus, as I said, I fixed my "fix" script. :-)

Now the only issue is one in the code itself not dealing with that filename well.
Title: file permissions
Post by: robynie on June 11, 2006, 03:25:41 AM
Well I just changed the name of the post.  I can deal with not ending headlines with ... !