WebsiteBaker Community Forum

WebsiteBaker Support (2.13.x) => General Help & Support => Topic started by: crnogorac081 on December 03, 2022, 03:46:50 PM

Title: error in migration
Post by: crnogorac081 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 ?
Title: Re: error in migration
Post by: crnogorac081 on December 03, 2022, 04:04:34 PM
Its the latest 2.13.2 133 from repo
Title: Re: error in migration
Post by: hgs 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)
Title: Re: error in migration
Post by: crnogorac081 on December 03, 2022, 05:52:43 PM
I will try that but its weird that files are there but still it shows error
Title: Re: error in migration
Post by: dbs 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.