miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Specific miniBB Support Forums / Specific /  
 

Search page => blank after submitting...

 
Author panatan
Partaker
#1 | Posted: 15 Mar 2009 15:55 
Hi all !

I've got a little problem when i'm using search form page.

After submitting, only a blank page is appearing...

I can see code page (html) but nothing else...

You can see it here => http://www.clipdeco.com/forums/index.php?action=search

What is wrong with it ?

Could you help me ?

Thanks a lot.

Author Paul
Lead Developer 
#2 | Posted: 16 Mar 2009 03:25 
It may be related to your JavaScript code which terminates loading of the page. If you load the page in Mozilla Firefox, then open Tools -> Error Console, you will see there is A LOT of JS errors which miniBB is not related to.

Author panatan
Partaker
#3 | Posted: 16 Mar 2009 04:21 
Hi Paul !!!

In fact my minibb is original...

I've few add-ons but nothing else had been changed...

I don't understand how (search) Js could be changed...

What can i do, maybe charge a new original file via ftp ?

Author Paul
Lead Developer 
#4 | Posted: 16 Mar 2009 05:31 
I have no ideas actually. First you would try to remove Google JS code and see what happens.

It may be also related to some other routine which I am not possible to determine without debugging. Definitely it's related to your custom header and functions, because in default version as you might see, it works.

Author kuopassa
Partaker
#5 | Posted: 16 Mar 2009 06:59 
I recommend to delete this block of code from the JS area to see if it would fix it:

function hideElement(elementId) {
var element, sign;
if (document.all) element = document.all[elementId];
else if (document.getElementById) element = document.getElementById(elementId);
if (element && element.style) element.style.display = 'none';
modes[elementId]=0;
sign=elementId+'Sign';
document.getElementById(sign).innerHTML='[+] ';
}

That block of code has the element.style.display = 'none'; which might be the reason why nothing is visible in that page.

Author Paul
Lead Developer 
#6 | Posted: 16 Mar 2009 07:27 
If you remove such block of code, the search won't work at all :-)

The conflict obviously appears between Google JS code and miniBB's code somewhere. If you look in Error console, it reports a critical error "elem is null" and a lot of Google adsense security errors. But Google content also displays the same errors not just on the search page, they appear everywhere on your forums where this code is installed. It means it could be installed improperly, so the first step is to verify what's wrong with that code. Because it all works in default miniBB version, and if you check on our demo, there is also Google adsense installed - still, it works on Search. Because it's installed properly ;-)

Author panatan
Partaker
#7 | Posted: 16 Mar 2009 15:07 
Same problem without Google ads...

Author Paul
Lead Developer 
#8 | Posted: 17 Mar 2009 03:26 
I would recommend just to try everything with default main_header.html template first. If it will work, then something in your header causing the problem.

As to repeat for the 3rd time, it works in default version, so if it doesn't work on your side, something on your side is the problem.

Author panatan
Partaker
#9 | Posted: 19 Mar 2009 13:14 
I would like to apply a special class to the whole page.
To do that i've placed a <div> before first <table> in main_header.html file.

And, I don't know why but, minibb didn't like that...

I've removed it, i've apply special class to <body> and now it works fine...

Specific miniBB Support Forums / Specific /
 Search page => blank after submitting...
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑