Quote:
Originally Posted by Eric
vB 4 no longer uses =& new for it's classes. It's not even necessary in PHP 5/5.3
So that line should be changed to
PHP Code:
$bbcode_parser = new vB_BbCodeParser($vbulletin, fetch_tag_list());
This line should be changed as well
PHP Code:
$pdf =& new Cezpdf(('A4'));
to
PHP Code:
$pdf = new Cezpdf(('A4'));
|
Quote:
Originally Posted by BaziCenter
This is an old vB code.
So in PHP5 it is safe to use '=' instead of '=&' which new vB codes do.
And for the " ereg_replace() is deprecated" warning try using the preg_replace() instead.
Anyway thanks for your quick reply.
|
Thank you both for your input i will get this changed asap and get new files uploaded by the end of the day.