Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#31 2008-12-19 08:40:21
- slinkster1
- New Member
- Registered: 2008-12-19
- Posts: 2
Re: Trouble with 4.0.7 during pre-flight check
I also got error message about modified files when doing Diagnostics. But the comments/threads above are beyond me.
Below is the error message. But i don’t understand what’s said above about what to do/how to fix it. Will this error message prevent my being able to use/learn TextPattern? If so, what to do? Thanks.
Pre-flight check
Some Textpattern files have been modified:
/lib/class.thumb.php,
/lib/txplib_html.php,
/../rpc/index.php,
/../rpc/TXP_RPCServer.php ?
Please email me at mindy@messageframer.com if you can help.
Offline
Re: Trouble with 4.0.7 during pre-flight check
Hi slinkster,
No, these error messages will not prevent you from using/learning Txp. First thing you should understand is these particular error messages (having to do with modified files) are generally not critical errors (your site is still secure and functioning correctly), but you should address them for reasons ruud notes below. This makes these errors somewhat of an annoyance for some people because nobody likes to see red errors, especially non critical ones with a split personality. The indicated file paths in the errors is also confusing.
What everyone has been alluding to above is that you are probably seeing these particular error messages (having to do with modified files) because your FTP client is currently set to ASCII and not Binary (which are simply different conventions for interpreting file formats between locations). Textpattern follows the Binary format so you are less likely to see these kind of errors if you ensure your FTP client is configured as “Binary”.
So, what is your FTP client? Knowing that, somebody here using the same one can walk you through the menus. If you’re on a Mac and using Trasmit3, the location from the menus is Transfer > Mode > Binary.
Last edited by Destry (2008-12-19 13:06:53)
Offline
Re: Trouble with 4.0.7 during pre-flight check
First thing you should understand is these are not critical errors (your site is still secure and functioning correctly)
Not correct. These warnings can indicate a hacked TXP version, although in most cases it is caused by the FTP transfer mode (causing changes in line endings).
Offline
Re: Trouble with 4.0.7 during pre-flight check
Ah, so they are useful afterall. ;) Corrected.
Offline
Re: Trouble with 4.0.7 during pre-flight check
I too have a load of errors in my pre-flight check for 4.0.7
Some Textpattern files have been modified:
/include/txp_article.php,
/include/txp_list.php,
/lib/constants.php,
/lib/txplib_db.php,
/lib/txplib_forms.php,
/publish.php,
/publish/atom.php,
/publish/rss.php,
/publish/taghandlers.php
This lot appeared when I exported a perfect version of my site from one host (Textdrive) to another (1and1) (I had other problems too…)
Quick question: If I re-upload the actual Textpattern folder and index.php to the new host will that fix the problem?
(I don’t think it’s file endings because of Ascii/binary mode – I use Dreamweaver CS3 for the FTP bit…)
As ever, any advice or pointers would be much appreciated. Thank you.
/****************** UPDATED 21/12/2008*************************/
Just re-uploaded the Textpattern folder, and all the nasty errors went away./************************************************************/
Last edited by gavnosis (2008-12-21 21:54:59)
Offline
#36 2008-12-20 00:01:52
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: Trouble with 4.0.7 during pre-flight check
Destry wrote:
Ah, so they are useful afterall. ;) Corrected.
Hi Destry, very useful — and more so with Ruud’s latest code commits (r3042 and r3043) to address the false positives from the line-ending issues and display full file paths.
Ruud, Robert
Just thinking out loud — but could this useful feature be made more pro-active by having the file checks done immediately after a successful admin login? A warning could be presented to the admin user if the file hashes are wrong — making possible cases of hacked installation more obvious.
— Steve
Offline
#37 2008-12-20 06:07:56
- slinkster1
- New Member
- Registered: 2008-12-19
- Posts: 2
Re: Trouble with 4.0.7 during pre-flight check
Thanks, everyone.
Destry, I am on a MAC and am using Fetch as FTP client. I thought it was pretty intuitive to upload files again as binary, but it did not do the trick.
Still get the ugly red message that the below files have been modified. Serious or not, I want those green checks. :) What to do? Thanks.
/lib/class.thumb.php,
/lib/txplib_html.php,
/../rpc/index.php,
/../rpc/TXP_RPCServer.php ?
Offline
Re: Trouble with 4.0.7 during pre-flight check
Steve, while a modified file can indicate a hacked version, the opposite isn’t true. Your TXP install can be hacked without any modified files showing on the diagnostics tab. Checking is really done for diagnostic purposes, since some people do modify files intentionally and then ask for support if it breaks.
Offline
Re: Trouble with 4.0.7 during pre-flight check
net-carver wrote:
Hi Destry, very useful — and more so with Ruud’s latest code commits (r3042 and r3043) to address the false positives from the line-ending issues and display full file paths.
Yes, those are nice changes indeed.
slinkster1 wrote:
Still get the ugly red message that the below files have been modified. Serious or not, I want those green checks. :) What to do? Thanks.
I know what you mean, the green checks have a satisfying effect. :) Wish I knew how to ensure them, though. I still have one that I can’t get rid of no matter what /../index.php. It used to tell me it was out of date, now it’s just says it’s been modified. It’s cursed. At least I know it has not been hacked.
Offline