Page edit is munged
Permalink
I have a page in my 5.4.1 C5 site that is hosed when I enter edit mode. Instead of the popup field, my page goes to another page, without any formatting and fields missing, etc. It's like something has become corrupt.
This is the ONLY page in the site that does this. Any suggestions on where to troubleshoot?
This is the ONLY page in the site that does this. Any suggestions on where to troubleshoot?
No, I'm talking about the standard field that pops up when you edit a block on a page. When I try to either add a new block, or edit an existing block on this particular page, the browser goes to
index.php/tools/required/edit_block_popup.php?cID=66&bID=95&arHandle=Main&isGlobal=0&btask=edit
but ONLY for this particular page, leading me to believe something is corrupt in the database.
I just tried adding a new page, re-creating the original page. Everything is fine until I add an "Extended Form"(add-on) block. Looks like that's the culprit. Prior to adding that block, I could edit the page with no problems.
I'll try re-installing that add-on and see what happens.
index.php/tools/required/edit_block_popup.php?cID=66&bID=95&arHandle=Main&isGlobal=0&btask=edit
but ONLY for this particular page, leading me to believe something is corrupt in the database.
I just tried adding a new page, re-creating the original page. Everything is fine until I add an "Extended Form"(add-on) block. Looks like that's the culprit. Prior to adding that block, I could edit the page with no problems.
I'll try re-installing that add-on and see what happens.
Re-installing didn't do the trick. Just re-installed, getting same result.
I'm going to dig into the database to see if there are any entries in there with strange settings.
I'm going to dig into the database to see if there are any entries in there with strange settings.
If I delete the extended form from the page, the page is editable once again.
Sounds like an issue with that particular add-on, in which case you should contact the developer through the support link on that add-on's marketplace page.
-Steve
-Steve
Yep. I've gone back to the built-in form for now. Thanks.
Yes I had the same issue, replaced the extended form with simple & all was good again. Hopefully the dev can fix soon.
I have the Extended Form plugin too. The symptoms here resemble my problems in the past. Try copying root/updates/concrete5.4.1/concrete/js to root/concrete/js. This fixed it for me.
Is that going to break on the next upgrade?
I'm having similar issues. Definitely related to the Extended Form add-on.
I tried your advice edenxavier, only I'm hosting with C5 so I can;t put files in the concrete folder, but I put them at /root/js/ figuring it would do the same, but nothing was fixed.
Just to be sure, you're saying you copied the 5.4.1 files to the root? Or the other way around?
Grif
I tried your advice edenxavier, only I'm hosting with C5 so I can;t put files in the concrete folder, but I put them at /root/js/ figuring it would do the same, but nothing was fixed.
Just to be sure, you're saying you copied the 5.4.1 files to the root? Or the other way around?
Grif
@ invision: I'm not sure. Hopefully someone more experienced with the addon can chime in.
@ Grificonius: I did it exactly as I described. If you're interested, visit the addon's support area (and make sure you're logged in) and visit:
http://www.concrete5.org/marketplace/addons/extended-form/support/s...
I think the explanation there is much more better than mine.
@ Grificonius: I did it exactly as I described. If you're interested, visit the addon's support area (and make sure you're logged in) and visit:
http://www.concrete5.org/marketplace/addons/extended-form/support/s...
I think the explanation there is much more better than mine.
I fixed this by moving the core files to the root /js/ folder (not touching the core /concrete/js folder) AND replaced some absolute references in the Extended Form /blocks/extended_form/controller.php
Around line 57 I made a couple replacements which I've commented:
Hope this helps others who cannot edit their C5 core files due to hosting constraints.
Grif
Around line 57 I made a couple replacements which I've commented:
public function on_page_view() { $html = Loader::helper('html'); $this->addHeaderItem($html->javascript(DIR_REL.'/js/tiny_mce/tiny_mce.js'));// REPLACES $this->addHeaderItem($html->javascript(DIR_REL.'/concrete/js/tiny_mce/tiny_mce.js')); $this->addHeaderItem($html->javascript(DIR_REL.'/packages/extended_form/blocks/extended_form/attributes/scripts/jquery.tooltip.js')); $this->addHeaderItem($html->javascript(DIR_REL.'/packages/extended_form/blocks/extended_form/attributes/scripts/jquery.rating.js')); $this->addHeaderItem($html->javascript(DIR_REL.'/packages/extended_form/blocks/extended_form/attributes/scripts/form.js')); $this->addHeaderItem($html->javascript(DIR_REL.'/js/jquery.ui.js'));// REPLACES $this->addHeaderItem($html->javascript(DIR_REL.'/concrete/js/jquery.ui.js')); $this->addHeaderItem($html->css(DIR_REL.'/packages/extended_form/blocks/extended_form/attributes/styles/jquery.tooltip.css')); $this->addHeaderItem($html->css(DIR_REL.'/packages/extended_form/blocks/extended_form/attributes/styles/jquery.rating.css')); $this->addHeaderItem($html->css(DIR_REL.'/packages/extended_form/blocks/extended_form/attributes/styles/form.css')); $this->addHeaderItem($html->css(DIR_REL.'/concrete/css/jquery.ui.css')); $this->addHeaderItem($html->css(DIR_REL.'/concrete/css/ccm.calendar.css')); }
Hope this helps others who cannot edit their C5 core files due to hosting constraints.
Grif
Excellent double-whammy solution. :) I'd mark it as best answer if I could.
marked :)
http://www.concrete5.org/marketplace/addons/popup/...