Trying to upgrade from 3.0.3.2/PHP7 to 3.0.3.9/PHP8 is causing me headaches (see my other posts) so I made a fresh install from the OC 3.0.3.9 download in my localhost (Ubuntu in WSL2).
I moved the storage dir, renamed the admin dir, set the paths correctly in the two config.php and all seemed OK but, of course I have no products, just the demo site.
In admin, I tried to restore the database from a file previously backed up from 3.0.3.2, but this failed with localhost saying "internal server error".
Now the shop site says "/var/www/html/system/library/log.php on line 22Error: A theme has not been assigned to this store!"
The admin page returns "This page isn’t working, localhost is currently unable to handle this request.
HTTP ERROR 500"
So the site is completely broken.
How do I get my products into a fresh install?
Can I even do this?
Do I first need to make a fresh 3.0.3.2, restore the db and then upgrade?
I moved the storage dir, renamed the admin dir, set the paths correctly in the two config.php and all seemed OK but, of course I have no products, just the demo site.
In admin, I tried to restore the database from a file previously backed up from 3.0.3.2, but this failed with localhost saying "internal server error".
Now the shop site says "/var/www/html/system/library/log.php on line 22Error: A theme has not been assigned to this store!"
The admin page returns "This page isn’t working, localhost is currently unable to handle this request.
HTTP ERROR 500"
So the site is completely broken.
How do I get my products into a fresh install?
Can I even do this?
Do I first need to make a fresh 3.0.3.2, restore the db and then upgrade?
Last edited by crosland on Thu Nov 02, 2023 3:30 am, edited 2 times in total.
You could use the Export/Import tool to port your product data to your new OpenCart 3.0.3.9 server. See also our FAQ.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Thanks for responding, but that's exactly what I did. The problem was that I forgot to drop the database for the demo site, before importing, in the new installation.JNeuhoff wrote: ↑Thu Nov 02, 2023 1:43 amYou could use the Export/Import tool to port your product data to your new OpenCart 3.0.3.9 server. See also our FAQ.
Now, it's almost working, but I am seeing a LOT of warnings on the shop pages and in the error log:
Code: Select all
2023-11-01 17:39:32 - PHP Unknown: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/system/engine/action.php on line 65
Code: Select all
$class = 'Controller' . preg_replace('/[^a-zA-Z0-9]/', '', $this->route);
Who is online
Users browsing this forum: No registered users and 6 guests