Zen Cart Logo

Footer is gone

Views: 486

Results 1 to 4 of 4
14 Jun 2013, 5:27 PM
#3
jdahlbom avatar

jdahlbom

New Zenner

Join Date:
Sep 2011
Posts:
26
Plugin Contributions:
0

Re: Footer is gone

DrByte:

http://www.zen-cart.com/content.php?124-blank-page

I've been through that one now.
If I remove the following code it all works great:

<?php
  if (SOCIAL_MEDIA_STATUS == 1) {
	if (SOCIAL_POSITION == 'bottom' || SOCIAL_POSITION == 'both') {
	  echo '<div id="socialIcons" class="fright">';
	  echo social_media($products_id_current, $products_name);
	  echo '</div>';
	}
  }
?>

It sais in the log that this line get an error:
echo social_media($products_id_current, $products_name);

What could be the problem with that?

Thnx

14 Jun 2013, 6:48 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Footer is gone

Evidently that social_media() function you're calling in your template is apparently undefined ... as in, there is no actual function statement/definition in your site for it.