1 fireworkszone Jul 18, 2006 16:34
3 fireworkszone Jul 30, 2006 00:44
Hi blueyed, :)
I have tried to log in this forum for over a week and got instead a 403 error message and my installation problem is not resolved.
I am desperate, I have made 2 attemps to fully installed new version 1.8 and both failed with Internal Server Error messages. One installation on 18th July and the second on July 30th. I have access to my webserver logs and on both dates the logs are missing :?:
The backoffice link is not working either. You can reach the login form but can't go further with login and password and get Internal Error Message instead.
http://www.fireworkszone.com/news/admin
By the way, in the meantime, I installed new 2.0.3 Word Press version and it works fine
4 nate Jul 30, 2006 03:04
But what do the logs say today? Or yesterday? There may be a clue there as to what is failing when we try to access the blog, not just from the installation.
5 fireworkszone Jul 31, 2006 16:30
Hi,
I finally found that the webserver logs were not missing as I said previously but as I don't know what do with the logs (or what tool to use to get the right information from the log) you will find attached the 18th July webserver log.
Hope it will help.
:idea:
6 nate Jul 31, 2006 16:47
Well, that seems to only have part of July 18th and I don't see anything strange in there (not that I'm a log expert, though!). There are no error messages in there which was what I'd be looking for. That's why I think a log file from a later date might be more useful.
7 yabba Jul 31, 2006 18:29
Just for a laugh, what's your $baseurl set to in conf/_basic_config.php ?
¥
*edit*
scrap that ....... at least I keep trying (and failing :S)
8 blueyed Jul 31, 2006 20:51
fireworkszone, you should "provoke" the error and then give us the part of the log that responds to that time (+/- 5 minutes to be sure)...
9 fireworkszone Aug 01, 2006 10:40
I set "$debug" to 1 in /conf/_advanced.php and you now can read the "Debuglog" at the bottom of the page: http://www.fireworkszone.com/news/index.php#debug_info_cat_detectblog
This might interest you:
error:
Could not "SET NAMES latin1"!
It seems that http://www.fireworkszone.com/news/ is in the blacklist ?
Hope this help :roll:
10 blueyed Aug 01, 2006 22:12
Note: I've split the topic, because [url=http://forums.b2evolution.net//viewtopic.php?p=41170#41170]RobHam's problem[/url] seems to be something else.
11 blueyed Aug 01, 2006 22:15
error:
Could not "SET NAMES latin1"!
should not be the cause of the problem you're experiencing.
Maybe it's just a memory_limit issue...
I'd really need to see error log entries!
For now, try adding
ini_set('memory_limit', '12M');
in /conf/_config.php (at the beginning, after the /* ... */ block)
12 robham Aug 01, 2006 23:50
blueyed wrote:
error:
Could not "SET NAMES latin1"!should not be the cause of the problem you're experiencing.
Maybe it's just a memory_limit issue...
I'd really need to see error log entries!
For now, try adding
ini_set('memory_limit', '12M');
in /conf/_config.php (at the beginning, after the /* ... */ block)
Just a small addition to this -
There is also a very important memory limit setting for the actual PHP program running on your server. On a Linux machine this would normally be located off the root directory in a text file /etc/php.ini. Unsure where this would be on another OS. Look for the Resource Limits section and the entry for memory_limit =, I have mine set to a massive 20M - a large setting like this essential for many PHP apps such as Gallery2 etc and would recomend that you use a large value. You would need to re-start PHP and perhaps your web server for any changes to take effect.
13 blueyed Aug 01, 2006 23:58
RobHam, you can either set it in php.ini like you've done it or through ini_set() like described above.
Both should work the same way (though I'm not sure about safe mode, but AFAIK it does not affect the memory_limit setting, surprisingly).
14 fireworkszone Aug 02, 2006 20:47
1- Can't find in /conf/_config.php (at the beginning, after the /* ... */ block)
ini_set('memory_limit', '12M');
This is what I get:
/**
* This is b2evolution's main config file, which just includes all the other
* config files.
*
* See {@link _basic_config.php} for the basic settings.
*
* @package conf
*/
This is the rest of _config.php
require_once dirname(__FILE__).'/_basic_config.php'; // basic settings
require_once dirname(__FILE__).'/_advanced.php'; // advanced settings
require_once dirname(__FILE__).'/_locales.php'; // locale settings
require_once dirname(__FILE__).'/_formatting.php'; // formatting settings
require_once dirname(__FILE__).'/_admin.php'; // admin settings
require_once dirname(__FILE__).'/_stats.php'; // stats/hitlogging settings
require_once dirname(__FILE__).'/_application.php'; // application settings
if( file_exists(dirname(__FILE__).'/_overrides_TEST.php') )
2- Log
You will find attached the log of August 1st (but I am surprised to find dates from 30th July, 31st July and August 1st in my August 1st log)
;)
15 blueyed Aug 02, 2006 21:09
Add the "ini_set('memory_limit', '32M');" after:
* @package conf
*/
About the logs;: cannot find a " 500 " line there, which is normally given for an internal server error. Perhaps it only appears in the server's main error log (which is a PHP bug I've reported recently - might be the cause of the "memory exhausted" message not appearing in your log). Also, often you have access logs and error logs separated.
Anyway, I think it's the memory limit.
16 robham Aug 02, 2006 21:12
Fireworkszone - what version of PHP and MySql are you using??
Reason being, when your server shows an error page it also displays
php4-2@invalid. Not too sure if this is the actual PHP version but the minimum published version that is needed is ver 4.3.
Typing PHP -v at a console promt should display the version.
Note - The faulty log line of you Local output log should be displaying
Set DB connection charset: latin1
yours is showing
Could not "SET NAMES latin1"!
17 robham Aug 02, 2006 22:48
RobHam wrote:
Fireworkszone - what version of PHP and MySql are you using??
Reason being, when your server shows an error page it also displays
php4-2@invalid. Not too sure if this is the actual PHP version but the minimum published version that is needed is ver 4.3.Typing PHP -v at a console promt should display the version.
I found the following at your ISP, appears to be a supported version 4.3.10, the PHP memory limit defaults to 6M max, 6M is very small so does look to be a memory limit problem.
http://www.online.net/support/us/doc/php4/phpinfo.html
The MySql version shows up as 3.23.56, also a supported version.
18 fireworkszone Aug 02, 2006 23:05
1- First of all, ini_set is a disable function in Online. See http://www.fireworkszone.com/phpinfo.php so I can't use it.
2- Set DB connection charset: latin1
yours is showing Could not "SET NAMES latin1"!
Where and how I set DB connection charset:latin1?
19 blueyed Aug 02, 2006 23:25
As said, ignore the SET NAMES error. This would only result in not correctly encoded pages (special characters etc).
memory_limit is your problem!
20 fireworkszone Aug 03, 2006 00:07
So from what I understand the only solution left is to go for Wordpress
21 blueyed Aug 03, 2006 00:14
You could also use version 0.9.2, which may work with 6MB of memory (at least it does with 8MB).
Actually, you might get the same problem:
http://wordpress.org/support/topic/18309
22 fireworkszone Aug 03, 2006 09:10
I have installed WordPress latest version 2.0.4 and it works perfectly so far. See: http://www.fireworkszone.com/blog/
:-/
23 blueyed Aug 03, 2006 15:22
Fine. You should use, whatever fits best and in this case b2evo is out of question, because you cannot bump the memory limit.
Good luck.. :)
I haven't received your PM, but a public report is always better (searchable).
So, have you access to your webserver logs? There will be something in the error log, which we'd need to solve the problem.
Btw: the second link works for me, only the first one fails.
Perhaps it's a difference, if you are logged in or not, when accessing the second link?