If this is your first visit, check our documentation. To post, register or login.

Footer is gone

Started by jdahlbom on 14 Jun 2013, 5:14 PM · Views: 486

Results 1 to 4 of 4
14 Jun 2013, 5:20 PM
#2
drbyte avatar

drbyte

Sensei

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

Post #2 by drbyte

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

14 Jun 2013, 5:27 PM
#3
jdahlbom avatar

jdahlbom

New Zenner

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

Post #3 by jdahlbom

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,512
Plugin Contributions:
176

Post #4 by drbyte

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.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.