View Full Version : Instructions to Replicate and replace a page
Big Kahuna
11-27-2016, 08:25 PM
About a month or so ago, I was editing the page
http://www.moparstyle.com/forums/index.php
and it got hosed. At first I could get into the page edit and try to modify the module (html), but I'd get an error message when I tried to save th module.
After upgrading to 5.25 now when I edit the page I can't drag a new module into position, move and existing one, or edit an existing module.
I have no problem editing any other page, so I assume the record for the page must be hosed. I've tried repairing the database and it has no effect.
Do I need to delete the old and create a new page? If so what would the exact steps be?
shimei
11-27-2016, 09:02 PM
So you can't save in Sitebuilder. And Sitebuilder no longer operates correctly? And this is only on the index page? I have seen these errors before.
Are you using Tapatalk, the reason I ask this here, there, and everywhere (Dr. Suess) is because I have seen these types of errors from the Tapatalk plugin. They just recently released an update fixing these issues in 1.1.4.
I'd disable all products and hooks, and try using Sitebuilder again, just to be sure it is not an error caused by a 3rd party product.
Enjoy,
William
Big Kahuna
11-27-2016, 09:44 PM
Nope, never heard of Tapatalk in all honesty, and I've not installed a single addon. When this happened, I'd done quite a few edits to adjust the page without any other change to VB and the server.
I'd just added OpenX (whatever they're called now) code in a html module, and realize i'd not centered it. I went back to surround with <center> and it wouldn't save.
noypiscripter
11-28-2016, 06:57 PM
Disable the PHP, HTML and Ad modules rendering option in AdminCP temporarily.
AdminCP > Settings > Options > General Settings > Disable PHP, Static HTML, and Ad Module rendering > No
Big Kahuna
11-29-2016, 09:24 PM
Disable the PHP, HTML and Ad modules rendering option in AdminCP temporarily.
AdminCP > Settings > Options > General Settings > Disable PHP, Static HTML, and Ad Module rendering > No
and then what?
--------------- Added 1480462584 at 1480462584 ---------------
Ok Thanks,
I was able to modify when turned off, but it appears to be a temporary fix, as when I turn back on - the changes do take effect - but I have to turn off again to make any further changes. Is there a permanent fix?
Replicant
11-29-2016, 09:58 PM
More than likely, there is an extra tag or unclosed tag in your code that is interfering with site-builder. If you want to post the code so we can look at it to find the issue or by pm if you want to keep the code private.
Big Kahuna
11-29-2016, 11:50 PM
What I did was just click on Edit Page, drag a HTML widget onto the page, pasted some OpenX code into it, and saved. Then when I realized I didn't center, I Edit Page again and surrounded with <center> code, and got hosed when I saved.
So, that's the long way of saying that I'm not sure of if you're talking about the HTML code in the Widget, or if there's code to the entire page you'd like to look at?
Replicant
11-30-2016, 02:26 AM
The code in the widget.
noypiscripter
11-30-2016, 03:29 PM
You have to make sure that the HTML code in the HTML module has:
1. no mismatched/unclosed tags
Did you close the <center> tags with </center>? Btw, center tags are already deprecated (although browsers may still render them properly. You can use vB5's predefined utility CSS class h-align-center to center elements.
<div class="h-align-center">
content here
</div>
or
<div style="text-align: center;">
content here
</div>
2. no doctype, <html>, <head>, <body> tags. Otherwise, you will have duplicates as the page already has them and you will get unexpected browser behavior.
Big Kahuna
12-03-2016, 01:48 PM
I just deleted all of mt HTML widgets and recreated, and that solved it.
Thanks to both for pointing me in the right direction. Tried to click thanks on both, but says I have to give others thanks first.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.