404 Page showsups an invalid argument

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Feb 25, 2014 7:28 pm
Reply with quote
Report this post
Hi,


what an ODD thing to happen (or maybe not....), if i go to a page that doesnt exist, my 404 page will showup an error.
Warning: Invalid argument supplied for foreach() in /home3/portugal/public_html/freelancerbid.com/templates/gk_creative/html/com_content/article/default.php on line 13

I believe this template doesnt have a 404 page (does it?)
so i am using the 404 feature of sh404sef

test the following link
http://www.freelancerbid.com/findme



Any help is appreciated

Best Regards,
Paulo
User avatar
Expert Boarder

GK User
Tue Feb 25, 2014 7:40 pm
Reply with quote
Report this post
Hi,
Some facts:
1) All our templates override default error page --> \templates\gk_creative\error.php - and it doesn't use articles!
2) If we don't use it, default error page should be seen

So it means that you broken error page using sh404sef in wrong way,
sorry but we are not anything-digital.com company to help you with this commercial extension, ask them. :whistle:
User avatar
Platinum Boarder

GK User
Tue Feb 25, 2014 7:54 pm
Reply with quote
Report this post
Pawel F wrote:Hi,
Some facts:
1) All our templates override default error page --> \templates\gk_creative\error.php - and it doesn't use articles!
2) If we don't use it, default error page should be seen

So it means that you broken error page using sh404sef in wrong way,
sorry but we are not anything-digital.com company to help you with this commercial extension, ask them. :whistle:


Hi,

What i really wanted was to use the tempalte 404 so i went ahead and disabled the sh404sef 404 article :P
I still get an error...

TPL_GK_LANG_ERROR_INFO
TPL_GK_LANG_ERROR_DESC
Home Page - TPL_GK_LANG_CONTACT_WEBMASTER
User avatar
Expert Boarder

GK User
Tue Feb 25, 2014 8:00 pm
Reply with quote
Report this post
In this case -
1) check this guide: http://www.gavick.com/documentation/joo ... rror-page/
2) What language is set for front-end ?
User avatar
Platinum Boarder

GK User
Tue Feb 25, 2014 8:42 pm
Reply with quote
Report this post
Pawel F wrote:In this case -
1) check this guide: http://www.gavick.com/documentation/joo ... rror-page/
2) What language is set for front-end ?



I have only one language installed. English.
User avatar
Expert Boarder

GK User
Tue Feb 25, 2014 9:16 pm
Reply with quote
Report this post
1) Do you still have this file: language/en-GB/en-GB.tpl_gk_creative.ini
2) Did you changes template name ?
3) You can also Edit file error.php and replace not loaded messages with Your own
or
4) You can translate selected phrases using the overrides feature in Joomla > Language Manager.
Check in middle on this guide similar solution: http://www.gavick.com/documentation/sup ... component/
User avatar
Platinum Boarder

GK User
Wed Feb 26, 2014 12:17 am
Reply with quote
Report this post
Pawel F wrote:1) Do you still have this file: language/en-GB/en-GB.tpl_gk_creative.ini
2) Did you changes template name ?
3) You can also Edit file error.php and replace not loaded messages with Your own
or
4) You can translate selected phrases using the overrides feature in Joomla > Language Manager.
Check in middle on this guide similar solution: http://www.gavick.com/documentation/sup ... component/


1) Yes
2) No

Will ltry option 3 and 4 :P
User avatar
Expert Boarder

GK User
Wed Feb 26, 2014 12:28 am
Reply with quote
Report this post
Pawel F wrote:1) Do you still have this file: language/en-GB/en-GB.tpl_gk_creative.ini
2) Did you changes template name ?
3) You can also Edit file error.php and replace not loaded messages with Your own
or
4) You can translate selected phrases using the overrides feature in Joomla > Language Manager.
Check in middle on this guide similar solution: http://www.gavick.com/documentation/sup ... component/



Used option 4 and now its working.
As a sidenote, i did not edited the template 404, so i have no clue why i needed to use the language overwrite feature. I also checked the language file and the strings are there.... so its strange right?
User avatar
Expert Boarder


cron