Jump to content

Tomasz

Member
  • Posts

    13
  • Joined

  • Last visited

Posts posted by Tomasz

  1. Hi.

    Im instaled new version at serwer. I Copied image and modules folders and DataBase table.

    Now its fine. Site working OK.

    But i have new problem with "search modules" .

    When i use keyword "Audi TT", the search engine founded.

    1. Audi A6

    2. Audi A3

    3. Audi A3P

    4. Audi A2

    and 5'th Audi TT

    When i use "Audi A6" or "Audi A3" the search engine showed me this same product list.

    Why the search keyword dosen't show at first.

    For example

    Keywords "Audi TT" -> Enter

    1'st Audi TT

    2'nd Audi A6

    3'th .....

    When i use Keywords "Audi A3" -> Enter

    I expected

    1. Audi A3 - as first at the list, not 3'th or 6'th.

    How can i fix that search engine.

    Thx for help.

  2. Apr 26 2018, 13:19 PM	[Notice] /home/admin/web/vag-shop.co.uk/public_html/classes/session.class.php:671 - session_start() [function.session-start.php]: ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13)
    Apr 26 2018, 13:19 PM	[Notice] /home/admin/web/vag-shop.co.uk/public_html/includes/functions.inc.php:527 - Undefined index: X-Forwarded-For
    Apr 26 2018, 13:19 PM	[Notice] /home/admin/web/vag-shop.co.uk/public_html/admin_0kt5Uc/sources/settings.index.inc.php:28 - Undefined index: oid_mode
    Apr 26 2018, 13:19 PM	[Notice] /home/admin/web/vag-shop.co.uk/public_html/admin_0kt5Uc/sources/settings.index.inc.php:163 - Undefined index: path
    Apr 26 2018, 13:19 PM	[Notice] /home/admin/web/vag-shop.co.uk/public_html/classes/session.class.php:671 - session_start() [function.session-start.php]: ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13)
    Apr 26 2018, 13:19 PM	[Notice] /home/admin/web/vag-shop.co.uk/public_html/includes/functions.inc.php:527 - Undefined index: X-Forwarded-For
    Apr 26 2018, 13:19 PM	[Notice] /home/admin/web/vag-shop.co.uk/public_html/classes/catalogue.class.php:1312 - Undefined variable: file
    Apr 26 2018, 13:19 PM	[Notice] /home/admin/web/vag-shop.co.uk/public_html/classes/catalogue.class.php:1314 - Undefined offset: 1
    Apr 26 2018, 13:19 PM	[Notice] /home/admin/web/vag-shop.co.uk/public_html/classes/catalogue.class.php:1314 - Undefined offset: 2
    Apr 26 2018, 13:19 PM	[Notice] /home/admin/web/vag-shop.co.uk/public_html/classes/catalogue.class.php:1301 - Undefined variable: placeholder_image

     

  3. Hi.

    I update me site to 6.2.0.

    Yesterday i try to edit one produkt. I chose "save" buttons. And i saw white site.

    I opened file from me www.shop

    admin_D804fg/skin/default/templates/products.index.php

    And compare this file with oryginal from zip package Cubecart_6.2.0.

    And:

    Me www.shop file

    .......
    <input type="submit" value="{$LANG.common.save}">
       </div>
       {/if}
       <input type="hidden" name="token" value="{$SESSION_TOKEN}">
    </form>
    When i press "seve" i see white site and changes dosen't save.
    
    From zip_6.2.0 file
    
    
    <input type="submit" value="{$LANG.common.save}">
       </div>
       {/if}
    
    </form>
    When i press "Save" buttons, changes dosen't save and i see Red Alert"
    "Possible Cross-Site Request Forgery (CSRF). Please do not use multiple tabs/windows or the browser back button. Learn more"

    Now i can't add any product and can't edit exist product.

    Plz help :)

  4. Befor i upgrade to 6.1.0 this error dosent apear.

    "Notice: Undefined index: X-Forwarded-For in /home/admin/web/vag-shop.co.uk/public_html/includes/functions.inc.php on line 522"

    Error log dont display this error but when i use search form and use some key words its display in.

    See me loaded pic.

    1st error mesage dont know how to fix.

    2nd and 3th error i fix -> releoad file from 6.0.12 and error fixed.

    Thx for help.

    Search engine Cube cart.jpg

  5. Thx for help.

    I need change in classes/catalogue.class.php this line:
     

    return $this->searchCatalogue($original_search_data, 1, $per_page, 'like');
                        }
    
                    } else {
                        $this->_sort_by_relevance = false;
                        $rlike = '';
                        if (!empty($search_data['keywords'])) {

    to:

     						return $this->searchCatalogue($original_search_data, 1, $per_page, 'RLIKE');
     					}
     				} else {
    					$search_mode = in_array($search_mode, array('RLIKE','LIKE')) ? $search_mode : 'RLIKE'
    					$search_mode = in_array($search_mode, array('RLIKE','LIKE')) ? $search_mode : 'RLIKE';
     					$this->_sort_by_relevance = false;
     					$like = '';
     					if (!empty($search_data['keywords'])) {
     

    Correct?

  6. When we updated 6.0.12 to the new 6.1.0 and when log in the admin i have some error log.

    Before it dosent hapend.

    File: [catalogue.class.php] Line: [1715] "SELECT I.* FROM CubeCart_inventory AS I LEFT JOIN (SELECT product_id, MAX(price) as price, MAX(sale_price) as sale_price FROM CubeCart_pricing_group WHERE group_id = 0 GROUP BY product_id) as G ON G.product_id = I.product_id WHERE I.product_id IN (SELECT product_id FROM `CubeCart_category_index` as CI INNER JOIN CubeCart_category as C where CI.cat_id = C.cat_id AND C.status = 1) AND I.status = 1 AND (I.name fulltext '%Mk5%' OR I.description fulltext '%Mk5%' OR I.product_code fulltext '%Mk5%') LIMIT 12 OFFSET 0 " - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext '%Mk5%' OR I.description fulltext '%Mk5%' OR I.product_code fulltext '%' at line 1
         

    File: [catalogue.class.php] Line: [1715] "SELECT I.* FROM CubeCart_inventory AS I LEFT JOIN (SELECT product_id, MAX(price) as price, MAX(sale_price) as sale_price FROM CubeCart_pricing_group WHERE group_id = 0 GROUP BY product_id) as G ON G.product_id = I.product_id WHERE I.product_id IN (SELECT product_id FROM `CubeCart_category_index` as CI INNER JOIN CubeCart_category as C where CI.cat_id = C.cat_id AND C.status = 1) AND I.status = 1 AND (I.name fulltext '%Gti%' OR I.description fulltext '%Gti%' OR I.product_code fulltext '%Gti%') LIMIT 12 OFFSET 0 " - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext '%Gti%' OR I.description fulltext '%Gti%' OR I.product_code fulltext '%' at line 1

    And more errors.

    I try to update to 6.1.1 and cant. I use automaticy upgrade and manual -> dont work.

    How i can fix this problem?

    Thanks a lot 

    Best regard

    Tomasz

     

       
         
×
×
  • Create New...