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 »  

webspaceunlimited
Advanced Member

United Kingdom
189 Posts

Posted - 12/14/2023 :  11:24:36  
Has. there been an update to the payment for this change over of servers?

Vince
Administrator

42761 Posts

Posted - 12/15/2023 :  03:17:33  

webspaceunlimited
Advanced Member

United Kingdom
189 Posts

Posted - 12/17/2023 :  07:44:46  
Thank you Vince

I have been trying to retire.... seems I have to carry on a little longer - one of my clients contacted me re the Opayo update and I thought damn .. Dep sigh .. deep intake of breath

So.. does the whole vsadmin need updating or it is just a couple of files?

Also I have renewed my support for 6 months in the hope its just 6 months lol
now the shopping cart in question is wordpress plugin not a simple php one the phpplusupdate v7/6.4 - have I subscribed for the wrong thing?

Vince
Administrator

42761 Posts

Posted - 12/18/2023 :  01:50:24  
quote:
So.. does the whole vsadmin need updating or it is just a couple of files?
Really, the updater is a case of copying the files and run the "updatestore.php" script. The changes for Opayo are in the inccart.php file but it depends on what version you are at now if you need just that file or all of them. So I would say, just copy all the updater files and run the updatestore.php script and that way you are sure you get all the necessary ones. And you may make a few improvements that you didn't even imagine.
quote:
Also I have renewed my support for 6 months in the hope its just 6 months lol
Good luck with that retirement. Send us a photo from the golf course.
quote:
now the shopping cart in question is wordpress plugin not a simple php one the phpplusupdate v7/6.4 - have I subscribed for the wrong thing?
The updater for WordPress is just the same as the one for the non-WordPress sites.

Vince

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

webspaceunlimited
Advanced Member

United Kingdom
189 Posts

Posted - 12/18/2023 :  04:07:30  
thank you Vince

this is the wordpress version I am talking bout so same process?


(I have been trying to retire for last few years - thought covid had managed it for me - but no seems there are still some older clients who want me (probably my prices lol - I dont think I have put them up since 2010) But more like chickens ducks and no neighbours is the ideal retirement - golf courses are a bit too people for me lol

webspaceunlimited
Advanced Member

United Kingdom
189 Posts

Posted - 12/18/2023 :  05:14:02  
Warning: Use of undefined constant ect - assumed 'ect' (this will throw an Error in a future version of PHP) in /home/sites/home-parcel-box.co.uk/public_html/cart.php on line 4

getting that error

Its running on php v7.4
wordpress using pro

webspaceunlimited
Advanced Member

United Kingdom
189 Posts

Posted - 12/18/2023 :  05:39:16  
okay bigger problems than that I have decided to update everything - so wordpress to latest version, php to 8.1 and update all plugins
seems the wordpress theme pro doesn't like the update is have renamed it for now - I am now at the ... no idea of a password - so do we have a password reset tool for the vsadmin?

webspaceunlimited
Advanced Member

United Kingdom
189 Posts

Posted - 12/18/2023 :  11:45:34  
okay ...
I have downloaded the php files added them to the site and ran the updater
I have also updated Wordpress core code and all plugins to the latest release

the site isnt working on the shopping cart end of things

I have read the help and it says I need to asddd to the cart pages

<link href="css/ectcart.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/ectcart.js"></script>


I have done this to just the cart page as this is where the site falls over - you add to cart and then on the cart.php page we get the following error

Fatal error: Uncaught Error: Undefined constant "ect" in /home/sites/home-parcel-box.co.uk/public_html/cart.php:4 Stack trace: #0 {main} thrown in /home/sites/home-parcel-box.co.uk/public_html/cart.php on line 4
There has been a critical error on this website.


Help ! :)

dbdave
ECT Moderator

USA
10409 Posts

Posted - 12/18/2023 :  17:26:15  
Hi, if you've gone from a really old version of PHP to 8+ then you likely need to check a few things.
See this post https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=107737

David

webspaceunlimited
Advanced Member

United Kingdom
189 Posts

Posted - 12/18/2023 :  23:53:58  
thank you Dave

But no its not the syntax of the <PHP in the includes or db connect file
its any of the ect pages on the site

products.php, prod-detail.php, cart.php etc.....

I am a bit stuck :(

Vince
Administrator

42761 Posts

Posted - 12/19/2023 :  03:36:04  
How about sending me the site FTP login details and I'll see what is up. I have to go out for a couple of hours now I'm afraid but I'll have a look when I'm back.

Vince

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

webspaceunlimited
Advanced Member

United Kingdom
189 Posts

Posted - 12/19/2023 :  03:39:17  
sorry I wrote that in haste earlier and it was a bit nonsensical

Okay to recap

Its a wordpress site running pro theme - I havent supported the site in years and the person last supporting it left it a few months back so I was aslked to revisit the site and get it working - along with the Opayo update

the site is using the wordpress version of php e-commerce templates plus

Now it was on php 7.4 and required a core wordpress update which conflicted with pro - and pro required a complete rename of the old pro directory and an update of the pro core theme -

I also changed the php version to 8.1 on the server
it has 512mb available memory and 512mb max upload

Wordpress and theme now fully updated - I downloaded and applied in full the updated and ran the database update

the wordpress component of the website works fine

the vsadmin is working fine with Opayo/ sagepay / elevon showing and looking good


My issue is on the shopping cart pages of the site
its either a theme compatibility since the update or a add into the page of the includes for products, cart etc for such shopping cart pages that are erroring and showing a fatal error

Fatal error: Uncaught Error: Undefined constant "ect"

so the header of all the eco pages has this script

<?php
$GLOBALS['ectcartpage']='cart';
require('./wp-ect-header.php');
get_header(ect);
?>

and I believe it is this that is where the page error is being caught on and stopping those pages loading / working

So.... has anyone some advice?

Many thanks



  « 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