forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: larol on January 25, 2005, 12:00:20 am

Title: Picture Rotating
Post by: larol on January 25, 2005, 12:00:20 am
When I would rotate pictures then appears the message: 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 [runtime function name](). If you would like to enable call time pass by reference time, you can set allow call time pass reference to true in your INI file. However, future versions may not support this any longer.
What can I do, Where can I find the INI- File?
Tks a lot for answer.
larol
Title: Re: Picture Rotating
Post by: Joachim Müller on January 25, 2005, 08:36:03 am
This refers to php.ini and is only available for the server admin - if you're webhosted, you can't (and shouldn't) edit php.ini.
I strongly recommend rotating on the client before upload.

Joachim
Title: Re: Picture Rotating
Post by: larol on February 04, 2005, 02:50:17 pm
Hey Joachim, tks a lot for answer. How can I avoid this error Message:

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 [runtime function name](). 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 /mnt/kw2/03/741/00000000/htdocs/cpg/include/imageObjectGD.class.php on line 90

with regards
larol
Title: Re: Picture Rotating
Post by: kegobeer on February 04, 2005, 04:18:25 pm
Unless you edit the php.ini file, you will see this message all the time.  You may be able to supress it if you comment out the error_reporting(E_ALL); statement in init.inc.php.
Title: Re: Picture Rotating
Post by: Nibbler on February 04, 2005, 04:21:04 pm
You should be able to simply remove the & from line 90 of that file.