Page 1 of 2
Internal Server Error message
Posted: Mon 10. Dec 2007, 18:53
by boudewijn1
For a couple of months I did not use phpwcms. Today I would like to include an image to an article (article - text (with image for filesystem), and after clicking on the folder icon, the following message pops-up:
--
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,
support@one.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
--
How can I solve this problem? Is it a problem with CHMOD of the filearchive directory on the server (its CHMOD is currently 777)? Or is it another problem?
Thanks in advance.
Boudewijn
--
Sorry, for adding the news item to wrong topic. Maybe can the moderator move it to: phpwcms support English?
--
Posted: Tue 11. Dec 2007, 10:08
by Oliver Georgi
disable Bad Behavior in conf.inc.php or update Bad Behavior
Oliver
Posted: Tue 11. Dec 2007, 11:18
by boudewijn1
Dear Oliver,
Thanks for your quick reply. This evening I'll investigate the conf.inf.php file.
Since I cannot access now the particular file, what do you mean by 'bad behaviour'?
Best regards, Boudewijn
Posted: Tue 11. Dec 2007, 11:32
by boudewijn1
Oliver,
I just read the articles about bad behaviour and will use these sources in order to solve the problem this evening. If I do not succeed, I'll leave a message right here.
Boudewijn
Posted: Tue 11. Dec 2007, 11:32
by Oliver Georgi
Posted: Tue 11. Dec 2007, 18:57
by boudewijn1
Dear Oliver,
Unfortunately I did not succeed. The same error occurs.
I consulted the url '
http://www.homelandstupidity.us/softwar ... -behavior/', downloaded: '
http://www.phpwcms.org/snapshot/mod_Bad ... 2.0.11.zip' and uploaded the files to the server.
Some of my settings are:
In conf.inc:
$phpwcms['Bad_Behavior'] = 1; // 1 enables spam blocking by Bad Behavior, 0 off
This statement is placed in index.php:
require_once ('include/inc_module/mod_bad-behavior/bad-behaviour/bad-behavior-generic.php");
Remarkable, is that the file "bad-behaviour-generic.php" is not present in the zip-file. Should the statement refer to a different php file? If yes, which one?
Thanks in advance again.
Best regards, Boudewijn
Posted: Tue 11. Dec 2007, 19:02
by Oliver Georgi
if it is set off - the plugin will not loaded so it has to work.
Oliver
Posted: Tue 11. Dec 2007, 19:29
by boudewijn1
It still does not work.
Up to my opinion, this statement (copied from the guide) refers to a non existing file on the server.
'include/inc_module/mod_bad-behavior/bad-behaviour/bad-behavior-generic.php'
This statement is included in index.php in the main folder. The path to the module is valid.
In:
include/inc_module/mod_bad-behavior/bad-behavior/ no such a file is present.
In /include/inc_module/mod_bad-behavior/ a file called bad-behaviour-phpwcms.php is present.
And, what is the preferrable setting of $phpwcms['Bad_Behavior']? Switching this value from 0 to 1 does not make any result.
What am I doing wrong?
Best regards, Boudewijn
Posted: Tue 11. Dec 2007, 19:36
by boudewijn1
Currently when I want to access the login of PHPWCMS, the browser shows: You Cannot Access This Script Directly, Have a Nice Day.
Any idea?
Posted: Tue 11. Dec 2007, 21:52
by DeXXus
boudewijn1 wrote:This statement is placed in index.php:
require_once ('include/inc_module/mod_bad-behavior/bad-behaviour/bad-behavior-generic.php");
I don't believe this was done by the phpWCMS update of Bad Behavior? No reference has ever existed (to the filename of the generic version) except for "
bad-behavior-phpwcms.php". That is what should have remained unchanged in "index.php" from original install and through the update (unzipping of zip file). Correct me if I'm wrong.
Posted: Wed 12. Dec 2007, 05:56
by juergen
in conf,inc.php re_add:
Code: Select all
define('PHPWCMS_INCLUDE_CHECK', true);
f.e. near the end....
Posted: Wed 12. Dec 2007, 06:56
by boudewijn1
'define('PHPWCMS_INCLUDE_CHECK', true);' was already present in conf.inc.php and did not make any result.
DeXXus you're right.
On the url:
http://www.hebberechtpigeons.be/new/fout.JPG is a screenshot available. The error message pops-up after clicking at the file browsing icon (near pancho.jpg).
Why is the statement below available:
'include/inc_module/mod_bad-behavior/bad-behaviour/bad-behavior-generic.php' ? The *generic.php I cannot find that file in the *.zip file.
What is the cause of the problem?
The strage thing is that this problem suddenly came up, phpwcms runs soundly for months until this problem..
I'm looking forward to your suggestions.
Boudewijn
Posted: Wed 12. Dec 2007, 07:33
by update
Is the file manager link at the top working as intended? If not:
Perhaps this is due to a corrupted image file? Or did you change from GD to IM?
I've had this before too - but unfortunately can not remember what I've done to correct it
Posted: Wed 12. Dec 2007, 07:52
by Oliver Georgi
OK, now it's a bit clearer - does not have to do with Bad Behavior - it seems you have uploaded a file (image) which crashes the PHP process - maybe file too big, wrong format ot whatever. So the only chance to get rid of it is think about what you have uploaded at last.
This might happen also if the file is CMYK JPG.
Oliver
Posted: Wed 12. Dec 2007, 08:32
by boudewijn1
Thanks for the replies gentlemen.
What is also remarkable, is the fact that for a certain file folder in phpwcms, all images are not displayed. However, these images are still present at the server. For a distinct file folder in phpwcms, the images are still present.
How to solve this? Should I -hard- remove the latest uploaded image(s) on the server?
Any other options?
Best regards, Boudewijn