Search:

Type: Posts; User: tmccaff

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    363

    Replacing while with foreach?

    I have this code and I am confused how to change this to foreach


    reset($currencies->currencies);
    $currencies_array = array();
    while (list($key, $value, $title) =...
  2. Replies
    110
    Views
    4,251

    v155 Re: Image Handler 5 (for v1.5.5) Support Thread

    I figured it out I had one line that had sizeof($images_array)
  3. Replies
    110
    Views
    4,251

    v155 Re: Image Handler 5 (for v1.5.5) Support Thread

    I traced it down to this in includes/modules/additional_images.php this is the code that seems to be the problem:


    $num_images = count($images_array);
    $list_box_contents = array();
    $title = '';...
  4. Replies
    110
    Views
    4,251

    v155 Re: Image Handler 5 (for v1.5.5) Support Thread

    For some reason my template not showing additional images; here is my template code:


    require(DIR_WS_MODULES . zen_get_module_directory('additional_images.php'));
    ?>
    <?php
    if...
  5. v150 Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    Getting following error:

    PHP Fatal error: 1327:Undeclared variable: MAX_DISPLAY_TESTIMONIALS_MANAGER_TITLES

    This is located in includes/modules/sideboxes/testimonals_manager.php
  6. Mcrypt is deprecated is zencart going towards openssl method or?

    I did analysis to check my code for php7 and as most people aware mcrypt is deprecated in php7 and suggested going openssl. Just wanted to make sure if this is the direction that zencart is going to...
  7. Replies
    6
    Views
    590

    Re: Cannot use string offset as an array?

    I found the support thread; thanks so much for that

    https://www.zen-cart.com/showthread.php?222983-Image-Handler-5-(for-v1-5-5)-Support-Thread/page5
  8. Replies
    6
    Views
    590

    Re: Cannot use string offset as an array?

    I searched for Image handler and only found Image handler 4 not 5. Do you know where it's located?
  9. Replies
    6
    Views
    590

    Re: Cannot use string offset as an array?

    I am guessing need to add $list_box_contents = array();
  10. Replies
    6
    Views
    590

    Re: Cannot use string offset as an array?

    I think its from Image Handler nevermind
  11. Replies
    1,639
    Views
    186,237

    Sticky: v150 Re: Image Handler 4 (for v1.5.x) Support Thread

    I think this is from this mod; I get the following error:

    Cannot use string offset as an array


    End Image Handler changes 2 of 2
    $image_regular = zen_image($products_image_medium,...
  12. Replies
    6
    Views
    590

    Cannot use string offset as an array?

    I am not sure what mod this is from but it has to do with additional images; I think it's from Zen lightbox.

    When I add additional images in the admin and go to my store I get this error in my...
  13. Replies
    9
    Views
    560

    Re: Error when going to php7, no clue why.

    Ok duh so it seems when I have no categories this php warning will show. I guess I can disregard this. Thanks for help
  14. Replies
    9
    Views
    560

    Re: Error when going to php7, no clue why.

    Ok so after using the print_r this is the output:


    Array ( [0] => Array ( [1] => Array ( [name] => DECOR [categories_image] => [count] => 0 ) ) )

    This is because I have only 1 category setup...
  15. Replies
    1,429
    Views
    92,228

    v154 Re: change hpme link

    I have been trying to contact Anne for some work, I guess shes very busy. Last login here was awhile back. She does excellent work
  16. Replies
    9
    Views
    560

    Re: Error when going to php7, no clue why.

    Ok, isn't there like a way to debug an array like print -r or something? I am new to php still learning. Arrays for some reason get me lost, lol.
  17. Replies
    9
    Views
    560

    Re: Error when going to php7, no clue why.

    I looked it up and some hints let me to this; I added the following line before the function and now warning disappears.


    if (is_array($cat_array)) {
    foreach($cat_array[0] as $k0=>$v0){
  18. Replies
    9
    Views
    560

    Error when going to php7, no clue why.

    I am getting the following error in my error log:

    PHP Warning: Invalid argument supplied for foreach()

    This is the function:


    function pzen_megamenu(){
    global...
  19. Replies
    1
    Views
    191

    v155 Upgrading template?

    I decided to buy a template and it's version 1.5.5e what is the process of upgrading a template to 1.5.5f? Do I look at a changelog and put those fixes in? Not sure how to go about this.. I do have...
  20. Replies
    1
    Views
    219

    v155 Mobile template options?

    I got a free nice template from picaflor-azul calledAberdeen Neutral and didn't realize it wasn't responsive. So what is my options to make it mobile ready? The ones that our responsive I don't like...
  21. Replies
    1,429
    Views
    92,228

    v154 Re: change hpme link

    If anyone is interested I added the Show_featured, New, and specials configuration to the admin and edit the files this way you can turn these off and on in the admin without messing with the files...
  22. Replies
    1,429
    Views
    92,228

    v154 Re: change hpme link

    Another bug which is no big deal but seeing why this isn't being displayed.

    In the Admin>Responsive>Configuration the values are empty only the version is showing which is 2.0. The Homepage...
  23. Replies
    1,429
    Views
    92,228

    v154 Re: change hpme link

    I tried that solution, I downloaded from GitHub v1.60 and still get that non-numeric value error.

    Another thing I am thinking to add admin config to this for SHOW_NEW_PRODUCTS,...
  24. Replies
    1,429
    Views
    92,228

    v154 Re: change hpme link

    @mc12345678 I searched for it and only thing I found was to remove the <?php if ($zc_show_featured == true) { ?> and you said something about javascript.

    this is where I seen it:

    see #333in...
  25. Replies
    1,429
    Views
    92,228

    v154 Re: change hpme link

    The tabs is for sure a bug. If it is set to false which is by default the tabs shouldn't show on home page. If you set it to true than tabs work. I am guessing the javascript needs to be updated.
    ...
  26. Replies
    1,150
    Views
    248,115

    Re: Newsletter-Only Subscriptions for v1.3x

    I updated version waiting on approval. I added an admin page and made changes for it to work with 1.5.5.
  27. Replies
    1,429
    Views
    92,228

    v154 Re: change hpme link

    OK on the home page I have tabs called Newest, Featured, Specials and when I click on them I get the following:

    The requested URL /section-1 was not found on this server.
    The requested URL...
  28. Replies
    1,429
    Views
    92,228

    v154 Re: change hpme link

    Got you. I will try to be more specific.
  29. Replies
    1,429
    Views
    92,228

    v154 Re: change hpme link

    Hopefully, I got this right not any more of that non-numeric value error. Thanks for that, what I read was to change this in categories_ul_generator.php

    line #53:


    $result =...
  30. Replies
    1,429
    Views
    92,228

    v154 Re: change hpme link

    Ugh another error I am almost there I think; searched for this in thread and found nothing:

    [06-Feb-2018 21:59:31 America/New_York] Request URI: /, IP address: 98.109.213.21
    #1 ...
  31. Replies
    1,429
    Views
    92,228

    v154 Re: change hpme link

    When I put it in English.php it works but not on index.php
  32. Replies
    1,429
    Views
    92,228

    v154 Re: change hpme link

    Thanks for some reason I re-uploaded everything and working now what is weird I get this:

    TEXT_NO_PRODUCTS instead of There are no products to list in this category.

    I did a search for it and...
  33. Replies
    1,429
    Views
    92,228

    v154 Re: change hpme link

    What I have done and it seems to work now. I looked at this thread:

    https://www.zen-cart.com/showthread.php?219801-Making-v154-DIY-Picaflor-Azul-templates-work-with-v1-5-5/page4
    Now only problem...
  34. Replies
    1,429
    Views
    92,228

    v154 Re: change hpme link

    So do I use the layouts_controller and split_page from template or 1.55? I see there is a new layout_controller which I downloaded for this template
  35. Replies
    1,429
    Views
    92,228

    v154 Re: change hpme link

    I did do a search and found this #598 just says figured it out and don't tell you how it's fixed.
  36. Replies
    1,429
    Views
    92,228

    v154 Re: change hpme link

    I think it has to do with includes/classes/split_page_results.php file not sure.
  37. Replies
    1,429
    Views
    92,228

    v154 Re: change hpme link

    Why this line and I can't seem to find this in configuration template_debug?

    if (TEMPLATE_DEBUG == 'True') echo '\includes\templates\TEMPLATES\templates\tpl_featured_products_default.php<br />then...
  38. Replies
    1,429
    Views
    92,228

    v154 Re: change hpme link

    Now I get the following error when I click on featured products. Note though I have no featured products.


    [06-Feb-2018 07:44:50 America/New_York] PHP Fatal error: 1109:Unknown table 'p' in...
  39. Replies
    1,429
    Views
    92,228

    v154 Re: change hpme link

    Weird because I added that line in stylesheet.css I moved it up before ul.slimmenu li.aboutus I guess that was the problem:


    ul.slimmenu li.brands-li{display:none;}
  40. Replies
    1,429
    Views
    92,228

    v154 Re: change hpme link

    How do you remove the Brands in the header? I see only one reference to this:


    <li class="brands-li"><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>" class="drop"><?php echo...
  41. Replies
    1
    Views
    223

    v155 Editing define text?

    How to add <p> and <br> statements in define('TEXT_ABOUT_US')?
  42. Replies
    2
    Views
    239

    v155 Re: Header Categories and Subcategories?

    It was a free template, lol. Anyway in default template don't do this either. Is it a plugin or what?
  43. Replies
    2
    Views
    239

    v155 Header Categories and Subcategories?

    I am trying to figure out how to display subcategories when you go over a category on the top header.

    I hope I am making sense here.

    I am using a template from template monster.

    Here is my...
  44. Replies
    23
    Views
    736

    v155 Re: zen Return Manager (Support thread)

    @davewest what template you using? Mine looks way different, I like your look. The way it looks in the screenshot I like, but mine is different.

    I see your point mc12345678 so like if someone...
  45. Replies
    23
    Views
    736

    v155 Re: zen Return Manager (Support thread)

    Thanks so much; that worked. Got you so Key [1] would be subtotal, key [2] I am guessing tax, key [3] would be shipping and [4] would be total that's if tax was applied of course. I think I am...
  46. Replies
    3
    Views
    517

    ereg to preg_match?

    I have an old plugin that I am updating and I see ereg which was replaced by preg_match in php7.

    Here is the code:


    if ( (!isset($_GET['sort'])) || (!ereg('[1-9][ad]', $_GET['sort'])) ||...
  47. Replies
    23
    Views
    736

    v155 Re: zen Return Manager (Support thread)

    If I change this line in tpl_order_status_default.php



    <?php $i=2; ?>
    <h2><?php echo TEXT_ORDER_SUB_TOTAL . $order->totals[0]['text'] . '<br />' . TEXT_TOTAL . $order->totals[2]['text'];...
  48. Replies
    23
    Views
    736

    v155 Re: zen Return Manager (Support thread)

    I tested it with one page checkout off and still not displaying order total correctly. I will see if I can fix it.
  49. Replies
    23
    Views
    736

    v155 Re: zen Return Manager (Support thread)

    Not displaying total correct when you use sidebox order tracking. The 0.7 is the tax. Now I am using one_page_checkout maybe that is the problem.
  50. Replies
    950
    Views
    44,733

    v155 Re: One-Page Checkout [Support Thread]

    I have the following into configuration:

    Payment_methods_requiring_information: square,paypal I am thinking perhaps I have this wrong tested only under paypal express at moment.

    getting these...
Results 1 to 50 of 144
Page 1 of 3 1 2 3
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR