Tinsle
Advanced Member
United Kingdom
342 Posts |
Posted - 02/26/2019 : 08:55:24
We have just upgraded the template to the new PHP v7.0.3 however the below fatal error is appearing when we click on "STORE ADMIN" within our admin page? Also we are not receiving order at your store emails or resending emails since the update??
Fatal error: Uncaught Error: Call to undefined function microtime_float() in /var/www/vhosts/######.co.uk/httpdocs/vsadmin/inc/incadmin.php:7 Stack trace: #0 /var/www/vhosts/######.co.uk/httpdocs/vsadmin/admin.php(44): include() #1 {main} thrown in /var/www/vhosts/######.co.uk/httpdocs/vsadmin/inc/incadmin.php on line 7
Please advise?
Regards
Kevin
|
Andy
ECT Moderator
95440 Posts |
Posted - 02/26/2019 : 09:00:07
Hi Kevin I just wrote to you about this, do you have any csv mods installed like the one here https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=111132 Are you using phpmailer in the main admin settings? Andy Please feel free to review / rate our software
|
Tinsle
Advanced Member
United Kingdom
342 Posts |
Posted - 02/26/2019 : 09:05:56
Hi Andy we do not have any mods running?
With regards to the emails issue, we have tried both ways, setting "use default PHP mail () funtion" and also setting the SMTP password however we are still not receiving any emails through?
Kevin
|
Tinsle
Advanced Member
United Kingdom
342 Posts |
Posted - 02/26/2019 : 09:17:36
Hello Andy
I think its because we made a change to the incfunctions.php page when we had issues with payments we added the below line of code in the file so that payments would be authenticated:
curl_setopt($ch, CURLOPT_SSLVERSION, 6);
When we remove this code the STORE ADMIN page works however the same payment issue happens during checkout "SSL connect error". WHen we add the code paypal express works however the hosted checkout no customer details appear at all.
I think we need to revert back our old v6.9.3 until these problems are corrected.
Can you let me know how we can revert back to our old version that we were using?
Thank you
Regards
Kevin
|
Andy
ECT Moderator
95440 Posts |
Posted - 02/26/2019 : 09:24:38
|
Tinsle
Advanced Member
United Kingdom
342 Posts |
Posted - 02/26/2019 : 09:31:14
Hi Andy we are using a PayPal hosted solution.
I have a backup of all VSADMIN and php files before the change was made, can i just upload the files to the server and replace the current ones?
Kevin
|
Andy
ECT Moderator
95440 Posts |
Posted - 02/26/2019 : 09:49:34
|
Tinsle
Advanced Member
United Kingdom
342 Posts |
Posted - 02/26/2019 : 09:53:16
Ok thanks Andy,
I think we will have to revert back to the old version for now as this may take some time to figure out exactly what the problem is
Regards
Kevin
|
Tinsle
Advanced Member
United Kingdom
342 Posts |
Posted - 02/26/2019 : 10:06:30
Hi Andy
Do you have any idea why the customer fields and buttons were not appearing on our cart.php page?
I have disabled the hosted solution for now, but it is strange why no fields and buttons were appearing on the cart detail / address page?
Kevin
|
Andy
ECT Moderator
95440 Posts |
Posted - 02/26/2019 : 10:11:01
|
Tinsle
Advanced Member
United Kingdom
342 Posts |
Posted - 02/26/2019 : 10:14:15
Apologies Andy looks like i posted in another thread in error, can you direct me to the reply as i am not too sure where i posted the message to?
Regards
Kevin
|
Andy
ECT Moderator
95440 Posts |
Posted - 02/26/2019 : 10:26:28
|
Tinsle
Advanced Member
United Kingdom
342 Posts |
Posted - 02/26/2019 : 10:39:33
Hi Andy
Yes I believe we have already uploaded and linked to the ectcart.js and ectcart.css files.
Can you direct me to the support page where this is specified so I can check this?
Regards
Kevin
|
Andy
ECT Moderator
95440 Posts |
Posted - 02/26/2019 : 10:57:26
|
Tinsle
Advanced Member
United Kingdom
342 Posts |
Posted - 02/26/2019 : 11:27:34
I have just enabled the hosted solution again.
Add an item to the cart. Click on "Secure Checkout button". On the cart.php page you will see that "Please enter your customer details." is displayed at the top of the page however the form and fields below it are not present?
Regards
Kevin
|
Andy
ECT Moderator
95440 Posts |
Posted - 02/26/2019 : 11:40:43
I see it now. Is this after going back to the previous version or with the update? I would turn off the hosted version and very quickly and temporarily enable email as a payment method. That should let us know if it's a payment issue or something more general. Andy Please feel free to review / rate our software
|
Vince
Administrator
42874 Posts |
Posted - 02/26/2019 : 11:43:43
|
Tinsle
Advanced Member
United Kingdom
342 Posts |
Posted - 02/26/2019 : 11:47:37
Hi Andy this is the new update still, i have not reverted back to the old version yet.
I have disabled the hosted and enabled "email" as a form of payment provider however the same issue is present on the cart.php ? Nothing is displayed? ....I will disable the email payment provider also and only allow paypal express as this seems to be working fine when directed away from our website.
Kevin
|
Vince
Administrator
42874 Posts |
Posted - 02/26/2019 : 11:56:22
quote: When we remove this code the STORE ADMIN page works however the same payment issue happens during checkout "SSL connect error". WHen we add the code paypal express works however the hosted checkout no customer details appear at all.
If you have the new version of incfunctions.php then you won't get the error about the "undefined function microtime_float()". I think what you are doing is either using the new incfunctions.php OR using the old version with your change but you can't do that. You have to use the new incfunctions.php and merge your change into it if necessary. Vince Click Here for Shopping Cart SoftwareClick Here to sign up for our newsletterClick Here for the latest updater
|
Tinsle
Advanced Member
United Kingdom
342 Posts |
Posted - 02/26/2019 : 12:00:54
Hi Vince,
WHen we upload the new incfunctions.php file the cart.php page displayed correctly however due to a cURL issue as raised last year payments were not going through successfully because of an SSL connect error.
The below line of code was added to our incfunctions.php page for paypal express and card payments to be processed successfully:
curl_setopt($ch, CURLOPT_SSLVERSION, 6);
Without this code the cart.php does not display correctly?
And ideas how we can get this resolved?
Regards
Kevin
|
Tinsle
Advanced Member
United Kingdom
342 Posts |
Posted - 02/26/2019 : 12:02:46
Hi Vince,
Thanks for your message.
So if we add the below code into the new incfunctions.php file do you think this will correct the issue?
curl_setopt($ch, CURLOPT_SSLVERSION, 6);
Regards
Kevin
|
|