Sorry good folks, it took a few days extra to nail this release, but it was important to straighten out some core fundamental issues.
---
To those who want to download this release, send me a PM, and I will provide a secret link.
---
For those of you who already have an X3 in working order free from issues with file paths- and/or mod_rewrite, this may be an uninteresting release ... I would probably skip the update, unless you are curious about some of the details. This release basically caters to the many server issues new users were experiencing with permissions, paths, htaccess and mod_rewrite. Highlights of this release:
New 'check' page
https://www.photo.gallery/demo/x3/check/
Although this page looks almost identical to the previous /diag/ page (which is now removed), it has some new extensive features for checking what permissions are required to be set on your server, improved mod_rewrite testing, and suggestions about how to fix mod_rewrite on your server if it needs "rewriteBase" configuration. We have added this page as a compulsory check after uploading X3 to any website, and we have also added extensive documentation:
https://www.photo.gallery/x3docs/setup/check/
If you just want to grab the new check folder, get it below and just upload into your root x3 folder:
https://d.pr/f/1amkP
Non-rewrite option
We dug deep into the code, and have released an option to run X3 without mod_rewrite and without the .htaccess file. Although it is strongly recommended to use the rewrite feature, it is useful to be able to run X3 regardless of .htaccess and mod_rewrite, especially for those on troublesome server combos. Without mod rewrite, the only difference you will see visually, is that URLs will look like this:
Code
yourgallery/?/page/
Code
yourgallery/page/
Fixed Paths
Some of you were experiencing problems with incorrect paths regardless of mod_rewrite. This has now been fixed- and improved on a global level across all page, templates, scripts and assets.
Strict error reporting
Not a huge feature, but be aware that we have added stricter notifications- and error reporting globally into Imagevue now. It means you might get additional "notices" in your browser, but it may help us weed out further issues on some servers.
Slimmer Panel, assets from CDN
Changed panel to load majority of scripts and css from cdnjs.com for the benefit of speed, caching and flawed local server settings (example). Not only does this improve load speed, but it slims down the panel and makes updating easier.
Magic Quotes
Fixed magic quotes bug in panel
---
Updating
I will be adding some general instructions for this soon, but for now follow this basic rule. Upload and overwrite ALL files, EXCEPT the /content/ folder, which contains all your pages, content and settings. You may need to make a backup of your panel/config.php file also if you have set a login (which is likely).
---
Files changed:
Code
renamed: /diag -> /check
modified: .htaccess
modified: app/stacey.inc.php
modified: default.htaccess
modified: extensions/twig-extensions.inc.php
modified: extensions/twig.imagevue.inc.php
modified: index.php
deleted: panel/filemanager_assets/codemirror/
deleted: lots of assets in panel folder loaded from cdnjs.com instead
modified: panel/filemanager_core.php
modified: panel/filemanager_user/edit_file.php
modified: panel/filemanager_user/edit_img.php
modified: panel/filemanager_user/footer.php
modified: panel/filemanager_user/header.php
modified: panel/filemanager_user/login.php
modified: panel/filemanager_user_core.php
modified: panel/footer.php
modified: panel/header.php
modified: panel/install/index.php
modified: panel/install/install.php
modified: panel/install/update.php
modified: panel/login.php
modified: public/js/imagevue.min.js
modified: public/js/imagevue.min.jsgz
modified: templates/audio.json
modified: templates/default.html
modified: templates/diagnostics.html
modified: templates/feed.atom
modified: templates/json_feed.json
modified: templates/page.html
modified: templates/page.json
deleted: templates/partials/absolute.html
modified: templates/partials/feed/feed-loop.atom
modified: templates/partials/footer.html
deleted: templates/partials/functions/function.base-url.html
modified: templates/partials/head.html
modified: templates/partials/head.skin.html
modified: templates/partials/module.context.html
modified: templates/partials/module.folders.html
modified: templates/partials/module.gallery.html
modified: templates/partials/module.search.html
modified: templates/partials/nav/article-nav.html
modified: templates/partials/nav/header.html
modified: templates/partials/nav/root-menu.html
modified: templates/partials/sitemap/sitemap-url.xml
modified: templates/sitemap.xml