eCart 4 convert to run on php 7+
Hi I am having issues to convert eCart 4 to php 7.3+ can anybody help updating the ecart configuration?
Hi I am having issues to convert eCart 4 to php 7.3+ can anybody help updating the ecart configuration?
You will need to update to eCart 6. Then just update your cart object and the code will be updated automatically.
Hi Ray thanks for your reply. I am running an old version of dreamweaver which does not support eCart6. The site was built a long time ago. Can you please give me a different solution?
What version of Dreamweaver are you using?
You would have to have someone that owns eCart6 update it for you.
I could go in and do it in a premier support ticket, but you might want to consider updating to Dreamweaver CS6 so you can use our extensions moving forward to update your sites on your own instead of hiring someone else to do it.
It probably isn't just your cart that needs to be updated. It would be all of your database references on the entire site. If you don't plan on updating Dreamweaver, then I wouldn't update php version either.
Hi Ray, I am going to update to dreamweaver CS6, but i managed to gert the cart working on 7.3 (I have updated all pages to it) now I am having only this error message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in C:\wamp64\www\positivejew7\WA_eCart\Adv_CO_Scripts\PP_DirectPayment_PHP.php on line 253 - Here is the code at line 253.
----///------
$SessionVal = strtolower($_SESSION["PP_DirectPayment"]);
if (strpos($SessionVal,"<".strtolower($paramName))>=0 && strpos($SessionVal,"</"+strtolower($paramName))>=0) {
$retVal = substr(strval($_SESSION["PP_DirectPayment"]),strpos($SessionVal,"<".strtolower($paramName)),strpos($SessionVal,"</".strtolower($paramName))-strpos($SessionVal,"<".strtolower($paramName)));
$retVal = substr($retVal,strpos($retVal,">")+1);
}
-----///------
That is a warning not an error, so I think you can just turn off warning messages. I've attached the latest version of that include. I think you can just replace it and it will be fixed as well.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.