Multiple Add Error

Phoca Gallery - image gallery extension
DeadParrot
Phoca Member
Phoca Member
Posts: 10
Joined: 25 Jun 2009, 17:22

Multiple Add Error

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Multiple Add Error

Post 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
If you find Phoca extensions useful, please support the project
juddi
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 27 Jun 2009, 04:40

Re: Multiple Add Error

Post 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.
Do good no matter what
Live life to the fullest and be happy with who you are
Carpe Diem - seize the day!
instant car insurance
DeadParrot
Phoca Member
Phoca Member
Posts: 10
Joined: 25 Jun 2009, 17:22

Re: Multiple Add Error

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Multiple Add Error

Post 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.
If you find Phoca extensions useful, please support the project
Post Reply