__page_main_code__

Hi everyone, ok here is the issue i'm having,

everytime i log into my site i get      __page_main_code__ in the top left corner of the page just after i log in the page is loading, any advice pleas?

 

Cheers.

 

Charlie 

You Creature!!
Quote · 9 Jul 2012

It's obvious you have open code somewhere.

Your going to have to backtrack on the things you have changed recently.

Try using firebug to see where it is coming from. That is usually used like this.. hopefully you can find it.

 <td><div align="center">__page_main_code__</div></td>

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 9 Jul 2012

 

It's obvious you have open code somewhere.

Your going to have to backtrack on the things you have changed recently.

Try using firebug to see where it is coming from. That is usually used like this.. hopefully you can find it.

 <td><div align="center">__page_main_code__</div></td>

 cheers newton i have already tried using firebug to see where the __page_main_code__ text is coming from but as it happens when the page is loading when first sign into the site and then goes away once the page as loaded i cant seem to find where it is.

You Creature!!
Quote · 9 Jul 2012

the only place i can seem to find     __page_main_code__ is in /templates/base/page_1.html

You Creature!!
Quote · 9 Jul 2012

 

the only place i can seem to find     __page_main_code__ is in /templates/base/page_1.html

 That's used everywhere.

You say you see it and it goes away, I would think that is normal as that is calling the main page content.

Your loading the page and seeing that and then it's gone?

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 9 Jul 2012

i found out what it was, i used jtadeo's code to remove the 'please wait' loading message, but on doing this it made the _page_main_code_ appear in the top left corner, the code i used to get rid op the 'please wait' was:

 Open up the member.php page and look for the key "_Please Wait"

Comment out the line that contains it.

On or about line 687, look for this line:

$_page_cont[$_ni]['page_main_code'] = MsgBox( _t( '_Please Wait' ) );

and make it look like this:

//$_page_cont[$_ni]['page_main_code'] = MsgBox( _t( '_Please Wait' ) );

I just added two "//" in front of it to comment it out.

 

but for some strange reason on doing this it got rid of the 'please wait' but made _page_main_code appear

 

cheers.

 

Charlie 

You Creature!!
Quote · 9 Jul 2012

Instead of commenting it out try changing it.

From this.

$_page_cont[$_ni]['page_main_code'] = MsgBox( _t( '_Please Wait' ) );

To This.

$_page_cont[$_ni]['page_main_code'] = '';

https://www.deanbassett.com
Quote · 9 Jul 2012

 

Instead of commenting it out try changing it.

From this.

$_page_cont[$_ni]['page_main_code'] = MsgBox( _t( '_Please Wait' ) );

To This.

$_page_cont[$_ni]['page_main_code'] = '';

 Cheers deano, that worked a treat, now not only can i not see that dredded 'please wait' anymore but it's not showing _page_main_code either,

 

your the man deano cheers mate :)

 

Charlie 

You Creature!!
Quote · 9 Jul 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.