#1 2010-06-04 15:31:10

Kink
Ion Tester
From: France
Registered: 2010-06-04
Posts: 301

Php error 8192, function deprecated

Hello,
i have a php error in the administration when i check status of a picture :

A PHP Error was encountered
Severity: 8192
Message: Function split() is deprecated
Filename: libraries/Loader.php(673) : eval()'d code
Line Number: 61

I have PHP 5.3.0 on Windows Seven.
Have you any idea, please ?

PHP Error 8192

Offline

#2 2010-06-12 09:11:15

Michel-Ange
Ionize Core Team
From: Paris, France
Registered: 2010-03-22
Posts: 713
Website

Re: Php error 8192, function deprecated

Hello.

All the split() PHP function will be replaced by explode in the 0.9.4.

Thanks for this report.


Inspiration & Innovation : Websites by Partikule, Agence Web Paris

Offline

#3 2010-06-14 16:16:35

Kink
Ion Tester
From: France
Registered: 2010-06-04
Posts: 301

Re: Php error 8192, function deprecated

Michel-Ange, i have also an other error with Tiny Browser and function deprecated : regcase()

Function regcase() deprecated

Offline

#4 2010-06-15 21:53:32

Michel-Ange
Ionize Core Team
From: Paris, France
Registered: 2010-03-22
Posts: 713
Website

Re: Php error 8192, function deprecated

Hmm....
I had a look at the Lunarvis tinybrowser website and it seems like tinyBrowser is not Open Source anymore.

We should think to change the file manager of Ionize.... Sad.


Inspiration & Innovation : Websites by Partikule, Agence Web Paris

Offline

#5 2010-06-16 09:05:02

Kink
Ion Tester
From: France
Registered: 2010-06-04
Posts: 301

Re: Php error 8192, function deprecated

So Sad, Tinybrowser is a beautiful file manager.
But this error appeared only on my local machine, not online. I use Wampserver on Win Seven pro 64 bits, php 5.3.0 and MySQL 5.1.36

Offline

#6 2011-02-02 12:15:44

jyo
Member
From: Rouen, France
Registered: 2011-01-24
Posts: 5

Re: Php error 8192, function deprecated

Michel-Ange wrote:

Hello.

All the split() PHP function will be replaced by explode in the 0.9.4.

Thanks for this report.

I am using Ionize 0.95rev7, and still have this error.
It is located in themes/admin/views/media_edit.php, line 63.
Make the following change, and you'll be happy:

replace
                    $size = split(',', $thumb['content']);
with:
                    $size = explode(',', $thumb['content']);
That's it.


Old programmer, but Ionize Newbee ;)

Offline

#7 2011-02-03 18:52:16

Michel-Ange
Ionize Core Team
From: Paris, France
Registered: 2010-03-22
Posts: 713
Website

Re: Php error 8192, function deprecated

Already done wink


Inspiration & Innovation : Websites by Partikule, Agence Web Paris

Offline

What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel , Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.

Resources

Website : www.ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Translations on GitHub