Forums
First issue
After updating from 2.5 to 2.6 my site was working, but not loading css. The problem is that you must have left hardcoded paths to the development service:
link rel="stylesheet" media="all" href="http://opigno-d8:8080/main.css"
script src="http://opigno-d8:8080/vendor.js"
script src="http://opigno-d8:8080/main.js"
And since I'm using HTTPS those files cannot be loaded.
Second issue
While installing 2.6 from scratch, there are errors due to missing directories:
The directory public://media-icons/generic does not exist. An automated attempt to create this directory failed, possibly due to a permissions problem. To proceed with the installation, either create the directory and modify its permissions manually or ensure that the installer has the permissions to create it automatically. For more information, see INSTALL.txt or the online handbook.
Writable (public download method)
The directory sites/default/files does not exist. An automated attempt to create this directory failed, possibly due to a permissions problem. To proceed with the installation, either create the directory and modify its permissions manually or ensure that the installer has the permissions to create it automatically. For more information, see INSTALL.txt or the online handbook.
Private file system path not set
Your uploaded files are not fully protected because you did not set a Private File Directory. You need to set an existing local file system path for storing private files. It should be writable by Drupal and not accessible over the web. This must be changed in settings.php. More info: https://opigno.atlassian.net/wiki/spaces/OUM20/pages/743636993/Enable+p…
Hi, 5okrates.
Nikolay, thank you for your
Hi 5okrated
Hi 5okrated
For point 1, can you try to go to Platon settings (/admin/appearance/settings/platon)
and then to check the option "Enable BrowserSync support for theme" (at the bottom of the interface), then save, then disable this option, and then save again.
This should flush caches.
In reply to Hi 5okrated by axel
Worked.
In reply to Hi 5okrated by axel
Worked
One more minor bug
Thanks for the feedback, and
Thanks for the feedback, and happy that it solved your issue.
We will investigate why this cache problem occurs for theme, and how we could avoid it during upgrades.
@5okrates: I can reproduce the issue with the title that you mentioned. It gives an error that the title is too long, but it's not too long, so it's another issue, we have to further investigate. We will keep you updated.
Hi 5okrates,
Hi 5okrates,
Issue with title of activities will be fixed in the next version of Opigno.
Here is a patch if you want to fix it in the meantime: https://www.opigno.org/opigno_activity_encode_issue.patch
First issue solution
if (theme_get_setting('browser_sync', 'platon')) { $page['#attached']['library'][] = 'platon/global'; }
Replace "platon/global_dev" with "platon/global" and refresh the page. It will sort out the issue. "global_dev" option contains some static css & js paths, which wont available in our environments. "global_dev" is defined in "platon.libraries.yml"