PDA

View Full Version : Facebook widget code messing up the page


ComoEstaEso-com
02-19-2013, 12:10 AM
Hello everyone,

Everything was running fine on my forum.
I decided to add a facebook widget with the latest posts to a certain layout.
When I did this, various "code" lines appear on the top of the page... and then the page loads fine.
Below a screen shot of the facebook widget inserted into this layout, on the right.
You can see the "code" lines on top.
143846

To fix, I have to remove the facebook widget, clear the system cache vB CP --> Maintenance --> Clear System Cache
Then reload the page.

After that is done, all is good.
Below a screenshot of the page with everything working as it should.
143847


The odd thing is, that his happens only on a page where I'm running a javascript.
I have been running the facebook widget in question in the same forum, yet in pages with a different layout, and without the javascript.
It works fine.

I don't know if it's the javascript that's messing up the code, or what.

Here's part of the "code" that's coming up:

Warning: unserialize() [function.unserialize]: Function spl_autoload_call() hasn't defined the class it was called for in [path]/vb/cache/db.php on line 151

Warning: unserialize() [function.unserialize]: Function spl_autoload_call() hasn't defined the class it was called for in [path]/vb/cache/db.php on line 151

Warning: unserialize() [function.unserialize]: Function spl_autoload_call() hasn't defined the class it was called for in [path]/vb/cache/db.php on line 151

Warning: unserialize() [function.unserialize]: Function spl_autoload_call() hasn't defined the class it was called for in [path]/vb/cache/db.php on line 151

Any thoughts on what I can do to fix this?
What could I check to try and narrow down the error?

Thank you very much!

Lynne
02-19-2013, 02:51 AM
Questions/Problems regarding modifications/styles need to be asked in the modification/style thread. That is where the support for modification/style is - not out here in the main forums. Please note that if a modification/style is unsupported (or even if it says it is supported), you may be on your own if you chose to install it.

ComoEstaEso-com
02-20-2013, 12:16 AM
Hello Lynne,
Thanks for the reply!

Well, thing is, I removed all modification which I installed for this.

I still have mods running in the forums, yet since these errors started coming up, I have removed all changes/mods I did.

So right now the forum is running pre-errors.

Any thoughts on... what to check?
Thanks... I'm just stumped on this.

I clear the cache, and the error goes away.
Then during the day, it comes back.
Both to me, and visitors.
From different machines, and different ISPs.

Thanks

ForceHSS
02-20-2013, 01:35 AM
Have you also removed all the files from the FTP for all custom plugins as you still seem to have some customs things running

Lynne
02-20-2013, 01:50 AM
Did you make sure to actually delete the widget from the vBulletin CMS > Widgets page before you uninstalled the modification? If you didn't, then the widget may still be in the database.

ComoEstaEso-com
02-23-2013, 12:58 PM
Sorry for the late replies guys... I haven't seen the "Reply to Thread" eMail notifications in my Inbox.

I will update in a few minutes.
We haven't had more problems in the last few days... I'm going to give it another go.

Will update ASAP.
Thanks!