Textpattern Forum

You are not logged in. Register | Login | Help

#51 2010-11-19 13:00:00

roelof
Member
Registered: 2005-03-27
Posts: 645

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

#52 2010-11-19 13:08:08

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 5,714
Website

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.

Txp Builders – finely-crafted code, design and Txp

Offline

#53 2010-11-19 13:08:49

maniqui
Moderator
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 2,967
Website

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.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#54 2010-11-19 13:12:29

roelof
Member
Registered: 2005-03-27
Posts: 645

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

#55 2010-11-19 13:15:05

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 5,714
Website

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.

Txp Builders – finely-crafted code, design and Txp

Offline

#56 2010-11-19 13:23:15

roelof
Member
Registered: 2005-03-27
Posts: 645

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

#57 2010-11-19 13:33:59

maniqui
Moderator
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 2,967
Website

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:

  1. I pointed “Prognostics folder” to a non-writable folder and hit “Save”
  2. 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 :)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#58 2010-11-19 13:38:34

roelof
Member
Registered: 2005-03-27
Posts: 645

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: 645

Re: smd_prognostics: monitor your Txp installation for suspicious activity

Hello,

Nobody who can help me to get this plugin working ?

Roelof

Offline

#60 2010-11-21 12:44:11

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 5,714
Website

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.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB