PaulP
Advanced Member
USA
213 Posts |
Posted - 09/05/2019 : 09:58:01
Hello ECT, I just updated my store from 6.94 to 7.14. Or so I thought. After the update none of the Buy now or Checkout buttons work and the version reads "Ecommerce Plus PHP v7.1.3" I didn't notice when I ran the updatestore.php it said "Version PHP v7.1.3 Ecommerce Templates PHP Updater" after I ran the updater it said Everything updated successfully ! ! !. I checked the store and found that none of the Buy now or Checkout buttons work and the version reads "Ecommerce Plus PHP v7.1.3" so I went back and downloaded the 7.14 again. The extracted folder reads "phpplusupdate_v7.1.4_" so I uploaded the files again and started to run the updatestore.php and that's when I found it says "Version PHP v7.1.3 Ecommerce Templates PHP Updater" So here I am. I tried to update the store, the updater folder I downloaded says it's v7.1.4 but after I ran the v7.1.4 update it says the version is "Ecommerce Plus PHP v7.1.3" and none of the Buy now or Checkout buttons work.  Please HELP!  Yours Truly, Paul P. Longtime ECT Customer
|
DLSS
ECT Moderator
Canada
3958 Posts |
Posted - 09/05/2019 : 10:10:45
|
PaulP
Advanced Member
USA
213 Posts |
Posted - 09/05/2019 : 10:18:07
Hi DLSS, The css, images, js and vsadmin folders were uploaded along with emailfriend.php and updatestore.php and I cleared my browsers data also.
Yours Truly, Paul P. Longtime ECT Customer
Edited by - PaulP on 09/05/2019 10:19:39
|
1818charlie
ECT Moderator
United Kingdom
1198 Posts |
Posted - 09/05/2019 : 10:39:34
Hi
I have emailed Vince earlier regarding the 7.1.4 still showing as 7.1.3 The incfunctions file does state 7.1.4 though. I'm sure Vince will sort it, ECT always does.
Steve Manchester, UK.
|
dbdave
ECT Moderator
USA
10468 Posts |
Posted - 09/05/2019 : 11:45:18
Hi Paul, what you should do is view a page in your browser that the buttons do not work, then right click to view the page source. Look for the link to the ectcart.js file and make sure you have a valid path there and the file is present. If you want to post a link, I'll be happy to check the page for you.
David
|
PaulP
Advanced Member
USA
213 Posts |
Posted - 09/05/2019 : 12:04:08
Hi dbdave, Thanks for your reply. Here is the link. https://www.chicagopcm.org
|
dbdave
ECT Moderator
USA
10468 Posts |
Posted - 09/05/2019 : 12:12:19
Hi, when viewing the source of this page, https://www.chicagopcm.org/proddetail.php?prod=Nato-Pins there is no refrence to the ectcart.js file. In the head of all of the pages, you must link to the file, just like you have done with the ectcart.css file. <script type="text/javascript" src="/js/ectcart.js"></script>(assuming you have the ectcart.js file in a folder named js, in the root of the site) Add that to all of the store pages and you should be good to go. 
Edited by - dbdave on 09/05/2019 12:13:53
|
PaulP
Advanced Member
USA
213 Posts |
Posted - 09/05/2019 : 12:46:43
Hi dbdave, Thank you for your reply. I added the "<script type="text/javascript" src="/js/ectcart.js"></script>" line to ALL the pages in the root directory and the Buy now and Checkout buttons work now however the cart is working funny. When you delete a item from the cart and go back to buy another product when you checkout the deleted item is still there.
Please run it thru its paces (add and delete items) and see what happens to you.
P.S. it still shows Ecommerce Plus PHP v7.1.3
Yours Truly, Paul P. Longtime ECT Customer
Edited by - PaulP on 09/05/2019 12:47:42
|
1818charlie
ECT Moderator
United Kingdom
1198 Posts |
Posted - 09/05/2019 : 13:16:54
Adding the Chicago Wood Flag shows in the popup soft cart but when continuing to checkout the cart is empty
Steve Manchester, UK.
|
PaulP
Advanced Member
USA
213 Posts |
Posted - 09/05/2019 : 13:25:30
Hi 1818charlie, I'm having the same problem and others.
I wonder if the updater is the problem?
Yours Truly, Paul P. Longtime ECT Customer
Edited by - PaulP on 09/05/2019 13:25:50
|
PaulP
Advanced Member
USA
213 Posts |
Posted - 09/05/2019 : 13:29:26
Has anyone else had this problem after running the 7.1.4 updater?
Yours Truly, Paul P. Longtime ECT Customer
Edited by - PaulP on 09/05/2019 13:30:07
|
dbdave
ECT Moderator
USA
10468 Posts |
Posted - 09/05/2019 : 14:54:15
It sounds link you might have some heavy caching going on with your pages. When I refresh the cart, things sort out. Can you check to see if you have an .htaccess file on the server and see if there is a cache setting in there? If so, remove it.
Something similar came up in this recent thread - https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=111840
|
PaulP
Advanced Member
USA
213 Posts |
Posted - 09/05/2019 : 17:22:53
Hi dbdave, thanks for your reply. this is what's on the .htaccess file
RewriteCond %{HTTP_HOST} chicagopcm\.org [NC] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.chicagopcm.org/$1 [R,L]
Yours Truly, Paul P. Longtime ECT Customer
|
dbdave
ECT Moderator
USA
10468 Posts |
Posted - 09/05/2019 : 17:51:58
I ran your cart page through a header check tool and I see this
Cache-Control max-age=2592000 Expires Sun, 06 Oct 2019 00:48:38 GMT
I expect that's your issue and you should show that to your host so they can fix it. It's pretty extreme.
Edited by - dbdave on 09/05/2019 17:52:21
|
PaulP
Advanced Member
USA
213 Posts |
Posted - 09/06/2019 : 10:03:32
Hello to all that replied to this topic, I was given this code from my server monitor and he said to insert it after all the text that is on the .htaccess file in the Root Directory. <IfModule mod_headers.c> Header set Cache-Control "no-cache, no-store, must-revalidate" Header set Pragma "no-cache" Header set Expires 0 </IfModule> After inserting the code everything seem to be working fine. If any of you get a chance please try it and see if the Cache-Control problem is solved. https://www.chicagopcm.org Make sure you clear your browsing history before you visit the site.Thanks again for everyone's help. Now if I can get Vince or Andy to help with the "phpplusupdate_v7.1.4_ Updater problem I'll be all set. Yours Truly, Paul P. Longtime ECT Customer
Edited by - PaulP on 09/06/2019 10:05:32
|
1818charlie
ECT Moderator
United Kingdom
1198 Posts |
Posted - 09/06/2019 : 10:19:31
Paul,
Yes that appears to have worked. Just added 3 Wood Flags to cart and successfully made it to the customer details page. That didn't happen yesterday. Also, returning to the cart page shows the 3 items and I have successfully deleted them.
Steve Manchester, UK.
Edited by - 1818charlie on 09/06/2019 10:22:19
|
dbdave
ECT Moderator
USA
10468 Posts |
Posted - 09/06/2019 : 10:29:03
quote: Now if I can get Vince or Andy to help with the "phpplusupdate_v7.1.4_ Updater problem I'll be all set.
What's the issue with the updater? David
|
1818charlie
ECT Moderator
United Kingdom
1198 Posts |
Posted - 09/06/2019 : 10:33:08
quote: What's the issue with the updater?
Hi Dave After updating the store admin still shows as previous version and that version 7.1.4 is available as an update. The incfunctions.php file does state at the top that it's 7.1.4 Also when updatestore.php is load in the browser it states update to 7.1.3 I've run the update 3 times on one site and on a test installation and get the same :-( Steve Manchester, UK.
Edited by - 1818charlie on 09/06/2019 10:34:23
|
Vince
Administrator
42874 Posts |
Posted - 09/06/2019 : 10:35:14
|
1818charlie
ECT Moderator
United Kingdom
1198 Posts |
Posted - 09/06/2019 : 10:39:25
Cheers Vince, all spot-on  Steve Manchester, UK.
Edited by - 1818charlie on 09/06/2019 10:47:13
|
PaulP
Advanced Member
USA
213 Posts |
Posted - 09/06/2019 : 17:11:17
Hello All, I downloaded the NEW 7.1.4 Updater, and uploaded it to the store and ran the updatestore.php and all is well. The admin page now shows the correct update (Ecommerce Plus PHP v7.1.4) Thank you Vince for all your help and correcting the new updater, and thanks again to all of you who helped me with the other problems. Take care, God bless and have a great weekend. Yours Truly, Paul P. Longtime ECT Customer 
|
|
|