Page 6 of 11 FirstFirst ... 45678 ... LastLast
Results 51 to 60 of 108
  1. #51
    Join Date
    Apr 2009
    Posts
    18
    Plugin Contributions
    0

    Default Re: Zen Cart Button Construction Kit 1.6.5 and up..

    Quote Originally Posted by nigelt74 View Post
    This is my test site, with the current version (plus icelandic)

    http://grumpykiwi.com/zen_button_con..._bck/index.php

    tell me if it works for you, as it has been tested in all browsers, i have just checked in IE9 and opera and it works fine
    Yes, is working fine for me in both IE & FF.

    I'm running here Apache 2.0 with PHP 5.2.13.
    and never have any problems with it.
    But you think the problem is lying there?


    regards,
    Rinker

  2. #52
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Zen Cart Button Construction Kit 1.6.5 and up..

    Quote Originally Posted by Rinker View Post
    Yes, is working fine for me in both IE & FF.

    I'm running here Apache 2.0 with PHP 5.2.13.
    and never have any problems with it.
    But you think the problem is lying there?


    regards,
    Rinker
    Doubtful.. My button kit is running fine with Apache and PHP 5.2.14
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  3. #53
    Join Date
    Apr 2009
    Posts
    18
    Plugin Contributions
    0

    Default Re: Zen Cart Button Construction Kit 1.6.5 and up..

    I just downloaded it again and did install it on another server i have.
    This server runs Apache 2.0 & php 5.2.4 but I have exactly the same problem.
    It only is not showing those two preview buttons, everything else is working fine.
    Strange thing.......



    Regards,
    Rinker

  4. #54
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Zen Cart Button Construction Kit 1.6.5 and up..

    Quote Originally Posted by Rinker View Post
    I just downloaded it again and did install it on another server i have.
    This server runs Apache 2.0 & php 5.2.4 but I have exactly the same problem.
    It only is not showing those two preview buttons, everything else is working fine.
    Strange thing.......



    Regards,
    Rinker
    Can you PM a link to your button kit?? If it's on a local server, I wonder if this is a possible issue with running this on a local server....
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  5. #55
    Join Date
    Apr 2009
    Posts
    18
    Plugin Contributions
    0

    Default Re: Zen Cart Button Construction Kit 1.6.5 and up..

    Ok, I have found the problem.

    I've searched the log files and found some warnings.
    After looking into the files and some testing I found out that the problem is the file: _default_preset.php
    In this file you find: (where ###### = b u t t without the spaces )
    Code:
    if ($########_type == 1) {
    $languages['english'] = 'yes';
    $languages['german'] = 'no';
    $languages['spanish'] = 'no';
    $languages['french'] = 'no';
    $languages['italian'] = 'no';
    $languages['dutch'] = 'no';
    $languages['estonian'] = 'no';
    $languages['norwegian'] = 'no';
    $languages['finnish'] = 'no';
    $languages['swedish'] = 'no';
    $languages['czech'] = 'no';
    $languages['slovak'] = 'no';
    $languages['polish'] = 'no';
    $languages['romanian'] = 'no';
    $languages['russian'] = 'no';
    $languages['catala'] = 'no';
    }
    else
    {
    $languages['english'] = 'yes';
    $languages['spanish'] = 'no';
    // Ugly hack to unset Languages we don't have translations for
    unset($languages['german']);
    unset($languages['catala']);
    unset($languages['french']);
    unset($languages['italian']);
    unset($languages['dutch']);
    unset($languages['estonian']);
    unset($languages['norwegian']);
    unset($languages['finnish']);
    unset($languages['swedish']);
    unset($languages['czech']);
    unset($languages['slovak']);
    unset($languages['polish']);
    unset($languages['romanian']);
    unset($languages['russian']);
    }
    This you will not find in any of the other preset files, only the upper part of this but not the if else.
    I've made my own preset with the program , renamed it to _default_preset and deleted the old one.

    After restarting everything all is now working fine, without any error or warnings.!


    Thanks for this great program and the support here.

    Regards,
    Rinker

  6. #56
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Zen Cart Button Construction Kit 1.6.5 and up..

    Originally you could only do the catatogue buttons, and then if you wanted to do the admin buttons you had to manually rename various files to do that, and then rename them again when you wanted to do the catalogue ones.

    The "if" statement you are talking about was put there to stop errors happening when switching between admin and catalogue when we added that functionality, it unsets certain variables to stop them being carried through, which was causing errors, you won't see errors unless you turn on the error reporting (by default i think the mod suppresses errors), although i can't remember as i don't have the code in front of me, but under certain conditions there were errors being generated, however there are other fixes that were added which probably prevent this happening in most situations, I'll have a proper check later.

    If it works for you without that code thats good although that code shouldn't effect the custom button at all, but I'd advise anyone else to only alter that code if you have an issue, with things not generating, as the current code has been tested by multiple users on multiple server layouts

  7. #57
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Zen Cart Button Construction Kit 1.6.5 and up..

    Quote Originally Posted by nigelt74 View Post
    If it works for you without that code thats good although that code shouldn't effect the custom button at all, but I'd advise anyone else to only alter that code if you have an issue, with things not generating, as the current code has been tested by multiple users on multiple server layouts
    **nods in agreement**
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #58
    Join Date
    Apr 2009
    Posts
    18
    Plugin Contributions
    0

    Default Re: Zen Cart Button Construction Kit 1.6.5 and up..

    Quote Originally Posted by nigelt74 View Post
    If it works for you without that code thats good although that code shouldn't effect the custom button at all, but I'd advise anyone else to only alter that code if you have an issue, with things not generating, as the current code has been tested by multiple users on multiple server layouts
    I understand, but even when I loaded one of the other two presets that came with it, it give me the same results, no preview buttons! And in those two other files theres also no if else, so once loaded the _default_presets file it never show the preview buttons (for me).

    Well, found it very strange. Maybe my security level is set to high??
    I have it all working now without the if else, Catalog and Admin buttons are both working correct!

    Regards,
    Rinker

  9. #59
    Join Date
    Apr 2009
    Posts
    18
    Plugin Contributions
    0

    Default Re: Zen Cart Button Construction Kit 1.6.5 and up..

    BTW:

    The warning was for the b u t t_type variable.
    Variable not defined.

    Regards,
    Rinker

  10. #60
    Join Date
    Feb 2011
    Posts
    665
    Plugin Contributions
    0

    Default Re: Zen Cart Button Construction Kit 1.6.5 and up..

    Tried adding these buttons to my local install before putting them on my live site.

    Created the buttons I wanted.
    Created a .ZIP file and downloaded to my PC.
    Extracted the contents.
    Placed the folder (buttons) into zencart/includes/templates/CUSTOM/


    still have the same old buttons.

    What am I missing?

 

 
Page 6 of 11 FirstFirst ... 45678 ... LastLast

Similar Threads

  1. zen button construction kit
    By Marlake in forum Addon Templates
    Replies: 1
    Last Post: 5 Aug 2011, 03:33 PM
  2. zen button construction kit - cannot see the colors
    By Marlake in forum Addon Templates
    Replies: 0
    Last Post: 2 Aug 2011, 02:01 AM
  3. restored a backup and now I am Under Construction.......but not!
    By christinefred in forum General Questions
    Replies: 4
    Last Post: 5 Feb 2011, 09:30 AM
  4. Help promote Zen Cart Book, and Zen Cart.
    By birdoasis in forum General Questions
    Replies: 2
    Last Post: 17 Apr 2007, 01:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR