boiteasite / cmsuno

An easy and clever tool to create one-page responsive websites
27 stars 8 forks source link

cmsuno 1.6 - Update Button not working #20

Open francwalter opened 2 years ago

francwalter commented 2 years ago

Hello in the settings (uno.php) there is the Button 'Check for update' at the bottom. Click I it, then the little spinning wheel in the top middle (wait.gif, left of the 'Page' Link) begins to spin and will never stop. No update made. I wanted to update to 1.7.4 but dont know how now. Is there a file based way to update? Just copy some files or so? Thanks for a hint. frank

CMS Uno 1.6 on Ubuntu 18.04 with PHP 7.4

boiteasite commented 2 years ago

Hi,

CDN base URL has changed from cdn.rawgit.com to cdn.jsdelivr.net. cdn.rawgit.com is no longer available. Two way to restore updates :

  1. Update manually by dowloading the last version (1.7.4+).

  2. Change the URL manually and update by clicking the button "Check for update". Edit /uno/central.php, line ~9,

Replace $Urawgit = "https://cdn.rawgit.com/boiteasite/cmsuno/";

By $Urawgit = "https://cdn.jsdelivr.net/gh/boiteasite/cmsuno@";

Regards

francwalter commented 2 years ago

Thank you very much (mesi anpil)! Worked charmingly 😄

One last question: 1. Update manually: how do I do this? Just move the new files (apart from password.php and /data/ to the old uno?