deleted a .php file. can anyone help please?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rightconn
Forum Newbie
Posts: 3
Joined: Mon Jun 16, 2008 5:13 am

deleted a .php file. can anyone help please?

Post by rightconn »

I have accidently deleted one of the .php files from the forum folder. I think it was called "postthread.php" (not sure though).
I am using php version 5.2.5 (fusion i think), and i am missing a file from the "forum" folder. the remaining files are :

attachments (folder)
index.php
options.php
postedit.php
postify.php
postnewthread.php
postreply.php
veiwforum.php
veiwthread.php

can someone please help and identify which file is missing and advise where i can get it from as my IT guy is away for the next few weeks on holiday . the problem im having is that you cant start a new thread at all. any help would be much appreciated.
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: deleted a .php file. can anyone help please?

Post by onion2k »

Don't you have a local backup?
rightconn
Forum Newbie
Posts: 3
Joined: Mon Jun 16, 2008 5:13 am

Re: deleted a .php file. can anyone help please?

Post by rightconn »

i dont think so, i have a local folder on my work pc here, but this has only got all my image files and things related to my custom pages, none of the php files. I deleted it straight of the ftp software. Just wondered if someone could check their own php forum folder and tell me what im missing, and possibly mail me the missing file so i can re-upload it.
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Re: deleted a .php file. can anyone help please?

Post by Kieran Huggins »

looks like you're using "PHP-Fusion" - a CMS written in PHP.

Try to identify the version of PHP-Fusion you have and download that version from their website: http://www.php-fusion.co.uk/news.php
...then identify the missing file and replace it from the downloaded copy.
rightconn
Forum Newbie
Posts: 3
Joined: Mon Jun 16, 2008 5:13 am

Re: deleted a .php file. can anyone help please?

Post by rightconn »

thats it thanks, it worked. why i didnt think of that myself......
anyway thanks again.
Post Reply