Trying to help my friend fix his website.

Hello! I am trying to help my friend fix his website. I honestly do not know anything about coding, and I do not even know if this is the correct forum. ( I think it might be )
The website is http://www.trailplace.com/forums/index.php
The problem is the site displays 4 preview images of members photos they uploaded and offered to share - but when you click any of the images you get the code below. I think I used the formatting php thingy asked of us in the “IMPORTANT”.

This has been broken for 8 months, but I am finally trying to help the forum and fix it. I would appreciate anyone who can share their skills and help decrypt the ( to me ) gibberish below. We just want to be able to click on our photos to see them! Thank you so much if you decided to take this mystery!

[php]Warning: chdir() [function.chdir]: No such file or directory (errno 2) in D:\Hosting\6852212\html\photopost\header-inc.php on line 47

Warning: require(./global.php) [function.require]: failed to open stream: No such file or directory in D:\Hosting\6852212\html\photopost\header-inc.php on line 48

Fatal error: require() [function.require]: Failed opening required ‘./global.php’ (include_path=’.;C:\php5\pear’) in D:\Hosting\6852212\html\photopost\header-inc.php on line 48[/php]

No one has any idea? I appreciate it very much for taking the time to look at this problem! If this forum cannot help, can one suggest one that might be able to handle this request?

  • Mike

First error:

chdir() [function.chdir]: No such file or directory (errno 2) in D:\Hosting\6852212\html\photopost\header-inc.php on line 47

Does the folder exist on the web server? If it doesn’t, try creating it. All of these errors relate to files not being found. It may be that they were accidently deleted (or maliciously deleted). If the site uses a certain mod or PHP script for displaying these, it might be worth trying to download the mod again and see if you can locate the files that are missing in these errors and try to upload them again.

Another possibility is that the files have been moved. Has your friend tried to move the mod or forums to another host or directory? Some of the path settings may no longer be correct.

I take it that you are using this plugin:

http://www.photopost.com/
Sponsor our Newsletter | Privacy Policy | Terms of Service