Error Message viewing Articles

GK User
Tue Feb 01, 2011 6:21 pm
Hi Guys,

i've got an error message on my GkPenguinmail installation in Article few.

Warning: in_array() [function.in-array]: Wrong datatype for second argument in .../templates/gk_penguinmail/lib/gk.framework.php on line 625


Here is someone with the same Problem (i found with google): http://www.tj-k.pl/index.php?option=com ... Itemid=222

Best Regards

Torsten
User avatar
Fresh Boarder

GK User
Tue Feb 01, 2011 7:06 pm
i can verify this. i report it to programmers.

thanks
User avatar
Platinum Boarder

GK User
Tue Feb 01, 2011 8:11 pm
i had that problem
my issue was that I had a custom php.ini
that did not need it anymore
so by delete it
problem is gone
User avatar
Junior Boarder

GK User
Tue Feb 01, 2011 8:13 pm
my version is a clean joomla with penguin on top. no customisations at all
User avatar
Platinum Boarder

GK User
Thu Feb 03, 2011 6:52 pm
problem will be fixed in next update !
User avatar
Platinum Boarder

GK User
Sat Feb 05, 2011 4:19 pm
... that will be in the near future ??? is there SOMETIMES someone who build the template in the forum???

I payed for a working template!

we just need a piece of code to fix the problem
User avatar
Fresh Boarder

GK User
Sun Feb 06, 2011 12:08 am
explodedk,

Dude, I think you should be a little diplomatic with how you answer your subscribers. Your answer "problem will be fixed in next update !" sounds too frustrating for anybody who pays. I believe 53nord will appreciate something like:

Thank you for catching this error, I confirmed that this is a bug and I already informed our programmers about it. They will try to resolve this issue and we will inform you of an update.


You did this to me with my other post, you gave me an answer but telling me "but this is not what you want" is not a nice answer to a frustrated customer. You are just adding more frustration.

Customer support dude, be nice! When your customer is happy, meaning more subscribers, gavick get richer, you get more salary. :lol:
User avatar
Junior Boarder

GK User
Sun Feb 06, 2011 2:29 am
Hi

I'm not the programmer, but please try making this change on ../lib/gk.framework.php

find this fragment:
Code: Select all
// check the excluded article IDs and category IDs
       if(($option == 'com_content' && $view == 'article' && in_array($id, $excluded_articles, false)) ||
          ($catid != '' && $option == 'com_content' && $view == 'article' && in_array($catid, $excluded_categories, false)) || $embed_mode) {


and replace with this

Code: Select all
// check the excluded article IDs and category IDs
       if(($option == 'com_content' && $view == 'article' && in_array($id, $excluded_articles, false)) ||
          ($catid != '' && $option == 'com_content' && $view == 'article' && is_array( $define_itemid ) && in_array($catid, $excluded_categories, false)) || $embed_mode) {


Please report if this solves the problem.
Thank you for this report.

Cheers ;)
User avatar
Platinum Boarder

GK User
Sun Feb 06, 2011 7:32 am
jackl wrote:explodedk,

Dude, I think you should be a little diplomatic with how you answer your subscribers. Your answer "problem will be fixed in next update !" sounds too frustrating for anybody who pays. I believe 53nord will appreciate something like:


jackl please read up..

i can verify this. i report it to programmers.
thanks


in this post i updated it when i got an answer from programmers.. updates are normally posted start of week..



and in the other topic i pointed you in the right direction, and just tried to inform you what it was saying. im not trying to make you more fustrated - just trying to help...
User avatar
Platinum Boarder

GK User
Sun Feb 06, 2011 11:14 am
He Seichinha,

thanks for the code snippet! Solved the problem - no more error message.

Now i can work with the template without waiting for an update in the (near) future ;)

Best Regards

Torsten
User avatar
Fresh Boarder


cron