News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Blank Pages

Started by tonywells82, June 20, 2012, 06:05:15 AM

Previous topic - Next topic

tonywells82

I was trying to install a mod.. now.. when I click on any of the forum topics now all the pages are totally blank (for Mozilla).

For IE all the pages have this error; The website cannot display the page

I did uninstall that mod now but it's still blank pages.

Error Log: [20-Jun-2012 09:26:24] PHP Parse error:  syntax error, unexpected T_BOOLEAN_AND in /home/tseatcc/public_html/smf/Sources/Display.php on line 1290

How do I fix this?? Any assistance would be greatly appreciated.
Tony
http://www.tseatc.com/smf/index.php

kat

Restore the backup you took, before installing the mod.

If you didn't backup (DOH!), you might be lucky...

http://www.simplemachines.org/community/index.php?topic=400356.0

tonywells82

No. Before this mod i didn't back up anything.

One of the guys there was helping me to install the Watermark mod also. I'm not sure if it was him or me who made this happen.

Tony

tonywells82

Its FIXED now.

Old Fossil was trying to help me install the Watermarks mod so he sent me the following instructions:

On your

Sources/Display template
Find
Code: [Select]

if (empty($modSettings['enableCompressedOutput']) || filesize($filename) > 4194304)

Replace with

Code: [Select]

if ((empty($modSettings['enableCompressedOutput']) && empty($modSettings['watermarkEnabled'])) || filesize($filename) > 4194304)

END

So I did that and that's what totally screwed it up. So just now I uploaded the Display Templet again and now its FANTASTIC.

Please note, I'm not blaming Old Fossil at all because he was only trying to help me and I do appreciate him and everyone else here who constantly helps me.

Tony

kat

All's well that ends well, Tony!

Glad it all worked-out, in the end! :)

Advertisement: