Before asking for help please read "How to request help" by clicking on that tab above here.

TOPIC: [SOLVED] Upgrade from 2.0.0-beta.4 to beta.5 blank page

Upgrade from 2.0.0-beta.4 to beta.5 blank page 2 weeks 1 day ago #1

  • jprause
  • jprause's Avatar
  • Online
  • Junior
  • Posts: 140
I upgraded fro beta.4 to beta.5 by FTP replacing all files.
After this webtrees shows blank page.
The error is

Warning: Uncaught ErrorException: require(routes/web.php): failed to open stream: No such file or directory in /hosting/www/jprodina.cz/test/app/Http/Middleware/RequestRouter.php:49 Stack trace: #0 /hosting/www/jprodina.cz/test/app/Http/Middleware/RequestRouter.php(49): Fisharebest\Webtrees\Webtrees::Fisharebest\Webtrees\{closure}(2, 'require(routes/...', '/hosting/www/jp...', 49, Array) #1 /hosting/www/jprodina.cz/test/app/Http/Middleware/RequestRouter.php(49): require() #2 /hosting/www/jprodina.cz/test/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\RequestRouter->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #3 /hosting/www/jprodina.cz/test/app/Module/HitCountFooterModule.php(141): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #4 /hosting/www/jprodina.cz/test/app/Http/Middleware/ModuleMiddleware.php(70): Fisharebest\Webtrees\Module\HitCountFooterModule->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) in /hosting/www/jprodina.cz/test/app/Http/Middleware/RequestRouter.php on line 49

Fatal error: Fisharebest\Webtrees\Http\Middleware\RequestRouter::process(): Failed opening required 'routes/web.php' (include_path='.:/usr/local/php72/pear') in /hosting/www/jprodina.cz/test/app/Http/Middleware/RequestRouter.php on line 49

Please help, thanks.
Josef

local desktop:-- webtrees 1.7.14, PHP version 7.2.19, MySQL 5.7.25, Apache2 2.4.29, Linux Ubuntu 18.04 64bit
webhosting:-- webtrees 1.7.14, PHP version 7.2.19, MySQL 5.7.21
testing webtrees 2.0.0-beta.3
The administrator has disabled public write access.

Upgrade from 2.0.0-beta.4 to beta.5 blank page 2 weeks 1 day ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11741
The error message suggests that you have a mix of files from beta.4 and beta.5

For example, this file does not exist in beta.5.

> app/Http/Middleware/RequestRouter.php(49)


Try copying all the files again.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Upgrade from 2.0.0-beta.4 to beta.5 blank page 2 weeks 1 day ago #3

  • jprause
  • jprause's Avatar
  • Online
  • Junior
  • Posts: 140
After copying all files again the webtrees test.jprodina.cz/index.php?route=%2Ftree%2Ftree1# shows like there were no formatting, see picture:
Attachments:
Josef

local desktop:-- webtrees 1.7.14, PHP version 7.2.19, MySQL 5.7.25, Apache2 2.4.29, Linux Ubuntu 18.04 64bit
webhosting:-- webtrees 1.7.14, PHP version 7.2.19, MySQL 5.7.21
testing webtrees 2.0.0-beta.3
The administrator has disabled public write access.

Upgrade from 2.0.0-beta.4 to beta.5 blank page 2 weeks 1 day ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11741
In the file data/config.ini.php, you need a line
base_url="https://test.jprodina.cz"
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Upgrade from 2.0.0-beta.4 to beta.5 blank page 2 weeks 1 day ago #5

  • jprause
  • jprause's Avatar
  • Online
  • Junior
  • Posts: 140
With this line in config.ini.php it gives - see picture:
Attachments:
Josef

local desktop:-- webtrees 1.7.14, PHP version 7.2.19, MySQL 5.7.25, Apache2 2.4.29, Linux Ubuntu 18.04 64bit
webhosting:-- webtrees 1.7.14, PHP version 7.2.19, MySQL 5.7.21
testing webtrees 2.0.0-beta.3
The administrator has disabled public write access.

Upgrade from 2.0.0-beta.4 to beta.5 blank page 2 weeks 1 day ago #6

  • jprause
  • jprause's Avatar
  • Online
  • Junior
  • Posts: 140
Sorry, my mistake:
instead of
base_url="https://test.jprodina.cz"
recommended by you I used
base_url="https://test.jprodina.cz/"
with the slash at the end.
Now it is OK.
Thank you.
Josef

local desktop:-- webtrees 1.7.14, PHP version 7.2.19, MySQL 5.7.25, Apache2 2.4.29, Linux Ubuntu 18.04 64bit
webhosting:-- webtrees 1.7.14, PHP version 7.2.19, MySQL 5.7.21
testing webtrees 2.0.0-beta.3
The administrator has disabled public write access.

[SOLVED] Upgrade from 2.0.0-beta.4 to beta.5 blank page 2 weeks 1 day ago #7

  • jprause
  • jprause's Avatar
  • Online
  • Junior
  • Posts: 140
Problem solved.
Josef

local desktop:-- webtrees 1.7.14, PHP version 7.2.19, MySQL 5.7.25, Apache2 2.4.29, Linux Ubuntu 18.04 64bit
webhosting:-- webtrees 1.7.14, PHP version 7.2.19, MySQL 5.7.21
testing webtrees 2.0.0-beta.3
The administrator has disabled public write access.
Powered by Kunena Forum