MyBB Community Forums
[Pushed] While Installing ... - Printable Version

+- MyBB Community Forums (
+-- Forum: Development (
+--- Forum: MyBB 1.8 Development (
+---- Forum: 1.8 Bugs and Issues (
+----- Forum: Pushed (
+----- Thread: [Pushed] While Installing ... (/thread-158561.html)

While Installing ... - effone - 2014-09-03

No reason, but unpacked fresh MyBB 1.8, had a direct hit to upgrade.php, and:

[Image: WmvohtI.png]

Where the inclusion of functions.php is missing?

RE: While Installing ... - Destroy666 - 2014-09-03

Can't reproduce. Did you surely upload all files?

RE: While Installing ... - Jones H - 2014-09-04

This can happen (in theory). class_error is the first file we include in upgrade.php (line 22). But functions.php is included in line 48 so if one of the lines between those two includes throws a catchable error this may happen. However the lines shouldn't throw one (class_clore, config.php and class_timer).

BTW: inc/init.php does it the other way: class_error -> functions.php -> class_timers -> class_core -> config.php

RE: While Installing ... - Euan T - 2014-09-04

Probably best to include functions first then, surely?

RE: While Installing ... - effone - 2014-09-04

(2014-09-03, 09:55 PM)Destroy666 Wrote: Can't reproduce. Did you surely upload all files?

I'm sure I've dumped all the files as I directly dragged the folder 'upload' and dropped in proper location of my localhost.
I'll try reproducing it further and if it happens will report back.

RE: While Installing ... - Jones H - 2014-09-04

Not sure why it was done that way.
install/index.php needs this "fix" probably too.

@effone: can you try moving the require functions.php line?

RE: While Installing ... - effone - 2014-09-04

Yes, if I move :
require_once MYBB_ROOT."inc/functions.php";

require_once MYBB_ROOT.'inc/class_error.php';

at line no. 22 in upgrade.php the issue gets resolved. Obviously ...

RE: While Installing ... - Diogo Parrinha - 2014-09-25


Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github:

Thanks for contributing to MyBB!

The MyBB Group