Subject:*
Name/Email:*
Message Icon:*
Message:*
url email imgsrc image php hide code quote
English Nederlands 
VOORBEELD
alignleft aligncenter alignright bold italic underline linethrough   


 [meer...]
Options:*
 

 

 
   
Re: Protector Module Update - require clarification re mainfile.php patching, or not

by tedsmith on 30/9/2009 13:32:33

Thanks for the clarification guys.

Yeah, I just overwrote the previous version and updated via modules admin, and it all seems to be working.

Many thanks

Ted
Re: Protector Module Update - require clarification re mainfile.php patching, or not

by skenow on 29/9/2009 17:18:51

You need to be sure you do not have both methods being used - it will lead to blank pages when you try to post anything! The best method is placing the protector.php file in the preloads directory.

Since your mainfile is already modified to load protector, you can leave it at that.

Upgrades from xoops to impresscms will rewrite the mainfile, but if I recall, it does not remove the lines to load protector.
Re: Protector Module Update - require clarification re mainfile.php patching, or not

by Will on 29/9/2009 16:15:16

not in htdocs/ look in the package root.

/extras/preload/protector.php

I believe that the migration script will rewrite your mainfile.php file.

so you will need to move that file into the preload folder of your docroot.

If it doesn't then you don't need to worry about it,
Protector Module Update - require clarification re mainfile.php patching, or not

by tedsmith on 29/9/2009 16:01:59

Hi

I note there's a new stable release of Protector (http://xoops.peak.ne.jp/md/mydownloads/singlefile.php?lid=94&cid=1&easiestml_lang=xlang%3Aen)

I note secondly that ImpressCMS users are told they do not have to adjust their mainfile.php.

I just want to clarify before I do an upgrade (because I always run into problems with Protector) : my mainfile.php is currently patched from when I used Xoops - I didn't change it when I upgraded to ImpressCMS. So does that mean that if I simply do as the instructions state (You do not need to edit mainfile.php when using ImpressCMS, instead locate the ImpressCMS_Extras directory
inside the protector package, and copy the preload directory to your root ImpressCMS directory, so that your
ImpressCMS preload folder contains the file protector.php
), will it still work with my patched mainfile.php file, or not? Or do I have to change my mainfile.php to it's 'pre-protector' state?

Also, having just downloaded the package, there is no ImpressCMS_Extras directory. There's an empty preload directory, but not a ImpressCMS_Extras directory.

So I am confused now.

Ta

Ted