ereg_replace() is deprecated in contenido session.inc

Gesperrt
euroblaze
Beiträge: 1
Registriert: Fr 14. Aug 2009, 07:28
Kontaktdaten:

ereg_replace() is deprecated in contenido session.inc

Beitrag von euroblaze »

Thanks for taking a look at my post.

I've just installed Contenido on Windows Vista XAMPP (PHP Version 5.3.0). Consistently these errors/warnings are thrown:

Code: Alles auswählen

 Deprecated: Function ereg_replace() is deprecated in C:\xampp\htdocs\Contenido_4.8.12\conlib\session.inc on line 328
and

Code: Alles auswählen

 Deprecated: Function eregi_replace() is deprecated in C:\xampp\htdocs\Contenido_4.8.12\contenido\includes\functions.con2.php on line 322
The errors occur on:
http://localhost/contenido_4.8.12/contenido/
http://localhost/contenido_4.8.12/cms/front_content.php

Would anyone know what the problem could be? I'm happy to provide further system/setup information if needed.

Thanks
Ashant
Oldperl
Beiträge: 4316
Registriert: Do 30. Jun 2005, 22:56
Wohnort: Eltmann, Unterfranken, Bayern
Hat sich bedankt: 6 Mal
Danksagung erhalten: 4 Mal
Kontaktdaten:

Re: ereg_replace() is deprecated in contenido session.inc

Beitrag von Oldperl »

Hello Ashant,

first, welcome to the Contenido Forum. :-)

Thanks for your bugreport. The PHP 5.3 bug is already known and we are working on a bugfix for that.
:arrow: http://forum.contenido.org/viewtopic.ph ... 32&start=0
Meanwhile try to use an older xampp version with php < v5.3.

regards from Franken/germany

Ortwin
ConLite 3.0.0-dev, alternatives und stabiles Update von Contenido 4.8.x unter PHP 8.x - Download und Repo auf Gitport.de
phpBO Search Advanced - das Suchwort-Plugin für CONTENIDO 4.9
Mein Entwickler-Blog
kummer
Beiträge: 2423
Registriert: Do 6. Mai 2004, 09:17
Wohnort: Bern, Schweiz
Kontaktdaten:

Re: ereg_replace() is deprecated in contenido session.inc

Beitrag von kummer »

just a word about ereg_replace(). the function it deprecated and will not remain in php6. as long as you are using php5, ereg_replace (and similar functions) should work fine. deprecated does not mean, that the particular function does not work, but that it probably will not be supported in future version of php6. to solve your problem it should be enough to change the reporting level as the messages you get are only warnings.
aitsu.org :: schnell - flexibel - komfortabel :: Version 2.2.0 (since June 22, 2011) (jetzt mit dual license GPL/kommerziell)
Gesperrt