Author Topic: error in migration  (Read 241 times)

Offline crnogorac081

  • Posts: 2079
  • Gender: Male
error in migration
« on: December 03, 2022, 03:46:50 PM »
Hello,

after migration from portable to live server I have this error and site is blank. Php version is set to 8.1

Code: [Select]
[03-Dec-2022 14:33:23 UTC] PHP Fatal error:  Uncaught Error: Interface "src\Interfaces\Registry" not found in /home2/xxx/public_html/framework/WbAdaptor.php:40
Stack trace:
#0 /home2/xxx/public_html/framework/CoreAutoloader.php(105): include()
#1 /home2/xxx/public_html/framework/initialize.php(386): bin\CoreAutoloader::autoLoad('bin\\WbAdaptor')
#2 /home2/xxx/public_html/config.php(20): require('/home2/promorjv...')
#3 /home2/xxx/public_html/index.php(36): require('/home2/promorjv...')
#4 {main}
  thrown in /home2/xxx/public_html/framework/WbAdaptor.php on line 40

what could be the problem ?
Web developer

Offline crnogorac081

  • Posts: 2079
  • Gender: Male
Re: error in migration
« Reply #1 on: December 03, 2022, 04:04:34 PM »
Its the latest 2.13.2 133 from repo
Web developer

Offline hgs

  • Betatester
  • **
  • Posts: 1687
    • EFG MG
Re: error in migration
« Reply #2 on: December 03, 2022, 04:28:42 PM »
Did you copy everything from the USB stick to the server?

I would try the following.
1. reinstall WB 2.13.2 with php8.1
2. DB dump from the stick to the DB server
3. install all modules that are not included on the server
4. pages folder from stick to server
5. media folder from stick to the server
6. in the backend via the i-button "Rebuild Pages Access Files".

I hope I have not forgotten anything.
Good luck

Translated with www.DeepL.com/Translator (free version)
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

Offline crnogorac081

  • Posts: 2079
  • Gender: Male
Re: error in migration
« Reply #3 on: December 03, 2022, 05:52:43 PM »
I will try that but its weird that files are there but still it shows error
Web developer

Offline dbs

  • Betatester
  • **
  • Posts: 8777
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: error in migration
« Reply #4 on: December 03, 2022, 08:02:14 PM »
Hope you load up a zip file of all portable WB files to the server, not file for file.