#1 2015-04-24 06:42:20

franolivera
Member
Registered: 2012-05-17
Posts: 55
Website

[Solved ]A PHP Error was encountered - installation of ionize 1.0.7

Has anyone is getting this warning after installation of ionize 1.0.7 ?

I'm not having this problem in Evidalia hostings, but I do have it on Donweb hosting

..............

A PHP Error was encountered
Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: core/MY_Controller.php

Line Number: 476

A PHP Error was encountered
Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: core/MY_Controller.php

Line Number: 492

Last edited by franolivera (2015-08-04 06:48:13)

Offline

#2 2015-05-13 16:27:59

franolivera
Member
Registered: 2012-05-17
Posts: 55
Website

Re: [Solved ]A PHP Error was encountered - installation of ionize 1.0.7

Anyone guys?

Offline

#3 2015-05-14 19:02:54

otemu
Member
Registered: 2014-03-07
Posts: 183

Re: [Solved ]A PHP Error was encountered - installation of ionize 1.0.7

What version of php are on each server, this is most likely the cause.

Offline

#4 2015-08-04 06:47:25

franolivera
Member
Registered: 2012-05-17
Posts: 55
Website

Re: [Solved ]A PHP Error was encountered - installation of ionize 1.0.7

Thanks OTEMU, I checked the php version and in donweb server was an older one... I just change it to the last one

Offline

#5 2015-08-05 13:53:26

daniel
Member
Registered: 2014-02-28
Posts: 71

Re: [Solved ]A PHP Error was encountered - installation of ionize 1.0.7

If you set your environment to production, you should not see any errors (warnings are not so bad)


index.php:

define('ENVIRONMENT','development'); //displays errors
define('ENVIRONMENT','pre-production'); //displays nothing
define('ENVIRONMENT','production'); //displays nothing

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 : ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Ionize Translations