Fresh Install: Get error in detail view

Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sun Jul 13, 2014 11:53 am
Reply with quote
Report this post
get the following error after install the template on a fresh Joomla installation:

Warning: Invalid argument supplied for foreach() in /usr/www/users/xxx/templates/gk_news2/html/com_content/article/default.php on line 14
User avatar
Expert Boarder

GK User
Sun Jul 13, 2014 5:02 pm
Reply with quote
Report this post
This is not error - it is warning - please disable showing php errors and it will disappear.
User avatar
Moderator

GK User
Mon Jul 14, 2014 10:26 am
Reply with quote
Report this post
Cyberek wrote:This is not error - it is warning - please disable showing php errors and it will disappear.


Are you for real?

Disabling the php errors is your solution?

You funny.

Find this:
https://www.gavick.com/forums/news-joom ... 22182.html

But think I must ask our coder for a better solution. I don´t know why I pay for support?
User avatar
Expert Boarder

GK User
Mon Jul 14, 2014 10:33 am
Reply with quote
Report this post
Our Coder fix that:

The template has an override for the default /components/com_content/views/article/tmpl/default.php file.
For others with that problem change:
/templates/mytemplate/html/com_content/article/default.php
to:
/templates/mytemplate/html/com_content/article/default_bak.php
User avatar
Expert Boarder

GK User
Tue Jul 15, 2014 1:55 pm
Reply with quote
Report this post
We use overrides for different view to show some features. Renaming one of the overrides might remove some of the template features.
User avatar
Moderator


cron