Parse Error

Hey Guys! ... I installed the Profile Privacy from www.expertzzz.com and i am recieving this error:

 

Parse error: syntax error, unexpected $end in C:\wamp\www\inc\design.inc.php on line 1373

I was wondering if anyone could help me out and maybe get this problem sorted ! If you need any additional code then i would be happy enough to send it through mail or by email Smile Thanks.

Quote · 26 Jul 2008

Can you open the script and show me the line it is referring too. Syntax Error is usually a coding typo:) $end

Quote · 26 Jul 2008

I think this is the code surrounding line 1373:

 

 

);

      $ret .= ($needDrop1 ? ' ... ' : '');

      for( $p = $paginFrom; $p <= $paginTo; $p++ )

            $ret .= genPageSwitcher( $p, $pagesUrl, $pagesOnclick, ($page == $p) );

      $ret .= ($needDrop2 ? ' ... ' : '');

      $ret .= genPageSwitcher( $pagesNum, $pagesUrl, $pagesOnclick, ($page == $pagesNum) );

      if( $page < $pagesNum )

            $ret .= genPageSwitcher( ( $page + 1 ), $pagesUrl, $pagesOnclick, false, '&gt;&gt;', _t('_Next page') );

     

      $ret .= '</div>';

      return $ret;

}

Quote · 26 Jul 2008

 

I think this is the code surrounding line 1373:

 

 

);

      $ret .= ($needDrop1 ? ' ... ' : '');

      for( $p = $paginFrom; $p <= $paginTo; $p++ )

            $ret .= genPageSwitcher( $p, $pagesUrl, $pagesOnclick, ($page == $p) );

      $ret .= ($needDrop2 ? ' ... ' : '');

      $ret .= genPageSwitcher( $pagesNum, $pagesUrl, $pagesOnclick, ($page == $pagesNum) );

      if( $page < $pagesNum )

            $ret .= genPageSwitcher( ( $page + 1 ), $pagesUrl, $pagesOnclick, false, '&gt;&gt;', _t('_Next page') );

     

      $ret .= '</div>';

      return $ret;

}

 

I say no because I don't see any "end" statements which is what it's saying unexpected end on line 1373.

Quote · 26 Jul 2008

If it helps you I could send you the full file through email or mail if that would help you find out line 1373?

Quote · 26 Jul 2008

Mail the designer, he will help you...

I have 4 mods of him working and must say perfect support.

I have to install this mod next day's so I will see ob I get this error to...

Kids first
Quote · 27 Jul 2008

Yeah, I did get in contact with the installer and he said he would look into it and see if there was anything wrong but have been waiting for at least a month..Just wondering if anyone knew of the error so I wouldnt have be waiting much longer...Thanks anyway Laughing

Quote · 27 Jul 2008

Which version of Dolphin are you using? Reviewing the script nothing seems out of place.

 

Try long tag over short tag

I.e <?php vs <? this directive is in you PHP.INI file.

Quote · 27 Jul 2008
 
 
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.