| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Smart Search from alteredCart :: Spell Checking, Did You Mean? and More. | ||||
|
|
Thread Tools |
#161
|
|||||||
|
|||||||
Re: Smart Search from alteredCart :: Spell Checking, Did You Mean? and More.
i have smart search, by default, in home page, it showed "advance search" link, then input box and red search button, i would like to just show the input box and red search button, how can i cancel the "advance search" link in the home page, thanks
__________________
X-Cart Gold 4.6 |
|||||||
#162
|
|||||||||
|
|||||||||
Re: Smart Search from alteredCart :: Spell Checking, Did You Mean? and More.
It's Feb. 2010, where's the *New* Smart Search?
Quote:
__________________
XCART 4.1.8 [Linux] |
|||||||||
#163
|
|||||||
|
|||||||
mysql error
I always got the mysql error messages when customers click smart search, does any one know why, below is the detail message:
[09-Feb-2010 16:23:59] (shop: 09-Feb-2010 16:23:59) SQL error: Site : https://www.fineartonsale.com Remote IP : 66.249.65.21 Logged as : SQL query : INSERT INTO xcart_benchmark_pages (`script`, `method`, `data`) VALUES ('_search.php', 'G', 'q=whittington's') Error code : 1064 Description : 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 's')' at line 1 Request URI: /_search.php?q=whittington's Backtrace: /home/fineart/public_html/include/func/func.db.php:180 /home/fineart/public_html/include/func/func.db.php:106 /home/fineart/public_html/include/func/func.db.php:395 /home/fineart/public_html/include/bench.php:231
__________________
X-Cart Gold 4.6 |
|||||||
#164
|
|||||||||
|
|||||||||
Re: Smart Search from alteredCart :: Spell Checking, Did You Mean? and More.
Quote:
The new version of the core Smart Search has been available for nearly a year, it was release in March of '09. As for the add-ons. You can see the BETA version on the alteredCart website. However, since X-Cart has been releasing new versions at a blistering pace lately I've not been adding any new features to the module. Bill |
|||||||||
#165
|
|||||||||
|
|||||||||
Re: mysql error
Quote:
The bench.php file is not correctly escaping the ' character in the URL parameter. Any SQL query should always sanitize the input before executing the query. This could potentially be a security issue. I would contact X-Cart for a patch. Bill |
|||||||||
#166
|
|||||||
|
|||||||
Re: mysql error
Quote:
thanks, bill, could you tell me how to hide the advance search link in home page, i just wish to show the input box and search button, thanks albert
__________________
X-Cart Gold 4.6 |
|||||||
#167
|
|||||||
|
|||||||
new version
hi, bill, my version is 2.0.9, do you have a new verison for update? thanks
albert
__________________
X-Cart Gold 4.6 |
|||||||
#168
|
|||||||
|
|||||||
Re: Smart Search from alteredCart :: Spell Checking, Did You Mean? and More.
Quote:
hi, bill, how can i get the update one, thanks albert
__________________
X-Cart Gold 4.6 |
|||||||
#169
|
|||||||
|
|||||||
Re: Smart Search from alteredCart :: Spell Checking, Did You Mean? and More.
I installed the mod on a staging site and it appeared to install without errors. I did not install the extra fields mod initially. I added the extra fields mod and rebuilt the search database.
I added a static page and when I saved it I received 95 emails letting me know I had the following error... [06-Mar-2010 22:30:55] (shop: 06-Mar-2010 22:30:55) SQL error: Site : https://www.mysite.com Remote IP : xx.xxx.192.162 Logged as : admin SQL query : INSERT INTO xcart_smart_search_pages_index (id, pageid, location) VALUES ('989', '6', '3') Error code : 1146 Description : Table 'mydatabase.xcart_smart_search_pages_index' doesn't exist Request URI: /admin/pages.php Backtrace: /home/myfolder/public_html/include/func/func.db.php:186 /home/myfolder/public_html/include/func/func.db.php:112 /home/myfolder/public_html/modules/Smart_Search/Extra_Fields-News-Static_Pages/smart_search_extra_functions.php:0 /home/myfolder/public_html/modules/Smart_Search/Extra_Fields-News-Static_Pages/smart_search_extra_functions.php:0 /home/myfolder/public_html/modules/Smart_Search/Extra_Fields-News-Static_Pages/smart_search_pages_modify.php:22 /home/myfolder/public_html/admin/pages.php:186 ------------------------------------------------- Yikes. So I removed the extra fields mod and revised admin/pages.php back to the original state. Now I can add/update static pages without any errors. However, I rebuilt the search database again, and noticed at the end of the rebuild process I get dbase errors. Unfortunately they flash so quick on the screen I cannot see what they are. So, now, even without the extra fields module installed, I get errors when I rebuild the database. The search feature seems to work just fine, but, sql errors cannot be good. Has anyone else seen this issue? (BTW, the info below is from the Smart Search FAQ page at Altered Cart - I have rebuilt the search dbase numerous times, but I always get the sql error at the end of the query - disappears though before I can see what it says. Also, I no longer get the same "1146" error because I removed the Extra Fields add on option) Question - I'm receiving an INVALID SQL: 1146 table doesn't exist error when searching or saving a static page in the admin. Answer - An INVALID SQL: 1146 table doesn't exist error is caused when the proper Smart Search tables haven't been created. The search database/index will need to be rebuild on the admin/smart_search_admin.php page in your X-Cart admin section.
__________________
Tim x-cart pro 4.1.11, x-AOM, CDSEO, css layout - no tables (almost), free social bookmarking mod (xcartmod.co.uk - thanks), altered cart On Sale, One Page Checkout and Smart Search (all amazing products), Custom Code from CFL (the best), Hands-On Hosting for live site |
|||||||
#170
|
|||||||
|
|||||||
Re: Smart Search from alteredCart :: Spell Checking, Did You Mean? and More.
Can any one tell me how to shift Smart Search box to top central of the page from grey bar in ideal comfort skin ?
__________________
X-Cart: 4.7.7 LIVE Skin:Ultra by xcartmods.co.uk X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9) --------------- Server: Linux php: 5.3 mysql: 5.0.89 ---------------- |
|||||||
|
|||
X-Cart forums © 2001-2020
|