Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Smart Search and PHP7

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #31  
Old 06-19-2017, 02:27 PM
 
mattstyle2 mattstyle2 is offline
 

Advanced Member
  
Join Date: Apr 2015
Posts: 54
 

Default Re: Smart Search and PHP7

Quote:
Originally Posted by Dougrun
It WORKS!! The little grep -r --include="*.php" "@mysql_query" didnt work, i had to manually go through them and found a bunch that didnt update. Thanks!

Any other snafu's I should know about with php7?

great news! maybe u had to put a . after.. so the command probably should of been

"grep -r --include="*.php" "@mysql_query" ."

I think everything else works ok
__________________
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
Reply With Quote
  #32  
Old 06-19-2017, 02:56 PM
 
Dougrun Dougrun is offline
 

X-Adept
  
Join Date: Apr 2012
Posts: 895
 

Default Re: Smart Search and PHP7

now my LiveHelp app doesnt work so im back to 5 for now.
__________________
4.7.x xcart store
Business 5.4xx
Reply With Quote
  #33  
Old 06-19-2017, 04:19 PM
 
mattstyle2 mattstyle2 is offline
 

Advanced Member
  
Join Date: Apr 2015
Posts: 54
 

Default Re: Smart Search and PHP7

Quote:
Originally Posted by Dougrun
now my LiveHelp app doesnt work so im back to 5 for now.

can you run the livehelp app on another server? I run Kayako on another server cuz I have an old version of it which is not compatible with php7.

there's also ways to run multiple versions of php on a server so that a certain subfolder will run php5 and another folder uses php7.. Nginx makes that easy.. I did not mess with that setup though since apache seems a little more intense to setup.. plus I just used an old webserver for the helpdesk..

I also removed the livechat feature from the site.. it was ok, but people can just call or email.
Reply With Quote

The following user thanks mattstyle2 for this useful post:
Dougrun (06-20-2017)
  #34  
Old 06-20-2017, 08:31 AM
 
Dougrun Dougrun is offline
 

X-Adept
  
Join Date: Apr 2012
Posts: 895
 

Default Re: Smart Search and PHP7

yeah, i can make a help.xxx.com subdomain and run php5 on that.
__________________
4.7.x xcart store
Business 5.4xx
Reply With Quote
  #35  
Old 04-10-2018, 07:50 PM
 
acrotech acrotech is offline
 

Advanced Member
  
Join Date: Aug 2008
Location: NY, USA
Posts: 35
 

Default Re: Smart Search and PHP7

this is an old thread, but where can I find the decrypted version of smart search module? We are now finally trying to upgrade to php7.
Thanks for any help
__________________
xcart classic
4.7.12 Platinum
php 7.x
Reply With Quote
  #36  
Old 04-10-2018, 08:18 PM
 
susilosaja susilosaja is offline
 

Advanced Member
  
Join Date: Feb 2013
Posts: 88
 

Default Re: Smart Search and PHP7

Quote:
Originally Posted by acrotech
this is an old thread, but where can I find the decrypted version of smart search module? We are now finally trying to upgrade to php7.
Thanks for any help

maybe try to contact bill?
__________________
Susilo
X-Cart 4.7.6 Gold Plus
Template : Ultra Responsive Template
Search module : Cloud Search
PHP 7

Last edited by qualiteam : 04-10-2018 at 08:45 PM.
Reply With Quote
  #37  
Old 04-11-2018, 12:46 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

Default Re: Smart Search and PHP7

Quote:
Originally Posted by acrotech
this is an old thread, but where can I find the decrypted version of smart search module? We are now finally trying to upgrade to php7.
Thanks for any help

Sent you a PM!
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #38  
Old 04-18-2018, 07:18 AM
 
acrotech acrotech is offline
 

Advanced Member
  
Join Date: Aug 2008
Location: NY, USA
Posts: 35
 

Default Re: Smart Search and PHP7

Thanks for the help. Purchased the source for smart-search and made the recommended changed related to mysql_query.

I see that there are a few preg_replace() calls in smart_search_functions.php.
Can someone please help on how what to change here?

The search is failing as this is deprecated in php7.

thanks for your help.
__________________
xcart classic
4.7.12 Platinum
php 7.x
Reply With Quote
  #39  
Old 04-18-2018, 08:09 AM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,060
 

Default Re: Smart Search and PHP7

Quote:
Originally Posted by acrotech
Thanks for the help. Purchased the source for smart-search and made the recommended changed related to mysql_query.

I see that there are a few preg_replace() calls in smart_search_functions.php.
Can someone please help on how what to change here?

The search is failing as this is deprecated in php7.

thanks for your help.

Are you sure that's the calls that are giving you troubles? That one is still in php 7. Are you referring to ereg_replace instead?

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!
Reply With Quote
  #40  
Old 04-18-2018, 09:57 AM
 
acrotech acrotech is offline
 

Advanced Member
  
Join Date: Aug 2008
Location: NY, USA
Posts: 35
 

Default Re: Smart Search and PHP7

Yeah, I am pretty sure that is causing the issue.
The log files says
preg_replace(): the /e modifier is deprecated, use preg_replace_callback instead and points to the smart_search_funtions.php
__________________
xcart classic
4.7.12 Platinum
php 7.x
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:08 AM.

   

 
X-Cart forums © 2001-2020