Jump to content

emcmoda

Members
  • Content count

    66
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Michal
  1. Can you try now - still i dont know how solved problem with polish character for example ąś ć mayby ascii ? write in box search: szal
  2. Hi Which function read names product . i've problem with polish character i write Tunika asymetryczna 0433 długi rękaw but smart sugessted : Tunika asymetryczna 0433 dÅ�ugi rÄ�kaw
  3. If you add code in file advanted_search_results.php Find this code: $listing_sql = $select_str . $from_str . $where_str . $order_str; Directly AFTER add this: // MOD: BOF - SmartSuggest BEGIN if (SMARTSUGGEST_ENABLED == 'true' && SMARTSUGGEST_RECORD_KEYWORDS == 'true') { if (isset($_GET['keywords'])) { if (!isset($_GET['page'])) $_GET['page'] = '1'; $searched_keywords_query = tep_db_query("select searched_keywords_id, pages from " . TABLE_SEARCHED_KEYWORDS . " where ip = '" . tep_db_input(tep_get_ip_address()) . "' and keywords = '" . tep_db_input($_GET['keywords']) . "' and date_added > '" . date('Y-m-d H:i:s', strtotime('-30 minutes')) . "' order by date_added desc"); if ($searched_keywords = tep_db_fetch_array($searched_keywords_query)) { $pages = explode(',', $searched_keywords['pages']); if ($_GET['page'] != $pages[count($pages) - 1]) // only update if not the last visited page tep_db_perform('searched_keywords', array('pages' => $searched_keywords['pages'] . ',' . (int)$_GET['page']), 'update', "searched_keywords_id = '" . (int)$searched_keywords['searched_keywords_id'] . "'"); } else { $input = array('keywords' => tep_db_prepare_input(tep_db_input($_GET['keywords'])), 'number_of_results' => (int)tep_db_num_rows(tep_db_query($listing_sql)), 'date_added' => date('Y-m-d H:i:s'), 'ip' => tep_get_ip_address(), 'pages' => (int)$_GET['page']); if ($customer_id) $input['customers_id'] = (int)$customer_id; if ($cart->count_contents() > 0) { $products = $cart->get_products(); foreach ($products as $product) $products_ids[] = $product['id']; $input['products_ids'] = implode(',', $products_ids); } tep_db_perform(TABLE_SEARCHED_KEYWORDS, $input); tep_session_register('searched_keywords_id'); $searched_keywords_id = tep_db_insert_id(); } } } // MOD: EOF - SmartSuggest BEGIN
  4. Hi I apologize for my unnecessary post Thanks for your solution I change the place bm_search.php on my page is invisible I notes that if we have double search form, suggested don't worg in second form
  5. Hi when i choose Suggest results type Product Names I;ve this bug 1064 - Something is wrong in your syntax obok 'keywords' w where clauseSELECT pd.products_name as result%' or pd.products_name ' w linii 1 select p.products_id from products p left join products_description pd on p.products_id = pd.products_id where ( pd.products_head_keywords_tag like '%1054 - Nieznana kolumna 'keywords' w where clauseSELECT pd.products_name as result%' or pd.products_name like '%1054 - Nieznana kolumna 'keywords' w where clauseSELECT pd.products_name as result%' ) and p.products_status = 1 and pd.language_id = 1 limit 1 [TEP STOP]
  6. Hi a solved the problem, can you idea about polish letter such as ' ą ę ś ć ź ż '
  7. Hi Fur, I instaled addons, and someting is wrong. In table scheared_keywords words can save but suggested doesn't work on the webside can you look at ? http://sklep.emcmoda.pl
  8. emcmoda

    [Addon] PDF Datasheet

    Hi Jim Header Tags I fix but last bug beside replacing file didn't help when in file catalog\include\language\polish.php comment utworzony katalog.'); //define('WARNING_SESSION_DIRECTORY_NOT_WRITEABLE', 'Ostrzeżenie: Nie ma możliwości zapisu do katalogu sesji: ' . tep_session_save_path() . '. Sesje nie będą działać dopóki nie zostaną ustawione właściwe uprawnienia dla tego katalogu.'); //define('WARNING_SESSION_AUTO_START', 'Ostrzeżenie: Parametr session.auto_start jest aktywny - zablokuj go zmieniając konfigurację pliku php.ini i zrestartuj serwer www.'); i have another errors Notice: Constant BOX_HEADING_TELL_A_FRIEND already defined in /home/emc/domains/emcmoda.pl/public_html/sklep/includes/languages/polish.php on line 386 Notice: Constant BOX_TELL_A_FRIEND_TEXT already defined in /home/emc/domains/emcmoda.pl/public_html/sklep/includes/languages/polish.php on line 387 Notice: Constant TEXT_SEE_MORE already defined in /home/emc/domains/emcmoda.pl/public_html/sklep/includes/languages/polish.php on line 410 Warning: require_once(ext/tcpdf/config/lang/eng.php) [function.require-once]: failed to open stream: No such file or directory in /home/emc/domains/emcmoda.pl/public_html/sklep/pdf_datasheet.php on line 212 Fatal error: require_once() [function.require]: Failed opening required 'ext/tcpdf/config/lang/eng.php' (include_path='.:/usr/local/lib/php') in /home/emc/domains/emcmoda.pl/public_html/sklep/pdf_datasheet.php on line 212 but i can't find this file :/ Warning: require_once(ext/tcpdf/config/lang/eng.php) [function.require-once]: failed to open stream: No such file or directory in /home/emc/domains/emcmoda.pl/public_html/sklep/pdf_datasheet.php on line 212
  9. emcmoda

    [Addon] PDF Datasheet

    Hi Jim Thx for your time BR Michal
  10. emcmoda

    [Development] Products Specifications

    Hi Jim how to make the fiter with size (ROZMIAR) and/or color (KOLOR) the same as http://answear.com/jeansy-213-k.html BR Michal
  11. emcmoda

    [Addon] PDF Datasheet

    Hi Jim, Someday i installed your add-ons but i have some bug can you look and help me Notice: Constant HEADER_TAGS_DISPLAY_COLUMN_BOX already defined in /home/emc/domains/emcmoda.pl/public_html/sklep/pdf_datasheet.php on line 66 Notice: Constant HEADER_TAGS_DISPLAY_HELP_POPUPS already defined in /home/emc/domains/emcmoda.pl/public_html/sklep/pdf_datasheet.php on line 66 Notice: Constant HEADER_TAGS_DIABLE_PERMISSION_WARNING already defined in /home/emc/domains/emcmoda.pl/public_html/sklep/pdf_datasheet.php on line 66 Notice: Constant HEADER_TAGS_DISPLAY_SILO_BOX already defined in /home/emc/domains/emcmoda.pl/public_html/sklep/pdf_datasheet.php on line 66 Notice: Constant HEADER_TAGS_DISPLAY_SOCIAL_BOOKMARKS already defined in /home/emc/domains/emcmoda.pl/public_html/sklep/pdf_datasheet.php on line 66 Notice: Constant HEADER_TAGS_ENABLE_EDITOR_CATEGORIES already defined in /home/emc/domains/emcmoda.pl/public_html/sklep/pdf_datasheet.php on line 66 Notice: Constant HEADER_TAGS_ENABLE_VERSION_CHECKER already defined in /home/emc/domains/emcmoda.pl/public_html/sklep/pdf_datasheet.php on line 66 Fatal error: Call to undefined function tep_session_save_path() in /home/emc/domains/emcmoda.pl/public_html/sklep/includes/languages/polish.php on line 335 http://sklep.emcmoda.pl/pdf_datasheet.php?products_id=239&language=polish BR Michal
×