Trouble with PHP

software development

#1

I’m not a programmer in any sense of the word, so I’ve been using some articles at ALA to set up a (very) simple CMS to make running my personal site a little easier.

I was trying to use PHP to include files into my page that would allow me to edit only certain files to make sweeping changes to different areas of my website. I’ve used this sort of technique in the past without much difficulty.

However, I just switched to dreamhost and I’m all of a sudden having trouble. I’m getting these strange error messages (see: http://www.stephencaver.com/about/) that read

Warning: main(): URL file-access is disabled in the server configuration in /home/.bartholimew/stephencaver/stephencaver.com/about/index.php on line 2

and then another error message that tells me:

Warning: main(http://www.stephencaver.com/includes/header.html): failed to open stream: no suitable wrapper could be found in /home/.bartholimew/stephencaver/stephencaver.com/about/index.php on line 2

I have no idea what to do, I’m lost. If anyone could help with this I’d really appreciate it.


#2

Please see this wiki article, which discusses the reason for the error and proposes ways to get around it.


Simon Jessey
Keystone Websites | si-blog