X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   Smart Search and PHP7 (https://forum.x-cart.com/showthread.php?t=74902)

mattstyle2 06-19-2017 02:27 PM

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 ;)

Dougrun 06-19-2017 02:56 PM

Re: Smart Search and PHP7
 
now my LiveHelp app doesnt work so im back to 5 for now.

mattstyle2 06-19-2017 04:19 PM

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.

Dougrun 06-20-2017 08:31 AM

Re: Smart Search and PHP7
 
yeah, i can make a help.xxx.com subdomain and run php5 on that.

acrotech 04-10-2018 07:50 PM

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

susilosaja 04-10-2018 08:18 PM

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?

pauldodman 04-11-2018 12:46 AM

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!

acrotech 04-18-2018 07:18 AM

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.

BCSE 04-18-2018 08:09 AM

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

acrotech 04-18-2018 09:57 AM

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


All times are GMT -8. The time now is 12:25 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.