Hello!
I'm new here to the forums, but have been reading like mad and using the helpful tips to configure my install and so far I'm LOVING zen cart!![]()
This particular contribution looks really great too! http://www.zen-cart.com/downloads.php?do=file&id=718
I've installed a few contributions so far and had no problems, but I've just downloaded this one - Your Store Gift Cards (plastic, etc) - which was just added to the downloads section on 5/26/08 and am having some issues.
I didn't see a support thread for this yet and if I've violated some rules or etiquette about this, feel free to flog me for it! lol
I've also sent an e-mail detailing all this to the creator, but until I hear back, I thought I'd see if there's a solution. I'll also repost when I get a response, of course.
-----------------------------------------
When I was on step "C" of the directions (Login to the admin panel and navigate to Modules->Order Total and click on the new giftcard module.):
When I clicked on order totals, I did not see the new gift card module, but instead had this error right above the list of modules:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /includes/modules/order_total/ot_giftcard.php on line 62
I'm still feeling my way around php, but I rock at internet searches, so I found a way to correct the code (I think!)
---------------------------------
I had to change line 62 from this:
to this:Code:public $title;
----------------------------------Code:var $public_title;
and line 69 from this:
to this:Code:public $output;
----------------------------------Code:var $public_output;
After making those changes to those 2 lines, the module was visible in the order totals section and I installed it, leaving all information at the defaults (as recommended per the installation instructions).
Then, continuing on, I reached step "F" of the directions (Now navigate to Tools->Gift Card Manager to begin inserting gift card numbers and settings specific to individual cards. This is also where you activate, lock, and edit card-specific settings.), but when I clicked on Tools->Gift Card Manager, I saw this error above the mostly blank page:
1146 Table 'xxx.giftcards' doesn't exist in: [select count(*) as total from giftcards] If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields. (I've removed my database name from the above and replaced it with the "xxx" for security reasons)
There is a row of what looks like headers for the gift cards (gift card code - gift card face value, etc.) but nothing else and no buttons or anything.
The other contributions I've used had sql patches to apply, so I'm wondering if a file was missing maybe?
Any advice? Thanks in advance!!![]()
Bookmarks