Tracker: Bugs : Legacy

5 PHP 5.3.0 released with Deprecated ereg extension - ID: 2806108
Last Update: Comment added ( mikhail )

Hi! Trying to test XC 2.1.7 with the new PHP 5.3.0RC2 returns a blank page
with Deprecated, Warning, and Fatal error alerts. Please, check this page:
http://wiki.php.net/doc/scratchpad/upgrade/53

# "namespace is now a reserved word. Applications can't use namespace as
identifier anymore. Doing so will create a Fatal Error while parsing the
script." <- I think that this word is used by "nusoap.php" in legacy.

# all ereg functions now issues E_DEPRECATED (note that not all of them are
prefixed with ereg). <- used in many files.


I know: is possible to setup to enable some things like the call-time
pass-by-reference in php.ini file. However, future versions may not
support this any longer.

Deprecated: Assigning the return value of new by reference is deprecated
in:
/core/XCube_Root.class.php on line 538
/core/XCube_Controller.class.php on line 140
/core/XCube_Controller.class.php on line 141
/core/XCube_Controller.class.php on line 142
/core/XCube_Controller.class.php on line 306
/core/XCube_Controller.class.php on line 439
/core/XCube_Controller.class.php on line 456
/core/XCube_Controller.class.php on line 468
/core/XCube_Controller.class.php on line 513
/core/XCube_Controller.class.php on line 514
/core/XCube_RenderSystem.class.php on line 176
/core/XCube_Delegate.class.php on line 589
/core/XCube_Delegate.class.php on line 679
/core/XCube_Service.class.php on line 190
/core/XCube_ActionForm.class.php on line 660
/core/XCube_Property.class.php on line 335
/core/XCube_Property.class.php on line 633
/core/XCube_Property.class.php on line 701
/core/XCube_Property.class.php on line 719
/core/XCube_Session.class.php on line 41
/core/XCube_Session.class.php on line 44
Warning: syntax error, unexpected '<' in /settings/site_default.ini.php on
line 1 in /core/XCube_Root.class.php on line 163
Fatal error: Call to a member function prepare() on a non-object in
/core/XCube_Root.class.php on line 287









Mikhail Miguel ( mikhail ) - 2009-06-14 07:20

5

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 3 )

Date: 2009-11-10 07:21
Sender: mikhail

Feedback, please!


Date: 2009-11-01 17:58
Sender: mikhail

update: the "Warning: syntax error" issue about the INI parser was solved
in XOOPS Cube Legacy 2.2 with the new ticket #2889797.



Date: 2009-07-17 06:58
Sender: mikhail

Hi! PHP 5.3 Released with "Deprecated ereg extension":
http://www.php.net/archive/2009.php#id2009-06-30-1

Others remotions and "deprecatetions":

Removed all zend_extension_* php.ini directives. Zend extensions are now
always loaded using zend_extension directive. (Derick)
Removed direct executor recursion. (Dmitry)
Removed shebang line check from CGI sapi (checked by scanner). (Dmitry)
Removed special treatment of "/tmp" in sessions for open_basedir. Note:
This undocumented behaviour was introduced in 5.2.2. (Alexey)
Removed the experimental RPL (master/slave) functions from mysqli.
(Andrey)
Removed zend.ze1_compatibility_mode. (Dmitry)
Deprecated define_syslog_variables(). (Kalle)
Deprecated session_register(), session_unregister() and
session_is_registered(). (Hannes)

Others changes:
http://php.net/ChangeLog-5.php




Attached File

No Files Currently Attached

Change ( 1 )

Field Old Value Date By
summary Incompatibility problems with PHP 5.3.0 RC2 2009-07-17 06:58 mikhail