Creating article from frontend

GK User
Fri Apr 20, 2012 6:06 pm
Hello,

I set up creating articles from frontend and, I'm able to create smoothly, but, when I go to read the article there is this message before the title:

Warning: Invalid argument supplied for foreach() in /home/storage/e/67/bd/progressoatacadista1/public_html/v2/templates/gk_esport/html/com_content/category/blog_item.php on line 22

If I go to backend, edit this article and save (without changing anything), the message disappear. I saw in the database that when I create a new article from frontend, the field attribs in that article on table content doesn't have any information. In an article saved from backend, I have this information in the same field attribs:

{"show_title":"","link_titles":"","show_intro":"","show_category":"","link_category":"","show_parent_category":"","link_parent_category":"","show_author":"","link_author":"","show_create_date":"","show_modify_date":"","show_publish_date":"","show_item_navigation":"","show_icons":"","show_print_icon":"","show_email_icon":"","show_vote":"","show_hits":"","show_noauth":"","urls_position":"","alternative_readmore":"","article_layout":"","show_publishing_options":"","show_article_options":"","show_urls_images_backend":"","show_urls_images_frontend":""}

Does anyone had this problem?

Thanks!
User avatar
Fresh Boarder

teitbite
Mon Apr 23, 2012 8:17 am
Hi

What attributes You have in mind ? If this attributes are coming from a plugin than frontend editing may not support that. Please show me Your site and send me an access to site, so I'll be able to check it.
User avatar
Moderator

GK User
Mon Apr 23, 2012 8:04 pm
Hello Teitbite,
I've sent you a PM with these details.

Thank you,
Mauro Pedrini
User avatar
Fresh Boarder

teitbite
Tue Apr 24, 2012 5:50 am
Hi

Please show me which attribs exacly are not working and if it gets any error message. I've made test on my copy of eSport quickstart and everything simes to be working.

Anyway this is a joomla functionality, we haven't changed anything in it, so try if updating joomla will help. Try also if it's not because of some special chars used.
User avatar
Moderator

GK User
Tue Apr 24, 2012 5:41 pm
Hello teitbite,

I´ve installed a new version of this template and I´ve had the same problem.
I haven´t used any special character.
This is the error:
Image
And this is the difference between 2 articles. Look the attribs line to see what information is missing.
Image

I´m using Joomla 2.5.4 and the last eSport version. I have no idea what to do now!

Thank you so much,
Mauro Pedrini
User avatar
Fresh Boarder

teitbite
Fri Apr 27, 2012 9:18 am
Hi

Please make a one test to exclude a template bug. Try if the same issue is happening when You change template to default one which comes with joomla itself. I believe it's a joomla bug, but this action can prove it.
User avatar
Moderator


cron