[SOLVED] Upgrading from 3.0.3.8 to 4.0.1.1
Posted: Sat Sep 24, 2022 1:58 am
Hello all,
I recently upgraded my store from 2.0.1.1 to 3.0.3.8 and everything went as swimmingly as it could have. I need the store to be compliant with PHP8 so unfortunately I now need to take the store to 4.x so I have chosen to just take it to 4.0.1.1.
The upgrade itself was 'successful', but then the problems started popping up one by one. First off the CSS for the admin side of things is completely fubared (everything seems to be pushed left), and my store no longer recognizes previous admin accounts. I checked to make sure I had DB connection, which I do, and so I created a new admin account via PHPMyAdmin and was able to login with the new account, but the old ones still don't work.
Another thing to note is when I login with the new account I am prompted with a JSON redirect, but the page doesn't actually redirect me. I just copied the link in the JSON and it took me to my dashboard where I managed to move my storage folder, and rename my admin folder but now any of the options inside the admin panel all give me the same error:
I noticed via the GitHub issues that this was supposedly fixed already, by forcing a type of (int) of the controllers in the admin folder, but when I made the changes to just one to see if it works I am now prompted with the following error:
All of my problems currently seem to stemming from the admin panel because the site works otherwise, I can even force my custom theme to load but everything just redirects to the homepage because none of my modules / extensions are activated currently.
Anybody have any ideas? Or some guidance on how to proceed? Let me know if you require anything else, thanks!
Couple of images of the CSS issues for you guys:
https://ibb.co/YkSJL6k
https://ibb.co/pdtvFxH
I recently upgraded my store from 2.0.1.1 to 3.0.3.8 and everything went as swimmingly as it could have. I need the store to be compliant with PHP8 so unfortunately I now need to take the store to 4.x so I have chosen to just take it to 4.0.1.1.
The upgrade itself was 'successful', but then the problems started popping up one by one. First off the CSS for the admin side of things is completely fubared (everything seems to be pushed left), and my store no longer recognizes previous admin accounts. I checked to make sure I had DB connection, which I do, and so I created a new admin account via PHPMyAdmin and was able to login with the new account, but the old ones still don't work.
Another thing to note is when I login with the new account I am prompted with a JSON redirect, but the page doesn't actually redirect me. I just copied the link in the JSON and it took me to my dashboard where I managed to move my storage folder, and rename my admin folder but now any of the options inside the admin panel all give me the same error:
Code: Select all
TypeError: Unsupported operand types: string * int
Code: Select all
DivisionByZeroError: Division by zero
Anybody have any ideas? Or some guidance on how to proceed? Let me know if you require anything else, thanks!
Couple of images of the CSS issues for you guys:
https://ibb.co/YkSJL6k
https://ibb.co/pdtvFxH