sh404sef frontpage blank

Create fresh and professional look of personal or blog websites with AppsPro Tech
GK User
Wed Apr 18, 2012 2:26 pm
I installed sh404sef and all the pages work except the frontpage (blank page). when i switch to default joomla template, the frontpage shows up fine.

This is the error I get ...

PHP Warning: Invalid argument supplied for foreach() in .../gk_appsprotech/html/com_content/article/default.php on line 13
User avatar
Senior Boarder

GK User
Wed Apr 18, 2012 4:32 pm
Hi,

Can you please send me a PM to provide with backend and FTP access info to check the issue and fix it for you?

Thanks,
User avatar
Platinum Boarder

GK User
Thu Apr 19, 2012 2:48 pm
Thanks. I sent you the ftp info
User avatar
Senior Boarder

GK User
Thu Apr 19, 2012 3:58 pm
Hi,

Thank you but you forgot to include a password.
User avatar
Platinum Boarder

GK User
Thu Apr 19, 2012 4:01 pm
Sorry I see your new PM with password now, but I can't check the issue because I don't have a link when the frontpage is blank, can you give me some link where I can see the error message?

Thanks,
User avatar
Platinum Boarder

GK User
Thu Apr 19, 2012 11:45 pm
The frontpage is blank after I installed the sh404sef. The error isn't showing on the frontpage but is showing on the error_log. I'll PM you the pages that are working (everything is working except the frontpage).


[18-Apr-2012 17:22:19] PHP Warning: Invalid argument supplied for foreach() in /public_html/templates/gk_appsprotech/html/com_content/article/default.php on line 13
User avatar
Senior Boarder

GK User
Fri Apr 20, 2012 2:48 pm
Hi,

In the file, I changed:
Code: Select all
foreach($attribs as $key => $value) {
    if($value != null) {
       $params->set($key, $value);
    }

To:
Code: Select all
if ($attribs) {
   foreach($attribs as $key => $value) {
    if($value != null) {
       $params->set($key, $value);
    }
}
}

Please check if the error message persists.
User avatar
Platinum Boarder

GK User
Fri Apr 20, 2012 2:53 pm
It's still the same, blank page (when using AppsPro Tech). I tried all the default joomla template and frontpage loads without problem.
User avatar
Senior Boarder

GK User
Fri Apr 20, 2012 4:08 pm
I haven't fixed the issue with blank homepage but I fixed the problem with error message, please check to confirm if it happens anymore. I will debug more to fix the other problem

Thanks,
User avatar
Platinum Boarder

GK User
Sat Apr 21, 2012 12:48 am
I think I found the problem. Disabling Image Show GK4 fixed the problem. When I enable Image Show GK4 , homepage goes blank.
User avatar
Senior Boarder

GK User
Sat Apr 21, 2012 3:34 pm
It's weird. So please try reinstall the module with the latest version to check if it can work, otherwise I will try to debug further.

Thanks,
User avatar
Platinum Boarder


cron