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.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | texy_954182-0.patch | 1.46 KB | OnkelTem |
Comments
Comment #1
pepe roni commentedThough 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!
Comment #2
xpete commentedI fixed this on my drupal 7 instalation the same way wbue did it... but it's not fixed on the repository yet...
Comment #3
OnkelTem commentedProviding patch for D7.
Comment #4
Encarte commentedThe patch seems to solve the problem.