Icy Phoenix


Old Support Topics - [BUG] Icy Phoenix 2.0 Fatal Error: Call-time Pass-by-reference Has Been Removed



mort [ Sun 29 Jul, 2012 04:07 ]
Post subject: [BUG] Icy Phoenix 2.0 Fatal Error: Call-time Pass-by-reference Has Been Removed
Won't install because of a fatal error.

Fatal error: Call-time pass-by-reference has been removed in F:\xampp\htdocs\forum\includes\album_mod\album_functions.php on line 1035

line 1035 album_build_column_vars(&$result, $data, $page_params);

The & appears to be the problem.


spydie [ Sun 29 Jul, 2012 12:10 ]
Post subject: Re: [BUG] Icy Phoenix 2.0 Fatal Error: Call-time Pass-by-reference Has Been Removed
I´ve installed on xampp without a problem

xampp version 1.7.4


mort [ Sun 29 Jul, 2012 12:35 ]
Post subject: Re: [BUG] Icy Phoenix 2.0 Fatal Error: Call-time Pass-by-reference Has Been Removed
XAMPP like everything else (Including Icy Phoenix) deprecates some functions between versions, maybe you could try the latest version and see what happens?

Edit:

Quote:
You should be denoting the call by reference in the function definition, not the actual call. Since PHP started showing the deprecation errors in version 5.3, I would say it would be a good idea to rewrite the code.


Reference: http://stackoverflow.com/questions/...y-fix-available

My Setup:

XAMPP Full version 1.8.0 installed on USB Stick. Windows 7 - 64bit

###### ApacheFriends XAMPP Version 1.8.0 ######

+ Apache 2.4.2
+ MySQL 5.5.25a (Community Server)
+ PHP 5.4.4 (VC9 X86 32bit thread safe) + PEAR
+ XAMPP Control Panel Version 3.0.12 by hackattack142 (Great Thanks!!))
Vgl.: http://www.apachefriends.org/f/viewtopic.php?f=16&t=46743
+ phpMyAdmin 3.5.2
+ OpenSSL 1.0.1c
+ ADOdb 5.15
+ XAMPP Security
+ Mercury Mail Transport System v4.62 (not included in the portable version)
+ FileZilla FTP Server 0.9.41 (not included in the portable version)
+ Webalizer 2.23-04 (not included in the portable version)
+ Strawberry Perl 5.16.0.1 Portable
+ Tomcat 7.0.28 (not included in the portable version)
+ Old XAMPP Control Panel Version 2.5 von www.nat32.com (deprecated)
+ XAMPP mailToDisk 1.0 (write sendet emails via PHP on local disk in <xampp>\mailoutput. Is activated in the php.ini as mail default.)


Informpro [ Sun 29 Jul, 2012 22:18 ]
Post subject: Re: [BUG] Icy Phoenix 2.0 Fatal Error: Call-time Pass-by-reference Has Been Removed
Hey,

I made a little fix but I forgot to put it here. It's because call-time pass-by-reference has been removed with php5.4
The fix is really simple, you just have to remove that "&"
https://github.com/Nami-Doc/icy_pho...bc35900aebfa60c
since the & is in the actual function's definition.


Mighty Gorgon [ Mon 30 Jul, 2012 21:08 ]
Post subject: Re: [BUG] Icy Phoenix 2.0 Fatal Error: Call-time Pass-by-reference Has Been Removed
The & has to be removed.

I will remove it in repository.

I'll release a small patch very soon.


mort [ Tue 31 Jul, 2012 02:44 ]
Post subject: Re: [BUG] Icy Phoenix 2.0 Fatal Error: Call-time Pass-by-reference Has Been Removed
The joys of being a programmer - - One starts something and by the time it's finished someone else has deprecated some, or a lot of it.

But I had already removed it so that I could finish the installation.




Powered by Icy Phoenix