Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

threecrow
Ecommerce Template Expert

USA
773 Posts

Pre-sales questions only
(More Details...)

Posted - 07/03/2019 :  09:52:58  
Have issues with the ECT WordPress Plug-ins in PHP higher than 5.6.

Site does a mini crash, displays that it is having Technique Problems.

John

Don't make excuses. It's what you do, not why you didn't.

DLSS
ECT Moderator

Canada
3956 Posts

Posted - 07/03/2019 :  10:05:36  
Is there a url to see the issue?. Which plugin are you having trouble with?

Mike Beebe
President,
DataLinks Software Solutions
www.dlss.ca

Rate Me Here

ASP and PHP mods - www.dlss.ca/products.asp
A Tremendous Home - Home Decor and Design, D-I-Y Projects, Home Life, Recipes - www.ATremendousHome.com

threecrow
Ecommerce Template Expert

USA
773 Posts

Pre-sales questions only
(More Details...)

Posted - 07/03/2019 :  10:15:16  
These are the only one at this time being used.

ECT Custom URLs
ECT Store Widgets
ECT Easy Nav


John

Don't make excuses. It's what you do, not why you didn't.

threecrow
Ecommerce Template Expert

USA
773 Posts

Pre-sales questions only
(More Details...)

Posted - 07/03/2019 :  10:17:19  
Apologies,

If PHP Version is set to version higher than PHP 5.6. Site wide error thrown.

John

Don't make excuses. It's what you do, not why you didn't.

DLSS
ECT Moderator

Canada
3956 Posts

Posted - 07/03/2019 :  11:03:09  
Can you disable them and enable each one individually to see which, if not all cause the issue.

Mike Beebe
President,
DataLinks Software Solutions
www.dlss.ca

Rate Me Here

ASP and PHP mods - www.dlss.ca/products.asp
A Tremendous Home - Home Decor and Design, D-I-Y Projects, Home Life, Recipes - www.ATremendousHome.com

threecrow
Ecommerce Template Expert

USA
773 Posts

Pre-sales questions only
(More Details...)

Posted - 07/03/2019 :  11:26:55  
Got it narrowed to:

"Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, ECT Custom URLs."




John

Don't make excuses. It's what you do, not why you didn't.

DLSS
ECT Moderator

Canada
3956 Posts

Posted - 07/03/2019 :  11:57:25  
I can not get it to error on a test site. Do you get an error message?

Mike Beebe
President,
DataLinks Software Solutions
www.dlss.ca

Rate Me Here

ASP and PHP mods - www.dlss.ca/products.asp
A Tremendous Home - Home Decor and Design, D-I-Y Projects, Home Life, Recipes - www.ATremendousHome.com

Vince
Administrator

42764 Posts

Posted - 07/03/2019 :  15:06:48  
Hi John
Have you updated the database connection to mySQLi from mySQL? If you look in your database connection file for instance you should have a block of code like this...

$GLOBALS['ectdatabase'] = @mysqli_connect($db_host, $db_username, $db_password, $db_name);
if(mysqli_connect_error()){
ob_clean();
print '<html><head><title>Database connect error</title></head><body><div style="margin:20px;clear:both">Database Connect Error (' . mysqli_connect_errno() . ') ' . mysqli_connect_error() . '</div>';
print('<div style="margin:20px;clear:both">You need to set your database connection in vsadmin/db_conn_open.php</div>');
print '<div style="margin:20px;clear:both">For help setting your database connection please see...<br />';
print '<a href="https://www.ecommercetemplates.com/phphelp/ecommplus/instructions.asp#dbconn" target="_blank">https://www.ecommercetemplates.com/phphelp/ecommplus/instructions.asp#dbconn</a></div>';
print '<div style="margin:20px;clear:both">We also have a support forum here...<br />';
print '<a href="https://www.ecommercetemplates.com/support/" target="_blank">https://www.ecommercetemplates.com/support/</a></div>';
die('</body></html>');
}



Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Vince
Administrator

42764 Posts

Posted - 07/03/2019 :  15:14:48  
Hi John
However, thinking about it really, the way to go here is to find the actual error message. Do you have error logs? If so, can you have a look and see if there are any errors listed?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

threecrow
Ecommerce Template Expert

USA
773 Posts

Pre-sales questions only
(More Details...)

Posted - 07/03/2019 :  18:36:42  
Vince, the block you supplied above was add and what I had in the file was removed. My original ECT software is from 2007.



John

Don't make excuses. It's what you do, not why you didn't.

Edited by - threecrow on 07/04/2019 09:51:57

threecrow
Ecommerce Template Expert

USA
773 Posts

Pre-sales questions only
(More Details...)

Posted - 07/03/2019 :  18:47:04  
I've downloaded fresh copies of the ECT Plug-ins and uploaded.

Got the same.

John

Don't make excuses. It's what you do, not why you didn't.

Vince
Administrator

42764 Posts

Posted - 07/04/2019 :  02:27:28  
Hi John
This function which is in the error...
mysql_real_escape_string
...would only normally be called if you were using the old database connection or your ECT cart code hadn't been updated.
You have the new mySQLi database connection set you say, but have you also tried updating the cart? If not, can you do that first and if you still get the problem, please send me the site FTP login details to vince AT ecommercetemplates DOT com

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

DLSS
ECT Moderator

Canada
3956 Posts

Posted - 07/04/2019 :  06:34:47  
I think you nailed it Vince. The old connection string.

Mike Beebe
President,
DataLinks Software Solutions
www.dlss.ca

Rate Me Here

ASP and PHP mods - www.dlss.ca/products.asp
A Tremendous Home - Home Decor and Design, D-I-Y Projects, Home Life, Recipes - www.ATremendousHome.com

Vince
Administrator

42764 Posts

Posted - 07/04/2019 :  10:26:08  
quote:
Vince, the block you supplied above was add and what I had in the file was removed. My original ECT software is from 2007.
This has to be updated. In fact wordpress, the plugins, everything needs updating to use PHP 7.0 as old mySQL connections will no longer work.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

threecrow
Ecommerce Template Expert

USA
773 Posts

Pre-sales questions only
(More Details...)

Posted - 07/06/2019 :  19:04:04  
Almost got this in the bag. Just a couple things to workout.

John

Don't make excuses. It's what you do, not why you didn't.
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000