close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

eCart 4 convert to run on php 7+

Thread began 1/08/2021 6:15 am by ccdantas101117 | Last modified 1/08/2021 3:08 pm by Ray Borduin | 658 views | 8 replies |

ccdantas101117

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?

Sign in to reply to this post

Ray BorduinWebAssist

You will need to update to eCart 6. Then just update your cart object and the code will be updated automatically.

Sign in to reply to this post
Did this help? Tips are appreciated...

ccdantas101117

eCart4 php 7

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?

Sign in to reply to this post

Ray BorduinWebAssist

What version of Dreamweaver are you using?

Sign in to reply to this post
Did this help? Tips are appreciated...

ccdantas101117

Dreamweaver 8.0.2

Sign in to reply to this post

Ray BorduinWebAssist

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.

Sign in to reply to this post
Did this help? Tips are appreciated...

ccdantas101117

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

Sign in to reply to this post

Ray BorduinWebAssist

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.

Attached Files
PP_DirectPayment_PHP.php
Sign in to reply to this post
Did this help? Tips are appreciated...

ccdantas101117

Thanks it works

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...