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


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.

Profile PM  
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

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 :roll:

###### 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.)

Profile PM  
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.

Profile PM  
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.

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. :mryellow:

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

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1184s (PHP: 15% SQL: 85%)
SQL queries: 10 - Debug Off - GZIP Enabled