Home ›
Error in module ImageApi imageapi_gd_image_overlay()
Hide all descriptions
Submitted by Marat Farkhulin on Tuesday, 08.23.2011
Error description:
Error displayed when you use modules ImageApi, ImageCache
imageapi_gd_image_overlay() expected to be a reference
Cause of the problem in using PHP version 5.3
The solution is quite easy, although it will have to rewrite slightly module imageapi. To do this, open the folder with the module and open the file in the editor imagecache_canvasactions.module. Search code:
<?php
function imageapi_gd_image_overlay(&$image, &$layer, $x, $y, $alpha = 100, $reverse = FALSE) {
...
?>Replace to:
<?php
function imageapi_gd_image_overlay(&$image, $layer, $x, $y, $alpha = 100, $reverse = FALSE) {
...
?>Who's new
- Marat Farkhulin
Who's online
There are currently 0 users and 1 guest online.
Search
Work schedule
Feedback
Workdays
Monday to Friday
Working time
from 10 to 18 Moscow time, GMT +3
Break
from 13 to 14