-
-
5.0.22 is now available!
Just sent it to you, thank you.
-
-
5.0.22 is now available!
Hi @Matt I'm still stuck in limbo trying to upload a theme in 5.0.22, that uploaded fine in previous versions, it was built and exported from 5.0.18. I tried your suggestion to change the log data field to 'mediumtext' but I'm still getting an error page when I try to upload a theme and nothing is written to the log so I have no idea what the issue is. Sorry! The page you requested does not exist Error code: 1S160/2 The URL is : https://mysite.tech/admin/?app=core&module=customization&controller=themes&do=import&file=/tmp/IPSQNWa6t&key=ada8f6b31f754e2da8e5df20558b79e7&id=224&csrfKey=3fc77876408809efea6e8411e9813351&mr=1The only lines in the table are: which are related to me removing the broken theme before trying to upload it again and the filenames are images. Nothing else seems to be written when the upload shows the error page. There is nothing in my PHP log either. Also the support page encourages the table to be changed back to type 'text' from 'mediumtext', perhaps this could be addressed permanently if it is trying to write logs greater than 64KB when importing themes? Many thanks.
-
-
5.0.22 is now available!
@Stuart Further... I just checked another one of my themes which generated NO issues when installing it, and it has 105 theme settings (excluding the IPS settings), 2345 lines of CSS in custom.css editor, which when view live produces 870 lines of CSS in the browser. So that is much larger, yet it installs without issue.
-
5.0.22 is now available!
Thanks for the reply. Aside from removing a few blank lines and CSS comments, I can't realistically do that. I honestly don't understand what has changed to make this an issue, my themes had no problem in previous versions. Why would it log unnecessary code, especially when not in developer mode? I just checked and this particular theme has a total of 44 theme settings (excluding the default IPS settings). The total theme custom.CSS is 1078 lines in the editor, the actual generated CSS in the browser is only 373 lines because the theme settings toggle things on/off as needed. Whatever was changed to create this limitation, please can you revert it?
-
5.0.22 is now available!
Where do I go from here, please?
-
5.0.22 is now available!
Thanks Matt, I'll give it a try. Only 1 of my themes seemed to be showing any issue after re-uploading it. I ran the code in PHPMyAdmin and I noticed the Support page is showing a Database issue which I half expected: There are some problems with your database. Normally it is safe to try to fix these problems automatically however if your community is large, you may want to run the necessary queries manually. If so, the queries to run are: ALTER TABLE `core_file_logs` CHANGE COLUMN `log_data` `log_data` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL ;I deleted the only theme with apparent issues (works great on 5.0.18) and reuploaded it, and got the same error again before it completed properly. Sorry! The page you requested does not exist Error code: 1S160/2 The URL of page the error occurred on was https://xxx.tech/?app=core&module=system&controller=themeeditor&do=save Type: uncaught_exception INSERT INTO `core_file_logs` ( `log_action`, `log_type`, `log_configuration_id`, `log_method`, `log_filename`, `log_url`, `log_container`, `log_msg`, `log_date`, `log_data` ) VALUES ( 'delete', 'log', 1, 'FileSystem', '', NULL, 'css_built_218', 'container_deletion', 1795534305, '{"app":"core","module":"system","controller":"themeeditor","do":"save","csrfKey":"c0a4dc0eb1765eda7d225fad6c590350","light__i-primary":"hsl(220 85% 50%)","light__i-primary-relative-l":"33","light__i-secondary":"hsl(220 49% 13%)","light__i- .... IPS\Db\Exception: Data too long for column 'log_data' at row 1 (1406) #0 /home/invisionary/public_html/system/Db/Db.php(1010): IPS\Db->preparedQuery('/*invisionary_i...', Array) #1 /home/invisionary/public_html/system/File/File.php(1713): IPS\Db->insert('core_file_logs', Array) #2 /home/invisionary/public_html/system/File/FileSystem.php(464): IPS\File->log('container_delet...', 'delete', Array, 'log') #3 /home/invisionary/public_html/system/Theme/Theme.php(3680): IPS\File\FileSystem->deleteContainer('css_built_218') #4 /home/invisionary/public_html/applications/core/modules/front/system/themeeditor.php(324): IPS\Theme::deleteCompiledCss(NULL, NULL, NULL, NULL, 218) #5 /home/invisionary/public_html/system/Dispatcher/Controller.php(133): IPS\core\modules\front\system\themeeditor->save() #6 /home/invisionary/public_html/system/Dispatcher/Dispatcher.php(172): IPS\Dispatcher\Controller->execute() #7 /home/invisionary/public_html/index.php(16): IPS\Dispatcher->run() #8 {main} Backtrace #0 /home/xxx/public_html/init.php(831): IPS\Log::log('INSERT INTO `co...', 'uncaught_except...') #1 [internal function]: IPS\IPS::exceptionHandler(Object(IPS\Db\Exception)) #2 {main}
-
5.0.22 is now available!
I have uploaded 3 themes without issue into 5.0.22 but the most recent one I can't upload without getting an error page: Sorry! The page you requested does not exist Error code: 1S160/2 I've tried it twice, same thing. The theme is shown in the AdminCP when I look at it. Update: The theme appears to have uploaded okay. The URL of page the error occurred on was https://mysite.tech/?app=core&module=system&controller=themeeditor&do=save Type: uncaught_exception INSERT INTO `core_file_logs` ( `log_action`, `log_type`, `log_configuration_id`, `log_method`, `log_filename`, `log_url`, `log_container`, `log_msg`, `log_date`, `log_data` ) VALUES ( 'delete', 'log', 1, 'FileSystem', '', NULL, 'css_built_217', 'container_deletion', 1795530422, '{"app":"core","module":"system","controller":"themeeditor","do":"save","csrfKey":"c0a4dc0eb1765eda7d225fad6c590350","light__i-primary":"hsl(354 93% 22%)","light__i-primary-relative-l":"14","light__i-secondary":"hsl(0 100% 27%)","light__i-secondary-relative-l":"16","light__i-base":"oklch(calc(var(--light__i-base-l) * 1%) calc(var(--light__i-base-c) * 1%) var(--light__i-base-h))","light__i-base-l":"0","light__i-base-c":"100","light__i-base-h":"360","dark__i-primary":"hsl(354 93% 22%)","dark__i-primary-relative-l":"14","dark__i-secondary":"hsl(0 100% 27%)","dark__i-secondary-relative-l":"16","dark__i-base":"oklch(calc(var(--dark__i-base-l) * 1%) calc(var(--dark__i-base-c) * 1%) var(--dark__i-base-h))","dark__i-base-l":"0","dark__i-base-c":"0","dark_ ... blah.. blah... huge slab of text then ... IPS\Db\Exception: Data too long for column 'log_data' at row 1 (1406) #0 /home/invisionary/public_html/system/Db/Db.php(1010): IPS\Db->preparedQuery('/*invisionary_i...', Array) #1 /home/invisionary/public_html/system/File/File.php(1713): IPS\Db->insert('core_file_logs', Array) #2 /home/invisionary/public_html/system/File/FileSystem.php(464): IPS\File->log('container_delet...', 'delete', Array, 'log') #3 /home/invisionary/public_html/system/Theme/Theme.php(3680): IPS\File\FileSystem->deleteContainer('css_built_217') #4 /home/invisionary/public_html/applications/core/modules/front/system/themeeditor.php(324): IPS\Theme::deleteCompiledCss(NULL, NULL, NULL, NULL, 217) #5 /home/invisionary/public_html/system/Dispatcher/Controller.php(133): IPS\core\modules\front\system\themeeditor->save() #6 /home/invisionary/public_html/system/Dispatcher/Dispatcher.php(172): IPS\Dispatcher\Controller->execute() #7 /home/invisionary/public_html/index.php(16): IPS\Dispatcher->run() #8 {main}It looks like it is trying to store a massive log entry when uploading a theme as judging by the time codes of the log entries, the errors are also there for my first 3 themes I uploaded without issue.
-
-
5.0.22 is now available!
v5.0.22 of Invision Community fixes the issue with my broken themes! I have tested it and found in my case with my themes that you must remove the themes and then reinstall them for them to be fixed. Simply upgrading from 5.0.21 to 5.0.22 didn't fix the already existing broken theme. Once you have re-uploaded the theme, you can then go into Theme Settings and change things like your Header Background Image or Christmas Countdown Date without it breaking the theme when you save any changes. Many thanks to @Stuart and @Esther E. for fixing this!
-
The Old Man started following 5.0.22 is now available!
-
-
-
-
-
5.0.21 is now available!
Thanks Stuart, will do! Done!
-
5.0.21 is now available!
Well I installed the hotfix patch on top of 5.0.21 after taking backups and the as soon as I refreshed the front end, the theme was broken again. Upon closer initial investigation, it looks like the template logic/processing side of things in the theme's custom.css is no longer working and everything is being output as is (one big slab of css code), therefore breaking areas of the theme. I removed the theme, reinstalled the theme, refreshed the page and everything is looking okay. I examined the CSS and the template logic was working again and generated the correct background image for my header. I opened the theme settings to adjust the date of my Christmas Countdown timer, and as soon as I saved the change, the theme was broken again. All of the CSS was being output as the template logic had stopped working.
-
5.0.21 is now available!
Agreed, my theme customers are also reinstalling their themes which fixes their issues and as soon as they open the Theme Editor to make any changes via the Theme Settings, it corrupts the theme. Very frustrating. As mentioned, I don't know exactly when or with which release this issue was introduced, but they only started to report it after the recent update. My themes were last updated and built on 5.0.18 but one configured on my site I haven't needed to open Theme Settings to adjust anything, so can't say for sure. All I know is it is happening on my own live site which is running 5.0.21 without the extra patch, which I may as well now install since I'm experiencing issues anyway.
-
-
5.0.21 is now available!
Something very odd is occurring with custom themes installed in 5.0.21 and 5.1.0 beta 4 after entering Theme Editor. I checked a client's site and it looked like they somehow have no color set for their text logos which was causing it to be invisible. I just went into the Theme Editor on my own site and when I exited it without making any changes, it is now doing the exact same thing on my site. I also couldn't change the theme's header background image either. I think the recent 5.0.21 update has broken our themes and I am using it without the additional hotfix patch. I had to remove all my themes on my site, I then reinstalled a theme and it is working normally again. However when I open the Theme Editor, the background image changes by itself to a different image and the text logo color has gone, and when I exit without making any changes, it looks okay again. All very strange. I think it is a problem with the recent updates IPS have made in 5.0 and 5.1 of the software as custom themes worked fine in previous versions of the software. My themes were last updated on 5.0.18. I don't know if its the recent 5.0.21 update or a previous one, but I don't think the issue us related to the hotfix, as I have been holding off on that.
-
-
5.0.21 is now available!
Hi @Stuart Is there any further news or estimate on when a fix for the issue caused by the patch will be available? My theme customers are unaware of the issue and are starting to report issues with their background images not being displayed, so I'm assuming they have installed the patch. Many thanks.
-
-
5.0.21 is now available!
Thanks, I appreciate what you are saying. Respectfully IPS really need to fix this asap, as site owners can't be expected to have broken sites and not have any idea for how long. Hopefully they will address it with another 'hotfix patch' rather than waiting for the next stable release which could be weeks away. Theme resources not displaying as CSS background images was actually broken once before, but it took a while to get fixed. Hopefully they will fix it as a priority this time.
-
-
5.0.21 is now available!
Hi @Stuart To clarify, is it now safe to install the available patch now or is the current patch still causing the reported issue (with CSS background images apparently not working in 5.0.21)? As a theme demo/sales site, I'd prefer to not have broken images but also concerned about the security implications of not installing the patch. Many thanks.