XF 2.2 xenforo 2.2.3 -web Upgrade error

rosal

Active member
Wen testing my testing site to update to xenforo 2.2.3 gives this error via web.

Php 7.3

Code:
An exception occurred: [Error] Call to undefined method XF\Http\Request::getFullXfRootPath() in src/XF/App.php on line 246

    XF\App->XF\{closure}() in src/XF/Container.php at line 28
    XF\Container->offsetGet() in src/XF/App.php at line 263
    XF\App->XF\{closure}() in src/XF/Container.php at line 28
    XF\Container->offsetGet() in src/XF/App.php at line 418
    XF\App->XF\{closure}() in src/XF/Container.php at line 28
    XF\Container->offsetGet() in src/XF/Install/App.php at line 33
    XF\Install\App->XF\Install\{closure}() in src/XF/Container.php at line 28
    XF\Container->offsetGet() in src/XF/App.php at line 2459
    XF\App->router() in src/XF/Mvc/Dispatcher.php at line 476
    XF\Mvc\Dispatcher->getRouter() in src/XF/Mvc/Dispatcher.php at line 65
    XF\Mvc\Dispatcher->route() in src/XF/Mvc/Dispatcher.php at line 47
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2316
    XF\App->run() in src/XF.php at line 488
    XF::runApp() in install/index.php at line 14
 

Mike

XenForo developer
Staff member
As it stands, do a "traditional" upgrade by FTP'ing the files. It looks like there may be a situation where if there are some new files in place while other files are from the older version, this can happen.
 

rosal

Active member
Done, worked.

To trace maybe this error log can help.

Code:
    ErrorException: Fatal Error: Method XF\Widget\WidgetRenderer::__toString() must not throw an exception, caught Error: Class 'Emojione\Client' not found src/XF/Template/Templater.php:0

    Generated by: admin Jan 28, 2021 at 3:52 PM

Stack trace

#0 [internal function]: XF::handleFatalError()
#1 {main}

Request state

array(4) {
  ["url"] => string(23) "/index.php"
  ["referrer"] => string(48) "https://www.domain.com/index.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

drastic

Well-known member
getting problems upgrading too.

doing manual upload and it's taking forever because my ftp wouldn't support uploading the zip and extracting it. time for a new ftp, because coreFTP just isn't it for me...
 

whynot

Well-known member
getting problems upgrading too.

doing manual upload and it's taking forever because my ftp wouldn't support uploading the zip and extracting it. time for a new ftp, because coreFTP just isn't it for me...
Without a new ftp:
#1 Extract the zip file on your computer and upload it with your ftp.
or
#2 Upload the zip file with your ftp and unzip it on the server.
 

drastic

Well-known member
I'm stuck at a blank screen.

Host unzipped the upgrade files and we're sitting at this still.

nothing works... can't do anything in my admin panel either...
 

Attachments

  • Screenshot_6.jpg
    Screenshot_6.jpg
    21.8 KB · Views: 7

rosal

Active member
getting problems upgrading too.

doing manual upload and it's taking forever because my ftp wouldn't support uploading the zip and extracting it. time for a new ftp, because coreFTP just isn't it for me...
I download the last version from Customer area extracted the files and sended via FTP to overwritten the old files, after that www.domain.com/install.
I use Filezilla.
 

drastic

Well-known member
I'm stuck at a blank screen.

Host unzipped the upgrade files and we're sitting at this still.

nothing works...

I can't even do anythin
How did you upload it?
With your ftp or from your host's control panel? (cPanel?)

ftp. then it failed, so I sent the zip over to my host and they uploaded it. Now we're just stuck... I have host taking a look and put in a support ticket here too. Had same issue on last upgrade. Never had a problem all these years until last two versions, so gonna have to dig and see what caused it. Might be a server setting that's off or something, who knows...
 

drastic

Well-known member
turned out to be a ton of permission settings, but the screen wouldn't show me the error unless I refreshed a ton of times.

So if anyone gets the blank screen, hit that f5 a few times and your error might show up, then you can make permission setting adjustments as needed.

For some reason, they were previously set, but then not set... just annoying, but looks like we're making progress now.
 
Top