Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Download Elxis CMS:
Elxis 5.5 Hermes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Administration
»
Floodblocker error [SOLVED]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Floodblocker error [SOLVED] (Read 8256 times)
Patricia
Newbie
Posts: 45
Floodblocker error [SOLVED]
«
on:
September 10, 2008, 17:53:43 »
Hi Everyone,
This morning, for different reasons that I now damn, I decided to give the floodblocker tool a try. It left me with this unseemly message: Cron file access error! Check permissions to write. in ..../includes/floodblocker.class.php on line 201. I first tried to disactivate the tool but to no avail. Then I tried to change permissions on floodblocker.class.php. Still to no avail. Next stop: Elxis forum. Did a little search. Found a topic in the greek community. Translated it with BabelFish. Tried to follow datahell instructions... but still to no avail.
I think now it's time for me to try my last chance: Asking you guys for help. Please step in and quick.
Thank you for reading.
Patricia
«
Last Edit: September 11, 2008, 06:02:47 by Patricia
»
Logged
Ivan Trebješanin
Elxis Team
Hero Member
Posts: 1663
Re: Floodblocker error
«
Reply #1 on:
September 10, 2008, 17:59:45 »
Hi Patricia,
can you check if administrator/tools/floodblocker/logs directory is opened for writing?
Logged
I've got a snap in my finger...
Got rhythm in my walk...
Patricia
Newbie
Posts: 45
Re: Floodblocker error
«
Reply #2 on:
September 10, 2008, 18:21:21 »
Hi Ivan.
Yes. It is.
Logged
Ivan Trebješanin
Elxis Team
Hero Member
Posts: 1663
Re: Floodblocker error
«
Reply #3 on:
September 10, 2008, 19:27:45 »
Your PHP version?
EDIT:
You said you cannot disable it, so you can do it trought FTP.
Disable it by editing file administrator/tools/floodblocker/config.php.... just make $fconf_enabled = 0
«
Last Edit: September 10, 2008, 19:48:26 by Ivan Trebješanin
»
Logged
I've got a snap in my finger...
Got rhythm in my walk...
Patricia
Newbie
Posts: 45
Re: Floodblocker error
«
Reply #4 on:
September 11, 2008, 06:01:34 »
Thank you Ivan. Floodblocker disabled. Site back to normal.
And just cause you asked my PHP version is 5.2.5
«
Last Edit: September 11, 2008, 06:03:19 by Patricia
»
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Floodblocker error [SOLVED]
«
Reply #5 on:
September 11, 2008, 14:06:43 »
As Ivan said, logs folder must be writable (permissions 777). If there are any files inside that folder they must be also writable (permissions 666) in order FloodBlocker to be able to overwrite them. PHP cannot write inside this folder and it triggers this error.
FloodBlocker logs directory
administrator/tools/floodblocker/logs/
Relevant source code
includes/flooodblocker.class.php lines 159-163:
$path = $this->logs_path . $this->ip_addr;
if ( ! ( $f = @fopen ( $path, 'a+' ) ) ) {
trigger_error ( FLOOD_LOG_FILE, E_USER_ERROR);
}
«
Last Edit: September 11, 2008, 14:09:52 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Administration
»
Floodblocker error [SOLVED]