content on pages duplicated on 3.0.5

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
rreptile
Registered User
Posts: 166
Joined: Wed Oct 06, 2004 12:51 pm
Location: Canada

content on pages duplicated on 3.0.5

Post by rreptile »

I installed phpBB3 3.0.4 earlier this year. Here are the problems that I encountered then because of php settings on the host server:
style and time not showing on 3.0.4
Captcha image not showing

Recently, the host server settings were upgraded. The styles, time and captcha image in 3.0.4 showed up correctly. I decided to upgrade to 3.0.5.

The styles, time and captcha image in 3.0.5 showed up correctly. Twice. (At least the captch image DID show up twice. Now it doesn't show at all because I have disabled registration - I think)

In order to do anything at all for installation and after installation, in the admin panel, all styles must be disabled because only the second version of the page (with forms) will work. The second version of the page is cut off on the right side so that anything from the middle of the page to the right is invisible (including submit buttons).

For posting, the styles can be enabled but the second version of the page must be filled in.

Has anyone else seen this before and if so, does anyone know how to fix it? (Without switching to a paid host....)


(I hope that made sense.)

board's URL: llizard.cwahi.net/phpbb3
Version of phpBB3: 3.0.5
fresh install after failing to update 3.0.4 (error messages)
uploaded AND chmodded via FTP
MODs installed: none
When the problem started: immediately
webhost: free
level of expertise (be honest): just enough to get in trouble
Last edited by Pit$Bull on Thu Oct 15, 2009 8:52 pm, edited 1 time in total.
Reason: Topic icon changed
- Reactionary (So... have you backed up your files lately? This is even more important if you're staying with phpBB2)
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: content on pages duplicated on 3.0.5

Post by RMcGirr83 »

rreptile wrote: webhost: free
How did you "update"?
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
rreptile
Registered User
Posts: 166
Joined: Wed Oct 06, 2004 12:51 pm
Location: Canada

Re: content on pages duplicated on 3.0.5

Post by rreptile »

RMcGirr83 wrote:How did you "update"?
I used (or thought I did) the update instructions on phpBB. When these failed, I deleted all files and installed everything from scratch. I did not bother trying to use the existing database and started a new one.
- Reactionary (So... have you backed up your files lately? This is even more important if you're staying with phpBB2)
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53413
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: content on pages duplicated on 3.0.5

Post by Brf »

Your page has a bunch of junk coming up before the HTML headers:

Code: Select all

<!-- Start Quantcast tag -->
<script type="text/javascript">
_qoptions={
qacct:"p-ef5r5fFc32Lmo"
};
</script>
<script type="text/javascript" src="http://edge.quantserve.com/quant.js"></script>
<noscript>
<a href="http://www.quantcast.com/p-ef5r5fFc32Lmo" target="_blank"><img src="http://pixel.quantserve.com/pixel/p-ef5r5fFc32Lmo.gif" style="display: none;" border="0" height="1" width="1" alt="Quantcast"/></a>
</noscript>
<!-- End Quantcast tag -->
<!-- Start of StatCounter Code -->
<script type="text/javascript">
var sc_project=4037539; 
var sc_invisible=1; 
var sc_partition=31; 
var sc_click_stat=1; 
var sc_security="67a4631e"; 
var sc_remove_link=1; 
</script>
<script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script><noscript><div class="statcounter"><img class="statcounter" src="http://c.statcounter.com/4037539/0/67a4631e/1/" /></div></noscript>
<!-- End of StatCounter Code -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>

<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-438725-2");
pageTracker._setDomainName(".cwahi.net");
pageTracker._trackPageview();
</script>
<!DOCTYPE html 
rreptile
Registered User
Posts: 166
Joined: Wed Oct 06, 2004 12:51 pm
Location: Canada

Re: content on pages duplicated on 3.0.5

Post by rreptile »

Brf wrote:Your page has a bunch of junk coming up before the HTML headers:

Code: Select all

<!-- Start Quantcast tag -->
<script type="text/javascript">
_qoptions={
qacct:"p-ef5r5fFc32Lmo"
};
</script>

[...snip...]
 
Yes, this is something that is added by the webhost. It should not be affecting the way that the pages load. The quantcast coding was not an issue with 3.0.4.

However, the webhost technicians are working at resolving this and the duplication is getting fixed. (I hope.)

------------
I still think that phpBB3 is on the unwieldy side and much prefer the no-longer supported phpBB2
- Reactionary (So... have you backed up your files lately? This is even more important if you're staying with phpBB2)
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53413
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: content on pages duplicated on 3.0.5

Post by Brf »

You can't put content before the header that way. It screws up the cookie.

I have seen this happen on other hosts too, where the host is injecting code, and it causes the page-content to be displayed twice.
rreptile
Registered User
Posts: 166
Joined: Wed Oct 06, 2004 12:51 pm
Location: Canada

Re: content on pages duplicated on 3.0.5

Post by rreptile »

Brf wrote:You can't put content before the header that way.
Thank you for your reply. Yes, you are right. My webhost is working on resolving this so that the quantcast code will NOT be inserted where it should not go.
- Reactionary (So... have you backed up your files lately? This is even more important if you're staying with phpBB2)
Locked

Return to “[3.0.x] Support Forum”