MyBB Community Forums

Full Version: /upgrade.php 1.6.2 > 1.6.3 got 'Warning: require_once...' ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Trying to upgrade from 1.6.2 > 1.6.3.
Followed instructions at http://wiki.mybb.com/index.php/Upgrading...cess_types
and
http://blog.mybb.com/2011/04/17/mybb-1-6...ty-update/

Couldnt find 'lock' file at /install,
and when tried /upgrade.php,
got error message...

Warning: require_once(/home/home_directory/public_html/inc/class_core.php) [function.require-once]: failed to open stream: No such file or directory in /home/home_directory/public_html/install/upgrade.php on line 38

Fatal error: require_once() [function.require]: Failed opening required '/home/home_directory/public_html/inc/class_core.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/home_directory/public_html/install/upgrade.php on line 38

Beginner and 1st time tried to upgrade.
Suggestions ?
(2011-04-26, 07:23 PM)akm Wrote: [ -> ]Trying to upgrade from 1.6.2 > 1.6.3.
Followed instructions at http://wiki.mybb.com/index.php/Upgrading...cess_types
and
http://blog.mybb.com/2011/04/17/mybb-1-6...ty-update/

Couldnt find 'lock' file at /install,
and when tried /upgrade.php,
got error message...

Warning: require_once(/home/home_directory/public_html/inc/class_core.php) [function.require-once]: failed to open stream: No such file or directory in /home/home_directory/public_html/install/upgrade.php on line 38

Fatal error: require_once() [function.require]: Failed opening required '/home/home_directory/public_html/inc/class_core.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/home_directory/public_html/install/upgrade.php on line 38

Beginner and 1st time tried to upgrade.
Suggestions ?

Did you replace 1.6.2's files? or did you upload in a new directory?
You're missing ./inc/class_core.php...
(2011-04-26, 07:30 PM)Jason L. Wrote: [ -> ]Did you replace 1.6.2's files? or did you upload in a new directory?
(2011-04-26, 07:30 PM)MattRogowski Wrote: [ -> ]You're missing ./inc/class_core.php...
Uploaded (individually) file/s (./inc/class_core.php is there), only thing noticed is that size (9275) of uploaded file (using FZ) is a bit different than the source file (9698) from the MyBB downloaded .zip file.

Well, it's saying it's not there, so something isn't right here. Are you sure the new files overwrote the old ones...??
(2011-04-26, 08:17 PM)MattRogowski Wrote: [ -> ]Well, it's saying it's not there, so something isn't right here. Are you sure the new files overwrote the old ones...??
Think so, actually tried over-right and delete/replace, and got same file (and size) result.
Screenshot attached.
Ps: Tried with both forum 'open' and 'closed', is it better to keep it 'closed' when running the upgrade ?

What's your URL??
(2011-04-26, 09:33 PM)MattRogowski Wrote: [ -> ]What's your URL??
Thanks for the followup.
Finally put it in my 'profile' the other day, after being asked so many times by help, Rolleyes its akmblog.org.
Btw, kept forum 'closed' during file uploads, does it matter when run upgrade (tried both ways, instructions werent clear, but didnt make difference with error message).


(2011-04-26, 09:45 PM)akm Wrote: [ -> ]
(2011-04-26, 09:33 PM)MattRogowski Wrote: [ -> ]What's your URL??
Thanks for the followup.
Finally put it in my 'profile' the other day, after being asked so many times by help, Rolleyes its akmblog.org.
Btw, kept forum 'closed' during file uploads, does it matter when run upgrade (tried both ways, instructions werent clear, but didnt make difference with error message).

Hmmmm.... now when check ACP dashboard it shows MyBB Version 1.6.3.
Guess the question is solved ?
Dont know how, but if its not broke dont worry about it ?
Is there any chance the upgrade is not totally complete... how to tell ?

Did you run through the upgrade script in the end then?? The version number will appear updated if the new files are in place (the version number is in ./inc/class_core.php which is the file that was causing an error before) but the upgrade script will still need to be run.
(2011-04-27, 11:09 PM)MattRogowski Wrote: [ -> ]Did you run through the upgrade script in the end then?? The version number will appear updated if the new files are in place (the version number is in ./inc/class_core.php which is the file that was causing an error before) but the upgrade script will still need to be run.
Thank you for the followup.
Well, just realized where I screwed up.
For some reason thought the /install directory should be in the root directory instead of the /forum directory.
Moved it, and the 'script' ran complete.
Followup question... should now just delete the /install directory ?
Thanks again for your patience, and sorry about the confusion.

Pages: 1 2