Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. Nothing to do with PHP 8. Those functions go way, way back. Native functions have existed and were alternatives since PHP 5.2.0.... safe to use json_encode() and json_decode() in modules that need to be backwards compatible with 1.7.
  3. @ComGrafPL I've had success upgrading a theme easily from 1.7 to 8.... out of interest why do you think a complete new theme would be required? Is there anything in particular to look out for that would require a complete replacement? I guess for the inexperienced that's the only option and maybe that's what you mean. Tools::jsonEncode() and Tools::jsonDecode() account for the majority of incompatibilities in modules and even this shouldn't actually be a thing..... It appears that there's no penalty (or audit) when a module is sold on the Addons store, but relies on code that has been flagged as deprecated. In fact writing modules that way ensures additional income when a new version comes out and the deprecations are finally removed. "Compatible with" <> "written for" a particular version. In fact NO 1.7.x module ever sold should use these functions. 1.7.0 was released in November 2016. It does keep many of us employed though, picking up the pieces It's far too easy to criticise the core developers and the 1-click module... /** * @deprecated Deprecated since 1.7.0 * Use json_decode instead * jsonDecode convert json string to php array / object * * @param string $data * @param bool $assoc (since 1.4.2.4) if true, convert to associativ array * * @return array */ public static function jsonDecode($data, $assoc = false, $depth = 512, $options = 0) { return json_decode($data, $assoc, $depth, $options); } /** * @deprecated Deprecated since 1.7.0 * Use json_encode instead * Convert an array to json string * * @param array $data * * @return string json */ public static function jsonEncode($data, $options = 0, $depth = 512) { return json_encode($data, $options, $depth); }
  4. Bonjour, Je ne trouve plus cette fonctionnalité sur la dernière version de Prestashop. Quelqu'un saurait me dire où elle est passée ?
  5. @Thomahawk there is no step by step guide to do these jobs, you need knowledge of prestashop, you need knowledge of php, you need knowledge of databases and you need to be able to solve every problem that arises If you are not capable of doing all this, it is better not to start updating work but to rely on a professional. This scheme applies to any manual "professional" upgrade without using the 1-click-upgrade module steps 1) install the new 8.x version from scratch with default theme and default modules. 2) you have to take the site you need to update offline, because you need the database to be stopped 3) take table by table and compare them properly and see if they are identical or if something changes, if something changes you have to align the table of the old version with that of 8.x. 4) after you have aligned the table of the old version, export the data and then load them into the 8.x table 5) repeat the same process for all tables 6) needless to say that you have to do very scrupulous work on the tables because if you make mistakes you will only have wasted time. 7) when you have finished with all the tables you will have the new 8.x site working with all the data. 8.) now you can install the updated modules for 8.x and the theme for the 8.x version that's all Good work
  6. Today
  7. https://drive.google.com/file/d/1H49CamGJZDnu9o3qxuPElTCB4J3NBdKH/view?usp=drivesdk
  8. Dans la 26 vous pourrez contrôler le contenu de vos overrides directement en BO
  9. Better install clean 8.1 and migrate the data. Either way, probably you will need to use new theme from start.
  10. unfortunate no one gave a complete step by step for manual upgrade without 1-click-upgrade, because 1-click fails every time, stuck at "now upgrading database..."
  11. Ciao, non ho capito cosa devi fare. M.
  12. Ciao, si sono lo ziobudda di Drupal. Potresti provare ad aumentare il tempo di esecuzione del PHP. MAgari portalo a 600 (secondi) che sono 10minuti. Ovviamente è solo per testare il tutto, poi va riportato sicuramente a 30 massimo 60. M.
  13. Je suis chez nuxit, je vais essayer de faire la mise a jour Manuellement. Merci Eolia
  14. 1.7.8.11 läuft aber ebenfalls nicht unter PHP 8 und neuer daher versuche ich das update auf 8.1 auch hier versagt das 1-click-upgrade, wieder genau gleich mit "now upgrade database..." und nichts geht mehr. Fehler: [INTERNAL] websiteURL/vendor/prestashop/autoload/src/LegacyClassLoader.php line 175 - TypeError: Return value of PrestaShop\Autoload\LegacyClassLoader::loadClassCache() must be of the type array, bool returned #0 websiteURL/vendor/prestashop/autoload/src/PrestashopAutoload.php(36): PrestaShop\Autoload\LegacyClassLoader->loadClassCache() #1 websiteURL/vendor/prestashop/autoload/src/Autoloader.php(77): PrestaShop\Autoload\PrestashopAutoload->PrestaShop\Autoload\{closure}() #2 [internal function]: PrestaShop\Autoload\Autoloader->load('Tools') #3 websiteURL/config/config.inc.php(83): spl_autoload_call('Tools') #4 websiteURL/modules/autoupgrade/classes/UpgradeContainer.php(576): require_once('/home/zugergra/...') #5 websiteURL/modules/autoupgrade/classes/TaskRunner/AbstractTask.php(120): PrestaShop\Module\AutoUpgrade\UpgradeContainer->initPrestaShopCore() #6 websiteURL/modules/autoupgrade/classes/TaskRunner/Upgrade/UpgradeDb.php(82): PrestaShop\Module\AutoUpgrade\TaskRunner\AbstractTask->init() #7 websiteURL/redaktion/autoupgrade/ajax-upgradetab.php(52): PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade\UpgradeDb->init() #8 {main}
  15. Hola, Prestashop 1.7.8.11 Tuve que instalar una copia de seguridad y el frente funciona, pero la dirección del backoffice no, que estaba marcada en el navegador, ni siquiera se abre, ¿creo que debería ser la misma que antes? /Backoffice/index.php?controller=AdminLogin&token=391a89bc9b29ab454c2b3d1c60b6c3e8 ¿Cómo puedo recuperar la dirección de la oficina administrativa? Intenté hacer una copia de seguridad una semana antes del proveedor de servicios, pero tiene el mismo problema. Borré el caché en todos los navegadores pero no ayuda. ¿Cloudflare podría tener algo que ver con esto? ¡Cualquier ayuda es apreciada!
  16. Io ho dovuto impostare la modalità "Utilizza la funziona PHP..." Il problema è che manda le mail solo agli utenti che non hanno una mail di google. Se l'utente ha una mail Google mi torna il messaggio "Undelivered Mail Returned to Sender" A tutti gli altri arriva regolarmente.
  17. Prestashop 8 wasn't such a huge leap to be honest (it was more to mark a new "era" for Prestashop) and your payment modules *should* work just fine if they have been properly written and maintained. You can always check with the author for updates. You might need to update your theme to support the new password policy (if your theme is remotely based on the classic theme then it could be a minor change for you by merging changes from the new classic theme. I would recommend using a tool like WinMerge to assist in updating a theme). It is also very much worth setting up a local staging environment and then doing the upgrade to test, of course! Changelogs https://devdocs.prestashop-project.org/8/modules/core-updates/8.0/ https://devdocs.prestashop-project.org/8/modules/core-updates/8.1/ New password policy https://github.com/PrestaShop/PrestaShop/pull/28127/ EDIT: You also need to check that any third-party modules you are using in your store support php8+ as well as PS8+. It should be fairly easy for module authors to upgrade compatibility.
  18. Vous êtes chez OVH et vous avez sans doute une grosse table. Vu qu'ils limitent le time_out à 165 sec c'est compliqué. Là il faut faire un upgrade à la mano en exécutant les fichiers /install/upgrade/sql/1.6.2.24.sql/1.6.2.25.sql directement en BDD (en les scindant en plusieurs parties si nécessaire) puis les supprimer de ce répertoire et lancer l'upgrade depuis le répertoire.
  19. Nienete da fare, non mi manda più le mail quando fanno un ordine. Ma cosa cavolo fanno i tecnici?
  20. Hello, De mon coté je peux pas passer a la version 1.6.2.25 j'ai une erreur 504 sur la mise a jour de la base de données j'ai essayé avec le PHP 7.4 et php 7.2
  21. Buongiorno a tutti, vi vorrei chiedere un aiuto sulla possibilità di gestire gli ordini del magazzino in base alle quantità giornaliere disponibili del singolo prodotto, in modo che ogni giorno la quantità massima ritorni uguale e scali con le vendite quotidianamente senza superare il limita massimo giornaliero. Potreste darmi qualche consiglio su come fare o se esiste qualche modulo disponibile? Grazie.
  22. Hello everyone, Let's say I want to sell business cards. I'm looking for a way for users to input their information into a form, and have all these changes instantly reflected on the business card template they've selected. Once a user decides to purchase the product, all the data must be stored so that I can print it. I've attached a mock-up for a better understanding. Is this functionality available out of the box with the latest version of PrestaShop? If not, are there any modules that would accommodate this scenario?
  23. It would be a great blessing to have screenshots of what you say.
  24. Merci Eolia, vous avez raison, c'est à cause d'override AuthController.php, 😊 mes problème viennent toujours des overrides. Bonne journée
  25. Bonjour, Je n'ai plus de support actif et souhaite juste obtenir le nom du hook pour l'intégration en widget, si jamais quelqu'un ici a déjà été amené à exploiter cette fonction.
  1. Load more activity
×
×
  • Create New...