Thread: Major Additions - PhotoPlog: The Pro Gallery
View Single Post
  #259  
Old 31 Mar 2018, 14:26
aeternitasster aeternitasster is offline
 
Join Date: May 2012
I've installed it on vBulletin 4.2.5 and followed the instructions, everything works okay up until the upload. The upload page comes up, I add a file, the description, etc., but when I try to upload this error comes up:

syntax error, unexpected 'new' (T_NEW) on line 29 in /home/domain/forums.domain.net/photoplog/ratebit.php
#0 {main}

Line 29 of ratebit.php :
$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());

Any ideas?

edit: Nevermind, it's fixed. Same problem as with the vb link directory. If anyone else has this problem and uses PHP 7, it can be corrected by removing the class assignment operator - the ‘&’ - which is no longer supported.

Last edited by aeternitasster; 01 Apr 2018 at 04:27.
Reply With Quote