Vous n'êtes pas identifié(e).
13 février 2024 Sortie de Dotclear 2.29
Pages : 1
This happened to me once before (link to previous thread: https://forum.dotclear.org/viewtopic.php?id=48574 ) - but the root cause is not the same this time.
After upgrading DotClear today to 2.11.1, I can't seem to edit previous entries that were composed using the XHTML editor (the Excerpt and Content boxes are just missing).
I can create new entries, but when I switch to XHTML editing, the boxes disappear again.
Any ideas what I should do?
Hors ligne
I tried reverting to backup, now my whole site is down. Pages are failing with
<b>Fatal error</b>: Uncaught Error: Call to undefined method context::global_filters() in /homepages/5/d196903873/htdocs/ATOMIC/cache/cbtpl/0e/f7/0ef79225e742a8b91f5e3cff1d8e77a8.php:2
Stack trace:
#0 /homepages/5/d196903873/htdocs/ATOMIC/inc/libs/clearbricks/template/class.template.php(268): include()
#1 /homepages/5/d196903873/htdocs/ATOMIC/inc/public/class.dc.template.php(231): template->getData('post.html')
#2 /homepages/5/d196903873/htdocs/ATOMIC/inc/public/lib.urlhandlers.php(122): dcTemplate->getData('post.html')
#3 /homepages/5/d196903873/htdocs/ATOMIC/inc/public/lib.urlhandlers.php(523): dcUrlHandlers::serveDocument('post.html')
#4 /homepages/5/d196903873/htdocs/ATOMIC/inc/libs/clearbricks/url.handler/class.url.handler.php(166): dcUrlHandlers::post('2016/12/23/Deco...')
#5 /homepages/5/d196903873/htdocs/ATOMIC/inc/public/lib.urlhandlers.php(187): urlHandler->callHandler('post', '2016/12/23/Deco...')
#6 /homepages/5/d196903873/htdocs/ATOMIC/inc/public/prepend.php(161): dcUrlHandlers->getDocument()
#7 /homepages/5/d196903 in <b>/homepages/5/d196903873/htdocs/ATOMIC/cache/cbtpl/0e/f7/0ef79225e742a8b91f5e3cff1d8e77a8.php</b> on line <b>2</b><br />
Hors ligne
Thanks - I did that, now I'm getting a message about a missing plugin:
Class 'dcSpamFilter' not found in /homepages/5/d196903873/htdocs/ATOMIC/plugins/accessibleCaptcha/class.dc.filter.accessible.captcha.php on line 20
I had been deactivating some of my plugins to see if that was related problem. I can't even log into the admin URL now.
Hors ligne
Phew! thanks - that worked - so I can get back into the admin folder and the site is working again now.
I'm back at the previous version now though (2.10 I think) - and not sure how to proceed from here...
Hors ligne
Actually it is recommended to clear the browser cache and the template cache folder after having upgrading Dotclear.
It may help, before reverting to the previous version, to try with another browser.
Dotclear addicted since 2004
Hors ligne
Thanks - I should have tried that before panicking and reverting back to backup.
Now if I try the 2.11.1 upgrade, it says I need to do a manual update:
The following files of your Dotclear installation have been modified so we won't try to update your installation. Please try to update manually .
admin/js/ie7/IE7.js
admin/js/ie7/IE8.js
admin/js/ie7/IE9.js
admin/js/ie7/blank.gif
admin/js/ie7/ie7-hashchange.js
admin/js/ie7/ie7-recalc.js
admin/js/ie7/ie7-squish.js
admin/js/dragsort-tablerows.js
admin/js/jquery/jquery.modal.js
admin/js/tool-man/dragsort.js
admin/js/tool-man/core.js
admin/js/tool-man/drag.js
admin/js/tool-man/coordinates.js
admin/js/tool-man/events.js
admin/js/tool-man/css.js
admin/js/tool-man/cookies.js
admin/style/modal/modal.css
admin/style/modal/loader.gif
admin/style/modal/close.png
admin/style/iesucks.css
plugins/tags/js/jquery.autocomplete.js
Hors ligne
You may bypass this message by installing the Fake Me Up plugin (http://plugins.dotaddict.org/dc2/details/fakemeup) and doing again the update.
Dotclear addicted since 2004
Hors ligne
Thanks so much for your help. I'm back at 2.11.1 now, but also, I'm back with no functioning XHTML editor. I tried clearing the browser cache (and a different browser that has never visited the admin pages before) and I cleared the template cache, but the content and excerpt boxes are missing
Hors ligne
I just tried switching editors - if I change the preferred editor for XHTML to dcLegacyEditor or dcACEditor, I can edit XHTML, but if I set it to dcCKEditor, the edit boxes are missing.
Hors ligne
OK... I might be getting somewhere now. When I inspect the source for the editor page where the XHTML text boxes are missing, I see the following markup:
<textarea cols="50" rows="5" name="post_excerpt" id="post_excerpt" style="visibility: hidden;" class="hide">…</textarea>
If I understand this correctly, the CSS is hiding the text area, but I don't know why, or how to change this.
Hors ligne
Just let me add this important setting as your original request started with " XHTML Editor not working after upgrade ... when I switch to XHTML editing, the boxes disappear again".
Before you upgrade, you need to make sure that
1. in config.php. line 38, have set the correct directory otherwise XHTML editor will be empty
// Admin URL. You need to set it for some features.
define('DC_ADMIN_URL','http://www.your domain.fr/your_blog/admin/');
or alternatively depends on in what order your blog is
// Admin URL. You need to set it for some features.
define('DC_ADMIN_URL','/../admin/');
2. Once in the upgraded dashboard, go to "Users" (left menu), click on your user name, and in "Preferred format": choose your editor.
3. And/or in "My preferences", go to "Edition" and choose your editor.
Dernière modification par ben_griffith (2017-01-05 03:50:22)
I ♥ Dotclear.
Hors ligne
I feel very stupid right now. I just tried accessing the admin interface from a different computer here at work and everything is fine.
Whatever was wrong at the end of last night must be an artifact of my browser cache (I did clear it down in the middle of the mess, but maybe should have done it again at the end), my browser version, or some other local or transient factor.
I am hugely grateful to Franck and Ben for the excellent assistance and support.
Hors ligne
It was something in my browser cache - even though I had cleared it and tried <Ctrl>refresh - the only thing that worked was to clear the cache back to 'the beginning of time' - now I have my text area back on this computer at home.
Hors ligne
Glad to hear that everything works now.
The browser cache is also important. Browsers like Firefox from Mozilla look only for changes in the style.css and don't compare other files of a webpage. Deleting the History (or deleting cache files physically) is the only chance to get content reloaded properly.
I ♥ Dotclear.
Hors ligne
Pages : 1
Vous n'êtes pas identifié(e).