Hello, I am using Texy! module on PHP 5.3.2 and there are error messages:

Parameter 1 to texy_image_texy_settings() expected to be a reference, value given in file /var/www/klient.michaljanik.cz/includes/module.inc on line 483.

Parameter 1 to texy_texy_settings() expected to be a reference, value given in file /var/www/klient.michaljanik.cz/includes/module.inc on line 483.

Thank you for this module excelent.

CommentFileSizeAuthor
#3 texy_954182-0.patch1.46 KBOnkelTem

Comments

pepe roni’s picture

Though I am not a php-programmer, it does not make sense to me to pass an object by reference, as an object itself is a reference. I fixed this problem as follows: in texy.module, texy_image.module and texy_syntaxhiglighting.module I replaced "(&" with "(", that means I deleted the "&" (afaik a php indicator to pass this parameter as a reference). Then the annoying warnings were gone.

As texy is the most comfortable formatter I know, better than markdown and so on, it seems to be very important that we get an additional maintainer to a) adapt the texy-module to drupal standards and b) to port it to drupal 7!

xpete’s picture

I fixed this on my drupal 7 instalation the same way wbue did it... but it's not fixed on the repository yet...

OnkelTem’s picture

Version: 6.x-1.3 » 7.x-1.x-dev
Priority: Normal » Major
Status: Active » Needs review
Issue tags: +Needs backport to D6
StatusFileSize
new1.46 KB

Providing patch for D7.

Encarte’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

The patch seems to solve the problem.