Jump to content

ayz1

Member
  • Posts

    452
  • Joined

  • Last visited

  • Days Won

    12

Posts posted by ayz1

  1. Not 100% sure but that looks like a database issue where the database or user doesn't exist.

    If you use cPanel and you have installed Cubecart using Installatron you can create a backup of your store on the same server using it's back up feature if you just want a backup. If you wish to move or copy your store to another server then the following should work

    There is probably a much easier way to do this but this is how I do it.

    1. Install a fresh version of Cubecart (same version as you are backing up) onto the new server.
    2. Copy database from old Cubecart to new Cubecart
    3. Upload images from old Cubecart to new Cubecart
    4. Copy over your skin if modified

    Hope this helps.

     

     

     

  2. If you have made any changes to the original .htaccess file you could try renamimg it before you do the update then restore it once update is done if that solves the problem. If it doesn't help then try the manual update. Had same problem myself with some working and some not.

  3. To remove the category images in file skins/foundation/templates/content.category.php add comments <!-- and --> to the following

     

    <!-- {if isset($category.image)}
    <div class="row">
       <div class="small-12 columns"><img src="{$category.image}" alt="{$category.cat_name}" class="marg-bottom"></div>
    </div>
    {/if} -->

     

    To remove sub category images

     

    <!-- {if isset($SUBCATS) && $SUBCATS}
    <ul class="medium-block-grid-6 text-center{if $CONFIG.catalogue_expand_tree ==1} show-for-medium-up{else} small-block-grid-3{/if}" data-equalizer>
       {foreach from=$SUBCATS item=subcat}
       <li data-equalizer-watch>
          <a href="{$subcat.url}" title="{$subcat.cat_name}">
          <img class="th" src="{$subcat.cat_image}" alt="{$subcat.cat_name}">
          </a>
          <a href="{$subcat.url}" title="{$subcat.cat_name}"><small>{$subcat.cat_name}</small></a>
       </li>
       {/foreach}
    </ul>
    {/if} -->

     

  4. Checked it out on a mobile phone in portrait view and the menu and basket links don't appear to be working (you just get a blank space). The links at the top of the page are not aligned very well so difficult to use and there is a black bar in there (some sort of menu divider) which is positioned over the basket link. Also the search box is not showing fully, seems to be offset to the left so positioned off the screen slightly. The search on the standard foundation skins seems to work better. Similar issues in landscape view. As it is I don’t think anyone would be able to register or make a purchase.

    mobile.jpg

    mobile2.jpg

  5. I've tried it on on V6 and just looked at your store and you are on V5 so maybe that's why. Or are you on V6 with an old skin? I can email you the file if you wish.

  6. Change the function argument list from $search_mode = 'fulltext' to $search_mode = 'like'.

    Where bsmither said to make the main code change you should have this (replace what is already there)

     

    $rlike = ' AND ( ';
                            for ($i=0; $i<$noKeys; ++$i) {
                                $ucSearchTerm = strtoupper($searchArray[$i]);
                                if ( ($ucSearchTerm != 'AND') && ($ucSearchTerm != 'OR') && (strlen($ucSearchTerm) > 0) ) {
                                    $searchArray[$i] = str_replace(array('%','_'), array('%','_'), $searchArray[$i]);
                                    $regexp = '%'.$searchArray[$i].'%';
                                } else { $rlike .= " ".$ucSearchTerm." "; continue; }
                                $rlike .= "(I.name LIKE '".$regexp."' OR I.description LIKE '".$regexp."' OR I.product_code LIKE '".$regexp."') AND ";
                            }
                            $rlike = substr($rlike, 0, strlen($rlike)-5); $rlike .= " )";

                        }

     

    between the lines

                            $noKeys = count($searchArray);
                            $regexp = '';

     

    AND

     

    $q2 = "SELECT I.* FROM ".$GLOBALS['config']->get('config', 'dbprefix')."CubeCart_inventory AS I LEFT JOIN (SELECT product_id, MAX(price) as price

  7. I like this one:

                            $rlike = ' AND ( ';
                            for ($i=0; $i<$noKeys; ++$i) {
                                $ucSearchTerm = strtoupper($searchArray[$i]);
                                if ( ($ucSearchTerm != 'AND') && ($ucSearchTerm != 'OR') && (strlen($ucSearchTerm) > 0) ) {
                                    $searchArray[$i] = str_replace(array('%','_'), array('%','_'), $searchArray[$i]);
                                    $regexp = '%'.$searchArray[$i].'%';
                                    $rlike .= "(I.name LIKE '".$regexp."' OR I.description LIKE '".$regexp."' OR I.product_code LIKE '".$regexp."')";
                                }
                                else {
                                  if(strlen($ucSearchTerm) > 0){ $rlike .= " ".$ucSearchTerm." "; }
                                  else { $rlike .= " AND "; }
                                  continue;
                                }
                            }
                            $rlike .= " )";

    Tried this again and it worked. Seems to do exactly what is required. Thanks bsmither.

  8. It's beyond me unfortunatley. However if it's possible in V3 then I assume it's possible on V6. Tought the link might give someone a clue how to do it. Tried the code from bsmither above but couldn't get it to work. Probably something I am doing wrong rather than a problem with the code. Will have another go at it.

  9. You can send 12,000 emails a month to a list of up to 2,000 subscribers with MailChimp's Forever Free plan then there is a monthy fee for anything over that. Beauty of Mailchimp is they handle all the sending of the emails and they are sent very quickly and you are not using your own server resources. If you have a lot of emails to send using a throttled system it can take a long time to send the whole batch because the server will have a limit on the number of emails you can send per hour. So if your email is time sensetive then it might not be the best solution.

    I've tried both methods and in my opinion Mailchimp is by far the best system. It also handles subscribing and unsubscribing automatically to keep your list up to date and has many other useful features as well.

     

     

  10. Im in the process of looking at doing the same thing. From what I understand the V3 and V6 databases are different so it's maybe not advisable to copy your V3 tables to the V6 database.

    This is what I have done to test what happens. I installed the version of V3 I am using onto another server 3.17 im my case. I then copied the tables from my original V3 store into the new V3 copy and uploaded the images folder.

    I then followed the upgrade instructions here https://support.cubecart.com/Knowledgebase/Article/View/231/43/how-do-i-upgrade-from-cubecart-v3-to-v6

    All seems to have worked OK but there are issues that need addressing such as installing Payment Gateways, Shipping Module, new skin etc. Then there are issues with URL's changing, Categories etc. So although the V3 to V6 upgrade works there are a lot of other things to consider.

    Hope this helps.

  11. If you use cPanel and installatron you should be able to clone your store then follow the instructions at https://support.cubecart.com/Knowledgebase/Article/View/231/43/how-do-i-upgrade-from-cubecart-v3-to-v6 to update it to V6

    Thought that is what I said in more detail in my last post !

    If the original copy of Cubecart was installed with Installatron then using the Clone feature in my opinion is much simpler than the detailed method you described especially if someone is not familiar with using databases as it sets everything up automatically. http://installatron.com/docs/websiteowner#clone

     

     

×
×
  • Create New...