Recent Topics

1 Jul 18, 2006 16:34    

Hi,

0.9.2 was working perfectly but now I've trying to install 1.8 for weeks and I cannot access index.php and admin.php pages. Each time I try to access these pages (and others) I get an Internal Server Error message. In fact, I reach the login form page but cannot log in, instead I have the Server Error Message. See:

http://www.fireworkszone.com/news/index.php?blog=2

http://www.fireworkszone.com/news/admin

However, I can access only some pages: Antispam but also Categories, App Settings, Templates, Tools, Scheduler. See:

http://www.fireworkszone.com/news/admin.php?ctrl=antispam

http://www.fireworkszone.com/news/admin.php?ctrl=chapters&blog=3

http://www.fireworkszone.com/news/admin.php?ctrl=settings

http://www.fireworkszone.com/news/admin.php?ctrl=templates

http://www.fireworkszone.com/news/admin.php?ctrl=tools

http://www.fireworkszone.com/news/admin.php?ctrl=crontab

Yabba suggested to PM Blueyed but I have no answer from him. I think the answer lies with my French ISP (http://www.online.net) and I think you'd better check the phpinfo.php file to see what's make Online AND b2evolution incompatible.

:(

2 Jul 19, 2006 23:51

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?

3 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 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 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 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 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 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)...

11 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 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 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 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 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 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 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 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 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 Aug 03, 2006 00:07

So from what I understand the only solution left is to go for Wordpress

23 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.. :)


Form is loading...