Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#49 2010-11-19 12:07:36
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: smd_prognostics: monitor your Txp installation for suspicious activity
Hello Steven.
I have a little problem.
On the first tab I made changes.
Then I do save and evrything is reverted to the old situation.
Also on the files tab I see a message that no files were selected.
Roelof
Offline
Re: smd_prognostics: monitor your Txp installation for suspicious activity
roelof wrote:
On the first tab I made changes. Then I do save and evrything is reverted to the old situation.
Are you on 4.3.0? This plugin is not designed for anything less (you will see this behaviour on 4.2.0).
Also on the files tab I see a message that no files were selected.
Once you have set up your File locations
to point to valid directories, when you visit the Files pane you need to select the files you wish to monitor and hit Save. The plugin does not automatically monitor files for you as it does not know exactly which files you care about!
Hope that helps.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
#51 2010-11-19 13:00:00
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: smd_prognostics: monitor your Txp installation for suspicious activity
Hello,
Im sure. See this:
Textpattern versie: 4.3.0 (r3451)
Laatste update: 2010-11-07 11:14:11/2010-11-07 10:38:34
I set the file location but as I said as soon as I hit the save button everything gets reverted to the old situtation.
Roelof
Offline
Re: smd_prognostics: monitor your Txp installation for suspicious activity
roelof wrote:
I set the file location but as I said as soon as I hit the save button everything gets reverted to the old situtation.
Weird. What version of PHP are you using? Might be a function mismatch somewhere that’s causing it the plugin to cry.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: smd_prognostics: monitor your Txp installation for suspicious activity
roelof,
may it be that your “Prognostics folder” setting isn’t pointing to a writable folder?
This caught me the first times.
Offline
#54 2010-11-19 13:12:29
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: smd_prognostics: monitor your Txp installation for suspicious activity
Hello,
PHP version : PHP versie: 5.2.4-2ubuntu5.12
All folders are 755
Roelof
Offline
Re: smd_prognostics: monitor your Txp installation for suspicious activity
maniqui wrote:
may it be that your “Prognostics folder” setting isn’t pointing to a writable folder?
Ooh, yeah that also. Good catch. In theory, when you alter the location of the folder it checks if the folder you typed in exists and is writable. If one or more of those conditions are not met, the plugin will automatically revert your Prognostics dir setting back to what it was (and probably do it without warning). So make sure you have created the destination folder first before trying to change the setting.
I haven’t figured out the best way to offer advice on a per-setting basis yet — I experimented with the File locations
setting so if you change it you’ll see a link + message appear below that setting, warning you about the change. But it’s a bit rubbish putting it there because you probably won’t see it so I should rethink that bit and also offer warnings elsewhere in the panel after Save. Thanks for the pointers.
So after you have tried to Save the Files, please use your FTP program to verify that the smd_prgnostics_checksums.txt file has been created in the place you have defined. If it hasn’t, check that the folder exists.
Last edited by Bloke (2010-11-19 13:16:35)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
#56 2010-11-19 13:23:15
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: smd_prognostics: monitor your Txp installation for suspicious activity
Oke,
I understand this.
Is 755 good for a folder. The files are now pointing to the root of my website so the folder exist.
Roelof
Offline
Re: smd_prognostics: monitor your Txp installation for suspicious activity
Bloke wrote:
If one or more of those conditions are not met, the plugin will automatically revert your Prognostics dir setting back to what it was (and probably do it without warning).
Yes, when I installed it, I think this is what happened.
To be more precise:
- I pointed “Prognostics folder” to a non-writable folder and hit “Save”
- It reverted back and silently to
/path/to/folder/textpattern/
, if I recall correctly.
IMHO, it should “fail” better than that :)
I mean, reverting back to /path/to/folder/texpattern
(at least on my install that’s what happened) is not only a bit confusing, but somewhat dangerous: the end-user may wrongly think that it should set the textpattern/
folder to be writable. Not good for a plugin that is taking care of our TXP babies :)
Offline
#58 2010-11-19 13:38:34
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: smd_prognostics: monitor your Txp installation for suspicious activity
Oke,
Is 755 not writeable then ?
Roelof
Offline
#59 2010-11-21 11:26:32
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: smd_prognostics: monitor your Txp installation for suspicious activity
Hello,
Nobody who can help me to get this plugin working ?
Roelof
Offline
Re: smd_prognostics: monitor your Txp installation for suspicious activity
roelof wrote:
Nobody who can help me to get this plugin working ?
If you’ve checked everything that has been suggested so far then I don’t know if it’s possible to diagnose your problems without more information such as file paths and permissions, etc. Since it’s not advisable to post those, the only thing I can suggest is granting someone a login to your site.
P.S. I’ve improved the warnings in the next version of the plugin so it gives the usual flashy warning in the message area if things aren’t quite right.
Last edited by Bloke (2010-11-21 12:45:37)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline