Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-8559 now.

Missing $phpEx causes Error during Update-Process (fix completed in vcs)

Hi,

while updating from 3.0.4 to 3.0.5 I got the following error:

Code: Select all
[phpBB Debug] PHP Notice: in file /install/install_update.php5 on line 1568: include(./../install/update/index.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /install/install_update.php5 on line 1568: include() [function.include]: Failed opening './../install/update/index.php' for inclusion (include_path='.:/usr/lib/php5')


It's caused by lines 1554 and 1568 @ install/install_update.php, because I'm not using the standard extension ".php":

Code: Select all
include($phpbb_root_path . 'install/update/index.php');


should be

Code: Select all
include($phpbb_root_path . 'install/update/index.' . $phpEx);


to prevent this error.

Comments / History

Assigned ticket to user "bantu"

Action performed by bantu (3.0 Release Manager) on Aug 7th 2009, 11:56

Changed ticket status from "New" to "Reviewed"

Action performed by bantu (3.0 Release Manager) on Aug 7th 2009, 11:56

Posted by sneils on Aug 7th 2009, 11:58

Same @ line 209

Linked ticket with changeset: r9935

Action performed by bantu (3.0 Release Manager) on Aug 7th 2009, 12:10

Changed ticket status from "Reviewed" to "Fix completed in SVN"

Action performed by bantu (3.0 Release Manager) on Aug 7th 2009, 12:10

Posted by bantu (3.0 Release Manager) on Aug 7th 2009, 12:13

Gah, I should not have excluded "language" when using grep. :-) - Thanks.

Linked ticket with changeset: r9936

Action performed by bantu (3.0 Release Manager) on Aug 7th 2009, 12:50

Posted by bantu (3.0 Release Manager) on Aug 7th 2009, 12:52

I intentionally left the following as is.
Code: Select all
if (in_array('language/en/install.php', $this->update_info['files']))

This should be changed when Bug #PHPBB3-15809 get's fixed.

Edited post #174385

Action performed by bantu (3.0 Release Manager) on Aug 7th 2009, 12:53

Linked ticket with changeset: r9948

Action performed by bantu (3.0 Release Manager) on Aug 10th 2009, 12:12

Ticket details

Related SVN changesets