×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Errors appear on site when at least one comment is written

Errors appear on site when at least one comment is written 14 years 2 months ago #10286

  • Roeland Poulussen
  • Roeland Poulussen's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Hello!

Today I installed on a brand new Joomla 1.5.20 with PHP 5.3.2 the newest version of Compojoom.

Everything seemed normal, unless you enter one comment on an article.

Every page with comments show above the article the next errors:
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/g32632/markest1.nl/HTML/components/com_comment/classes/ubbcode/stringparser_bbcode.class.php on line 567
 
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/g32632/markest1.nl/HTML/components/com_comment/classes/ubbcode/stringparser_bbcode.class.php on line 1210
 
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/g32632/markest1.nl/HTML/components/com_comment/classes/ubbcode/stringparser_bbcode.class.php on line 1221
 
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/g32632/markest1.nl/HTML/components/com_comment/classes/ubbcode/stringparser_bbcode.class.php on line 1264
 
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/g32632/markest1.nl/HTML/components/com_comment/classes/ubbcode/stringparser_bbcode.class.php on line 1281
 
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/g32632/markest1.nl/HTML/components/com_comment/classes/ubbcode/stringparser_bbcode.class.php on line 1535
 
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/g32632/markest1.nl/HTML/components/com_comment/classes/ubbcode/stringparser.class.php on line 285
 
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/g32632/markest1.nl/HTML/components/com_comment/classes/ubbcode/stringparser.class.php on line 982
 
Deprecated: Function split() is deprecated in /var/www/g32632/markest1.nl/HTML/components/com_comment/joscomment/utils.php on line 256
I tried to google this problem, but this kind of errors should be solved with a new PHP version. No solution for me, because my PHP is newer than mentioned in those solutions.

Those errors disappear immediately after removing all the records out of my jos_comment table...

Joomla is clean installed earlier today, and only AllvideosReloaded and a Siteground J15-90 template are added.

Any ideas?

Errors appear on site when at least one comment is written 14 years 2 months ago #10287

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Do you have any configuration options for your php? For example can you access the ini file and disable the display of notices?
Here:
www.php.net/manual/en/language.references.php#93292
We'll have a lot of work to do since this was the way to code for php4.

Perhaps this here could help:
forum.joomla.org/viewtopic.php?f=38&t=197023

I think that you can use the hack in the post above as a temporary solution. This problem should not only occur with compojoomComment, but with a lot of other joomla components that have still not migrated to php 5.3

Daniel
  • Page:
  • 1
Time to create page: 0.105 seconds