Lsepolis123 Posted October 20, 2023 Share Posted October 20, 2023 I have an old Presta shop e-shop Presta Shop™ 1.6.0.9 - What is the minimum PHP version for this? What is the minimum/maximum MySQL version for this? My VPS Server is old and needs to migrate to a new Alma Linux 8.x server.... min PHP 7.2... well...? For now, I just needed to make it work... later may consider changing/migrating to the new Presta Shop™ version... that is supported... Link to comment Share on other sites More sharing options...
Lsepolis123 Posted October 20, 2023 Author Share Posted October 20, 2023 (edited) I am getting errors such as: Uncaught Error: [] operator not supported for strings in /home/xyz123/public_html/shop/classes/db/DbQuery.php:70 Here is line 70: { if (!empty($table)) $this->query['from'][] = '`'._DB_PREFIX_.$table.'`'.($alias ? ' '.$alias : ''); return $this; } my hosting company support says: Hello, The lowest PHP version that can be used is PHP 7.2 with AlmaLinux 8. Here is the error for https://xyxz.zyxzyx/shop: To fix it, you would need to change the code as the php 7.1+ requires you to set the array first before the element variable. Your option is to update your site code to be compatible with php 7.2. Upgrade your prestashop. Or have cloudlinux installed for the server and use php 7.0. I believe the cost for cloudlinux is $25 a month. It does look like the source server uses cloudlinux. >>> Is there any temporary easy solution, for these errors? <<< === Edited October 20, 2023 by Lsepolis123 (see edit history) Link to comment Share on other sites More sharing options...
ps8modules Posted October 20, 2023 Share Posted October 20, 2023 (edited) Hi. PrestaShop 1.6.0.x PHP version 5.2 - 5.5 ========== PrestaShop 1.6.1.x PHP version 5.2 - 7.1 Edited October 20, 2023 by ps8moduly.cz (see edit history) Link to comment Share on other sites More sharing options...
Lsepolis123 Posted October 20, 2023 Author Share Posted October 20, 2023 can you provide, URLs of guides, how-to install fresh Presta-Shop newest version, on PHP8.2/MySQL8.0, And migrate all content from 1.6.0.9...? Link to comment Share on other sites More sharing options...
Lsepolis123 Posted October 20, 2023 Author Share Posted October 20, 2023 Do you recommend installing Presta-Shop from cPanel? About this ^, auto-updates, do you recommend setting minor auto updates but major not auto? Link to comment Share on other sites More sharing options...
Lsepolis123 Posted October 20, 2023 Author Share Posted October 20, 2023 the e-shop is about selling Printed old b & w photographs and also some new photographs color, about Cyprus, Europe... Link to comment Share on other sites More sharing options...
ps8modules Posted October 20, 2023 Share Posted October 20, 2023 There is a section for that here https://www.prestashop.com/forums/forum/115-upgrading-prestashop-from-a-previous-version/ Embarking on such an upgrade yourself is not reasonable without more experience and knowledge of Prestashop. You may lose all your data and it cannot be recovered. The most reasonable thing is to install a stable version of Prestashop and then transfer data to it. This requires a lot of custom scripts, as databases and tables have big differences between versions. Link to comment Share on other sites More sharing options...
Lsepolis123 Posted October 20, 2023 Author Share Posted October 20, 2023 Your last suggestion is best for me Installing the newest version And migrating data from ancient version 1.6.0.9 to newest version. I am full stack PHP web developer Do you recommend installing Presta-Shop from cPanel? Or by downloading zip file? About this ^ in cPanel, about auto-updates, do you recommend setting yes minor auto updates but No major not auto? If not, what you recommend? About installing Prestashop 1.6.0.9 in PHP 7.0-7.1 locally, xampp, as my centos7.9 VPS server is going to be retired, and plan migrate to Alma Linux 8.x all websites min php 7.2-7.3… well, is possible to install xampp with php 5.6-7.1… in a spare PC Windows 10? Currently, …, How? In case, prior let my old centos7.9 gone, I have to plan ahead and do all my backups locally and my prestashop product exports? Also, I can download current website eshop 1.6.0.9 prestashop the old version in an old PC and run localhost, in case need it for anything… is it good idea? Link to comment Share on other sites More sharing options...
ps8modules Posted October 20, 2023 Share Posted October 20, 2023 It will definitely be better to download the zip and install it yourself. Be sure to make a backup and make sure that all files are downloaded. If possible, zip everything on the server and then download the zip archive. Also be careful with the database, there may be triggers and the like. Xampp must be properly configured. Link to comment Share on other sites More sharing options...
Lsepolis123 Posted October 21, 2023 Author Share Posted October 21, 2023 The plugins purchased for 1.6.0.9 should work with the fresh new installation in...? same domain... XAMPP with PHP 7.1, should find a legacy old XAMPP installation file... ? what EXPORTS/backups in CSV, XLSX, or SQL file formats, HAVE TO BE TAKEN From the current ancient/old installation of 1.6.0.9...? Link to comment Share on other sites More sharing options...
ps8modules Posted October 21, 2023 Share Posted October 21, 2023 Break it down step by step on several pages. You already found the upgrade module in this thread a few years ago: You need to realize that you can lose all your data by upgrading yourself and in the end you can spend much more money than for the module. Link to comment Share on other sites More sharing options...
Lsepolis123 Posted October 21, 2023 Author Share Posted October 21, 2023 SAYING PLUGINS, I do not mean migration plugins but like Social Login, ETC PURCHASED LONG AGO Plugins, FOR use in the e-shop... NOT for migration... well???? The plugins purchased for 1.6.0.9should work with the fresh new installation in...? same domain... XAMPP with PHP 7.1, should find a legacy old XAMPP installation file...? what EXPORTS/backups in CSV, XLSX, or SQL file formats, HAVE TO BE TAKEN From the current ancient/old installation of 1.6.0.9...? Link to comment Share on other sites More sharing options...
ps8modules Posted October 21, 2023 Share Posted October 21, 2023 Plugins for Prestashop 1.6 will not work if your module developer does not support it. You have to check that for yourself. Are you asking me what to export and how? As I wrote to you, the tutorial would be several pages long. Everything is already answered for you in the forum, just search. If you don't think you can handle this migration task, hire a developer who will ensure and guarantee the success of the migration. Link to comment Share on other sites More sharing options...
Lsepolis123 Posted October 21, 2023 Author Share Posted October 21, 2023 okay, If plugins/modules are upgraded by their developer, for newer Prestashop versions, then can the license be reused and, not need to pay another license, correct? If this job is assigned to a Prestashop developer for the migration task only, rates about payment, how much are about? e.g. 150-500US$...? Link to comment Share on other sites More sharing options...
ps8modules Posted October 21, 2023 Share Posted October 21, 2023 If the plugins will be installed on the same domain, no new license is needed, because they are licensed for the domain name. You estimated the price of the works correctly. It depends on the number of orders, customers, addresses, products, combinations. Link to comment Share on other sites More sharing options...
ps8modules Posted October 21, 2023 Share Posted October 21, 2023 If someone is going to do that, you can't copy one database to another. It is necessary to make a complete ftp, database backup. Then use a script to create XML with baskets, customers, addresses, etc. And only then import data from XML into the new version of PS. You also have to think about the fact that one omission in the configuration can mean that the customer does not log in to the new e-shop, etc. There are many pitfalls. Link to comment Share on other sites More sharing options...
TiaNex Shopping Posted October 24, 2023 Share Posted October 24, 2023 it seems you add $this->query['from'] = []; will solve your problem Link to comment Share on other sites More sharing options...
Lsepolis123 Posted November 6, 2023 Author Share Posted November 6, 2023 1 PrestaShop™ 1.6.0.9 in PHP 7.1 GIVE ERROR But in PHP 7.0.33 no errors, so is it fully working in 7.0.33...? == 2 About plugin/modules like mcrypt INSTALLATION, in Linux or Windows https://community.apachefriends.org/f/viewtopic.php?f=16&t=83441&p=280554#p280554 try these are OK >>>>>>>> ?https://www.google.com/search?q=install+mcrypt+LAMP+ubuntu&oq=install+mcrypt+LAMP+ubuntuhttps://webhostinggeeks.com/howto/how-to-install-mcrypt-extension-on-ubuntu/https://www.google.com/search?q=install+mcrypt+lamp+windows+10https://community.magento.com/t5/Installing-Magento-2-x/How-can-install-mcrypt-in-xampp-for-windows-10/td-p/90003https://copyprogramming.com/howto/download-and-install-the-php-mcrypt-extension-under-windows-10 Link to comment Share on other sites More sharing options...
Lsepolis123 Posted November 7, 2023 Author Share Posted November 7, 2023 Can you tell errors like [PrestaShop™ 1.6.0.9 / PHP 7.0.33]: Server Error 500 Can be caused by missing plugin installations like the mcrypt PHP7.0.33 module? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now