e2interactive forums » Report a Bug

Search:

[closed] Call-time pass-by-reference

(4 posts)

  1. peivem
    Member

    Hi everyone.
    I'm having a HUGE problem.
    Just when I install the gallery (on my dreamhost's server and on my home with easyphp), and after configure everything I go to the index.php file and get this errors:

    ----
    Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of getimagesize(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in c:\documents and settings\administrador\escritorio\e2\getfolders.php on line 41
    ----

    And the same on line 105 and 177.
    Everything is about this line:

    list($width, $height, $type, $attr) = getimagesize("$path/$file[name]", &$info);

    can anyone help me please???
    Thanks

    Posted 10 months ago #
  2. peivem
    Member

    I've found the problem. The gallery is not compatible with php5 (on dreamhost server I have the version 5.2.2).

    Is there a way to get an "upgrade" of the gallery to be compatible with php 5?. By now it's only compatible with php 4 (4.4.7 is the actual version of dreamhost - I can choose between both of them).

    thanks

    Posted 10 months ago #
  3. I haven't done much work in php 5, I'll look into it, but can't say it will be fast. I'll have to go do some research and see what I can find, to see if it is easy.

    Posted 10 months ago #
  4. To fix this issues open up getfolder.php and find:

    list($width, $height, $type, $attr) = getimagesize("$path/$file[name]", $info);

    and change it to:

    list($width, $height, $type, $attr) = getimagesize("$path/$file[name]", $info);

    Posted 8 months ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.