Page 1 of 1

Multiple Add Error

Posted: 25 Jun 2009, 17:29
by DeadParrot
How do?

I have an error when attempting to upload pics.
I've looked over https://www.phoca.cz/documents/2-phoca-g ... em-solving and re ran my scripts which got rid of the original error.

Now I'm getting

Code: Select all

Warning: Call-time pass-by-reference has been deprecated; 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 in /home/content/j/a/m/x/html/joomla/administrator/components/com_phocagallery/controllers/phocagallery.php on line 55
I'm very sure it's a blindingly obvious fix but I've been banging my head against a wall for hours and aside from a bump, I'm no closer to fixing it.
Any help would be appreciated

Re: Multiple Add Error

Posted: 26 Jun 2009, 21:03
by Jan
Hi, it seems like you have problems with calling some function with pass-by-reference

e.g.:

$rotateReturn = $model->rotate($cid[0], $angle, &$errorMsg); --> &$errorMsg

this needs to be enabled in php.ini so the script will work properly.

Jan

Re: Multiple Add Error

Posted: 27 Jun 2009, 04:56
by juddi
thank you jan im also having a few issues, this being one of them and these forums are great you can pretty much find the answer to every phoca issue in existence in these forums and it's great to know that we can come in here for support questions.

Re: Multiple Add Error

Posted: 30 Jun 2009, 13:36
by DeadParrot
Thanks Jan.

I ignored the error and started my uploads.
I'm happy to say it all works fine now.
To be honest, I'm not entirely sure what caused it but as it seems to have gone away of its own vioation I'm happy enough
:D

Re: Multiple Add Error

Posted: 30 Jun 2009, 21:30
by Jan
Ok, I will take a look at the code (for the future versions) if I can do it other way.

Jan

EDIT: I have found the way how to fix it, so I will fix it in next version.