| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#1
|
|||||||
|
|||||||
Smart Search and PHP7
Has anyone tried making the latest unencrypted version of Smart Search to work on PHP7? I just upgraded to PHP7, and found some errors with it.
On the front-end, the ajax predictive search show some errors regarding the use of some deprecated functions, the mysql_ functions and preg_replace. Managed to fix these. On the back-end, opening Tools - Smart Search just show a blank page.
__________________
Susilo X-Cart 4.7.6 Gold Plus Template : Ultra Responsive Template Search module : Cloud Search PHP 7 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Smart Search and PHP7
We could help you if you'd like to drop us an email. We would need access to the apache error log file to see what is wrong so we can better quote.
http://www.bcsengineering.com/free_quote/ thanks! Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Smart Search and PHP7
we can get this fixed for you. Just open a ticket at https://www.cflsystems.com/support/
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#4
|
|||||||
|
|||||||
Re: Smart Search and PHP7
I got alterdcart onepage checkout to work with php 7 and xc4.7.7
remove: PHP Code:
from modules/cdseolinks/cdseo_config.php if you have that installed.. if not just add the code below to init.php and move it to /init.php after PHP Code:
and add a mysql_insert_id function so it looks like this PHP Code:
This will bring back the old mysql functions then mod /modules/Checkout_One/JSON.php (not sure this is required but I had to do it for hhvm to work). PHP Code:
finally change a template file: /skin/common_files/modules/Checkout_One/checkout_one_payment_methods.tpl line 29: PHP Code:
just comment out the code to make things display:none.. The radio buttons for payment were not available. seems to work.. I did a test order with a bad cc # and it declined it.. Using BSCE's authorize.net's DPM mod.. Still nned to figure out a way to subscribe mail chimp users still.. I'll update this as I work on it. also, there's a few @mysql_query functions in the Checkout_One code you need to change to @db_query find those.. cd modules/Checkout_One grep -r --include="*.php" "@mysql_query" find all instances and change to "@db_query" there's not that many. -Matt
__________________
4.7.7. php7.1, AWS RDS database memcache, reboot theme AWS EC2 load balancer, 2 c5.large instances CDSEO Shop By Filters, AC onepage checkout and checkout tools, altercart cash rewards, bcse DPM for paypal |
|||||||
|
#5
|
|||||||
|
|||||||
Re: Smart Search and PHP7
Check this cloud service: https://market.x-cart.com/addons/cloudsearch.html
It provides more functionality than SmartSearch
__________________
Sincerely yours, Max Vydrin |
|||||||
#6
|
|||||||
|
|||||||
Re: Smart Search and PHP7
Thanks for both the offers regarding Smart Search. I managed to fix it. Tools - Smart Search on the backend showed a blank page because it still uses the deprecated mysql_query function. It didn't show the error because there was this error suppresing operator '@' in front of those functions. The fix is just basically replacing all mysql_query function with xcart's db functions.
__________________
Susilo X-Cart 4.7.6 Gold Plus Template : Ultra Responsive Template Search module : Cloud Search PHP 7 |
|||||||
#7
|
|||||||
|
|||||||
Re: Smart Search and PHP7
Quote:
The drawback I find with Cloud Search is that it couldn't search on custom fields, which I do need. And the pricing. Other than that it seems like good stuff.
__________________
Susilo X-Cart 4.7.6 Gold Plus Template : Ultra Responsive Template Search module : Cloud Search PHP 7 |
|||||||
#8
|
|||||||
|
|||||||
Re: Smart Search and PHP7
Quote:
you can modify modules/Cloud_Search/func.php to make it search custom fields! just mod the query func_query(" SELECT p.product AS name, p.productcode AS sku, p.descr AS description, p.fulldescr AS fullDescription, p.productid AS id, p.keywords AS keywords, then append to description: $products[$k]['description'].=" ".$p['keywords']; --- how bout that?! CS is pretty cheap compared to other search providers such as SLI search. -Matt
__________________
4.7.7. php7.1, AWS RDS database memcache, reboot theme AWS EC2 load balancer, 2 c5.large instances CDSEO Shop By Filters, AC onepage checkout and checkout tools, altercart cash rewards, bcse DPM for paypal |
|||||||
|
#9
|
|||||||
|
|||||||
Re: Smart Search and PHP7
Quote:
Thanks! I might look into this again later.
__________________
Susilo X-Cart 4.7.6 Gold Plus Template : Ultra Responsive Template Search module : Cloud Search PHP 7 |
|||||||
#10
|
|||||||
|
|||||||
Re: Smart Search and PHP7
Quote:
Thanks, whis also works when still on php 5.6 but upgrading to X-Cart 4.7.7, I did not have to change mysql_query though for just 4.7.7 on php 5.5.
__________________
X-Cart 4.7.7 Fashion Walk template CDSEO pro, remember anoymous carts, checkout one and some mods I've done myself (ideal, froogle, export shipping labels) @Linux php5.6, mysql5.6, dedicated server iDeal Advanced v3.3.1 integration |
|||||||
|
|||
X-Cart forums © 2001-2020
|