Elxis CMS Forum

Support => Database => Topic started by: waleski on August 02, 2010, 17:55:15

Title: PHP error
Post by: waleski on August 02, 2010, 17:55:15
I'm new to elxis, but elxis is fantastic, I'm using it for a newspaper website and I'm using the ks-iservice template. I have the following report:

URI: index2.php?option=com_templates
Path: /includes/Core/elxis.php
Line: 4448
Invalid argument supplied for foreach()

and the administrator's back-end template shows double top rows

Pls what must I do?  >:(
Title: Re: PHP error
Post by: Ivan Trebješanin on August 02, 2010, 20:46:34
Which Elxis version are you using?
Title: Re: PHP error
Post by: datahell on August 02, 2010, 21:03:41
Have you deleted all menus? I believe so...
If you have Elxis 2009.2 replace includes/Core/elxis.php file with the attached file and tell me if the problem was solved.


[attachment deleted by admin]
Title: Re: PHP error
Post by: waleski on August 03, 2010, 14:15:55
Thanks. I'm using Elxis 2009.2 and I have replaced the file includes/core/elxis.php with the attached, from my cpanel, using the cpanel editor and changing permission to 744, but the php error report is still there at the back end.
Should I republish the all menus? Pls do take a look at the site: www.extranews247.com (http://www.extranews247.com) I'm trying to make it look like my other site www.bizhallmark.com (http://www.bizhallmark.com)  ;)
No doubt, i have quite a number of components, modules and bots enabled, I want to make a good statement here about elxis and it's usability and flexibility.
Title: Re: PHP error
Post by: waleski on August 03, 2010, 14:18:37
Goodness. The error report is gone!!!!!!
Thanks
Title: Re: PHP error
Post by: waleski on August 03, 2010, 14:52:03
how do I make a donation?
Title: Re: PHP error
Post by: datahell on August 03, 2010, 20:21:34
The error message was shown as you have no menus in your site. Normally all sites have at least one menu... Please publish at least the mainmenu, Elxis will not work properly if there are no menus and visitors will not have something to click on in order to browse your site.

Thanks for your will to donate to Elxis but we prefer supporting Elxis in other ways that do not include money (build extensions, provide support, advertise and promote elxis, write documentation at our wiki site, etc).