Problem installing shoutbox.

Started by LaurensK, September 14, 2009, 09:06:34 AM

Previous topic - Next topic

LaurensK

Version running: SMF 1.1.10

I've installed numerous mods on IP but somehow this modification for SMF keeps giving me problems. I followed the instructions on how and what I had to add/edit for this mod to work. However, each time I try to load the site I get the same problem over and over;

Parse error: syntax error, unexpected T_BOOLEAN_AND in /xxx/xxx/index.php on line 180


I looked into the file and it turned out to be one of the edits that's causing the problem

// Track forum statistics and hits...?
      if (!empty($modSettings['hitStats']))
      && (empty($_REQUEST['action']) || $_REQUEST['action'] != 'shoutbox')
         trackStats(array('hits' => '+'));
   }

"&& (empty($_REQUEST['action']) || $_REQUEST['action'] != 'shoutbox')" is on line 180. I copied the complete code from the parsed installationguide and do not understand what's causing this to happen. I've double checked, even started all over with a "fresh" copy of the index.php file but to no avail. What's the problem and how can I fix it?

N3RVE

Please, see the support topic for the mod.


-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

Advertisement: