I just installed Advanced Blog on my Drupal 6 installation and the following has shown up any time I attempt to view any page on my druapal site.

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /homepages/39/d181757499/htdocs/church/content/modules/advanced_blog/advanced_blog.module on line 497

CommentFileSizeAuthor
#3 advanced_blog-1033308.patch918 bytesteliseo

Comments

salijackt’s picture

Title: Syntax Error on line 297 » Syntax Error on line 497
salijackt’s picture

Version: 6.x-1.x-dev » 6.x-1.0-beta3
teliseo’s picture

Priority: Critical » Normal
Status: Active » Needs review
StatusFileSize
new918 bytes

You’re using ancient PHP (< 5). Since Drupal 6 is supposed to work with PHP 4.4, I’ve attached a patch to fix this (and another bug that incorrectly replaces a link title when used with links, due to the == comparison).