Jump to content

Recommended Posts

Posted

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?

Posted

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)

Posted

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. :)

Posted

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.

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...