error message while upgrading from Joomla 1.5 to 2.5

Business template for Joomla 3 and 2.5 ideal to create blog or personal website.
GK User
Tue May 15, 2012 11:14 pm
when ever i have components on a page with articles i get an error
Warning: Invalid argument supplied for foreach() in /home/iluvused/public_html/j25/templates/gk_the_real_design/html/com_content/article/default.php on line 15

i just upgraded a site from joomla 1.5 to joomla 2.5 and installed real design template. any ideas?
User avatar
Expert Boarder

GK User
Wed May 16, 2012 8:05 am
The problem is related with upgrade process, not all article forms are filled, please try to create new article via Joomla admin and check whether the message is still visible.
User avatar
Platinum Boarder

GK User
Wed May 16, 2012 2:43 pm
i added new article and still shows error. i also went through the articles and checked that all fields were completed.
User avatar
Expert Boarder

GK User
Thu May 17, 2012 8:13 am
Probably it is related with this upgrade process, in addition the display errors option should be disabled in PHP configuration, please check Joomla requirements.
User avatar
Platinum Boarder

GK User
Mon Jun 04, 2012 2:57 pm
I have more sites I need to upgrade to Joomal 2.5 since many of the templates I used from Gavick aren't supported anymore. So after upgrade I'll need to select new Gavick template. I don't want to have this issue in other upgrades so how do you suggest doing the upgrade? If I don't use the Gavick templates I don't see the error. thanks
User avatar
Expert Boarder

GK User
Tue Jun 05, 2012 7:46 am
You need to configure you server according to Joomla! requirements so disable display_errors option in Joomla! configuration, this is only warning message not error.
User avatar
Platinum Boarder

GK User
Tue Jun 05, 2012 3:14 pm
the server is configured for joomla as it did have the 1.5xx version. i have disabled the warning but would like to not cause the warning on all my other sites
User avatar
Expert Boarder

GK User
Wed Jun 06, 2012 10:34 pm
One of the Joomla requirements is to set option display_errors to off, as you should see problem option name it is 'display_errors', no 'delete_errors' - errors will be logged in server log so you have access to this informations. There is also option to disable displaying errors only for one installation (template) - then in template file default.php at the top you can use ini_set commands like

Code: Select all
ini_set('display_errors', 0);
more help you surely find on PHP documentation.
User avatar
Platinum Boarder


cron