Ticket #31 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

eAccelerator breaks phpBB 2.1.x CVS installer...

Reported by: Jonathan Stanley Assigned to: anonymous
Priority: major Milestone: 0.9.5
Component: eAccelerator Version: 0.9.5
Keywords: Cc:

Description

I'm using PHP5.1.2 on Apache/1.3.33 Ben-SSL/1.55 in Debian r3.1. My eAccelerator when I noticed the issue was 0.9.5-Beta1, though have also tried SVN trunk checked out on 2006-03-22, 20:52 UTC.

When accessing phpBB's installer, it dies with the following error in the Apache error log:

[Wed Mar 22 21:13:11 2006] [error] PHP Fatal error: Class 'install_main' not found in ./install/index.php(234) : eval()'d code on line 1

If eAccelerator is disabled (say via .htaccess with: php_flag eaccelerator.enable 0 ... then phpBB's installer will run normally.

phpBB's CVS is here: http://cvs.sourceforge.net/viewcvs.py/phpbb/phpBB2/

Said revision of file, that's apparently dieing: http://cvs.sourceforge.net/viewcvs.py/phpbb/phpBB2/install/index.php?rev=1.4&view=auto

Change History

03/26/06 18:42:36 changed by Jonathan Stanley

Users on PHP4.x also seeing issues. This bug on phpBB's bug tracker is for PHP4.4.2 and eAccelerator 0.9.3:

http://www.phpbb.com/bugs/viewreport.php?b=1291

03/26/06 20:40:54 changed by Stadler

Not sure, if this helps, but: Does it work, when you:

  • empty the disk-cache (usually in /tmp/eaccelerato) and restart or
  • disable the optimizer

?

03/28/06 20:28:37 changed by Jonathan Stanley

As per the original report, disabling the optimiser is a work around. Clearing the cache seems to make no difference to me. I have a pretty low TTL in my php.ini anyway... the following are my PHP setting for eAccelerator:

# php -i | grep "eaccelerator" eaccelerator.allowed_admin_path => no value => no value eaccelerator.cache_dir => /tmp/eaccelerator => /tmp/eaccelerator eaccelerator.check_mtime => 1 => 1 eaccelerator.compress => 1 => 1 eaccelerator.compress_level => 9 => 9 eaccelerator.debug => 0 => 0 eaccelerator.enable => 1 => 1 eaccelerator.filter => no value => no value eaccelerator.log_file => no value => no value eaccelerator.name_space => no value => no value eaccelerator.optimizer => 1 => 1 eaccelerator.shm_max => 0 => 0 eaccelerator.shm_only => 0 => 0 eaccelerator.shm_prune_period => 600 => 600 eaccelerator.shm_size => 24 => 24 eaccelerator.shm_ttl => 600 => 600

04/10/06 01:42:01 changed by anonymous

  • owner changed from somebody to anonymous.
  • status changed from new to assigned.
  • milestone set to 0.9.5.

04/10/06 02:09:22 changed by bart

This bug seems to be relared to this one on SF #1102070

04/11/06 00:09:08 changed by Jonathan Stanley

Said report on SF looks like the one. Incidently, on phpBB.com, the bug has been updated with a small change of removing the "return;" inside the $setmodules part of install_main.php and install_install.php as a workaround.

06/27/06 12:12:37 changed by bart

  • status changed from assigned to closed.
  • resolution set to fixed.

This is fixed in revision [220]