salguod Posted April 22, 2006 Posted April 22, 2006 OK, first of all, my site exists on two servers right now. Old host: salgUOd.net TCH: salgOUd.net (To complicate matters, the links on TCH point to the old host until I change the DNS on my main domain.) Anyway, if you compare those two pages above, you'll notice that the right side menu does not show up on the TCH page. I've checked it in IE, Maxthon and FireFox. Both menus are done with Server Side Includes. Both included files have a php extension. Both included files are in the same directory. Both include lines are the same:><!--#include virtual="/weblog/includes/alpha.php" --> and ><!--#include virtual="/weblog/includes/gamma.php" --> The file structure on the TCH server is the same as the old server. What's the problem? Quote
salguod Posted April 22, 2006 Author Posted April 22, 2006 From my error logs: >[Fri Apr 21 22:20:04 2006] [error] [client xx.xxx.xx.xxx] unable to include "/weblog/includes/gamma.php" in parsed file /home/xxxxxxxx/public_html/weblog/index.shtml [Fri Apr 21 22:20:04 2006] [error] [client xx.xxx.xx.xxx] Premature end of script headers: /home/xxxxxxxx/public_html/weblog/includes/gamma.php and >[2006-04-21 21:48:20]: error: file is writable by others: (/home/xxxxxxxx/public_html/weblog/includes/gamma.php) Quote
salguod Posted April 22, 2006 Author Posted April 22, 2006 OK, I think I figured it out myself. The permissions on 'gamma' were 666 instead of 644. I'm not sure why MT output 'alpha' at 644 and 'gamma' at 666, but it seems to be fixed. Hopefully it stays fixed. Thanks for reading this, anyway. Quote
TCH-Tim Posted April 22, 2006 Posted April 22, 2006 Thanks for reading this, anyway. No prob. Glad I didn't have to think to hard. Quote
stevevan Posted April 22, 2006 Posted April 22, 2006 Glad you got it figured out. (It's always the little stuff, isn't it? ) This thread may help others in the future. Thanks for posting your solution. Quote
salguod Posted April 24, 2006 Author Posted April 24, 2006 Well, I know why it's not working but every time the file 'gamma.php' get's updated by my blog software, the permissions get re-set to '666' and it won't include any more. I'm going to post a question in the Movable Type section. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.