Closed FranciscoVillen closed 10 years ago
Could you check your joomla and php/webserver log for entries (especially for the error 500 it would be very interesting), and provide relevant entries here? Please also check the plg_system_bfstop.php for any relevant entries. At the moment I have no idea how the plugin could cause this, I need some more information...
In the error log I got two warnings whenever I tried to create or edit an article:
[error] PHP Warning: fopen(/web/htdocs/logs/plg_system_bfstop.log.php) [function.fopen]: failed to open stream: Permission denied in /web/htdocs/libraries/joomla/log/loggers/formattedtext.php on line 248, referer: /administrator/index.php?option=com_content&view=article&layout=edit [error] PHP Warning: fputs(): supplied argument is not a valid stream resource in /web/htdocs/libraries/joomla/log/loggers/formattedtext.php on line 254, referer: /administrator/index.php?option=com_content&view=article&layout=edit
And there isn't a file plg_system_bfstop.log.php in the logs directory.
That messages suggest wrong ownership / missing permissions on the "logs" folder. How to correct those would depend on what kind of access you have to your server, usually it works either via ftp or shell access.
If you can't adapt the permissions/ownership, then you could also disable logging in the bfstop plugin configuration. If you have left bfstop logging settings at default settings so far, though - which causes only errors to be logged - then above log messages indicate that some error is currently occuring in bfstop in your setup. For the proper operation of bfstop it would be good to find out which error that is (but there is no other way than via its logfile. Is your Joomla logfile working?).
Where is the joomla logfile?. In the logs directory I only have a generic file error_log which is the log file of the server. In joomla panel, in system information -> directory permissions I have:
( Logs Directory) not writable (in red). The logs directory should be writable for the correct performance of bfstop?
The logs directory should be writable for the correct performance of bfstop?
Yes. Or you disable the log in the plugin settings (but then you might miss vital information about errors which occured during bfstop's operation).
Solved. I turned the logs directory rewritable and the plugin works fine, I can create articles again. Thanks! Best regards.
I'm glad I could help! If you have some time, it would be great if you could check if there are any entries in your plg_system_bfstop.php now!
All the entries are like this: 2014-04-14T11:41:23+00:00 INFO - FinderIndexerAdapter::getTypeId 2014-04-14T11:41:23+00:00 INFO - FinderIndexerAdapter::getItem 2014-04-14T11:41:23+00:00 INFO - FinderIndexerAdapter::getItemMenuTitle
Ah ok. Only needless entries :(. Hopefully I'll find a fix for this soon; there's a separate issue for it already: https://github.com/codeling/bfstop/issues/77 Thanks for checking that!
Hi, When I have brute force stop plugin activated, I can't create or edit articles, I get the next error:
"Save failed with the following error:"
When I try to create a category, it show me a error 500.
These problems disappear if I disable brute force stop plugin. Thanks