1
MikeShane
xoops zen cart wishlist plugin
  • 2012/12/10 22:58

  • MikeShane

  • Community Support Member

  • Posts: 144

  • Since: 2008/1/5 2


I’m not sure where to post this but I am a bigger so I put it here
I installed zen cart for xoops on site (works great) I added wishlist plugin
When i go to add product to wishlist this is what I get


Fatal error: Call to undefined function un_is_empty() in /home/mysite/public_html/modules/zox/includes/modules/pages/wishlist/header_php.php on line 13


This is what header_php.php on server

<?php
if (!$_SESSION['customer_id']) {
$_SESSION['navigation']->set_snapshot();
zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));
}

// Get wishlist class and instantiate
require_once(DIR_WS_CLASSES . 'wishlist_class.php');
$oWishlist = new un_wishlist($_SESSION['customer_id']);

// Use specified wishlist if wid set, else use default wishlist
$id = isset($_REQUEST['wid']) ? (int) $_REQUEST['wid'] : '';
if ( ! un_is_empty($id) ) {
$oWishlist->setWishlistId($id);
if ( ! $oWishlist->hasPermission() ) {
zen_redirect(zen_href_link(UN_FILENAME_WISHLISTS, '', 'SSL'));
}
} else {
$id = $oWishlist->getDefaultWishlistId();
}

require(DIR_WS_MODULES . 'require_languages.php');
$breadcrumb->add(NAVBAR_TITLE);


any suggestions?

Login

Who's Online

182 user(s) are online (111 user(s) are browsing Support Forums)


Members: 0


Guests: 182


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits