kkelso
Starting Member
USA
14 Posts Pre-sales questions only (More Details...)
|
Posted - 07/19/2018 : 21:54:59
Since updating to 6.9.4, I can login with a user id and add items to a cart. When I try to delete, update, or checkout, I get a 404 Page Not Found error. I've followed the directions to add both ectcart.css and ectcart.js to their appropriate directories. I have insured the file permissions are set to the correct user:group and have included <link> and <script> entries for these in every store page. I've enabled F12 developer tools in IE, Edge, and Chrome. I note the link and script tags for the new ectcart.js/ectcart.css. I note 3 warning messages in the F12 console: [cycle] terminating; zero elements found by selector. I don't know what this means. This is the url on the 404 page address bar: http://www.tek-tite.com/cart?lid=0#oc I have to ask in this forum as the developer for my client.
Edited by - kkelso on 07/19/2018 22:15:58
|
Andy
ECT Moderator
95440 Posts |
Posted - 07/19/2018 : 23:50:51
|
kkelso
Starting Member
USA
14 Posts Pre-sales questions only (More Details...)
|
Posted - 07/20/2018 : 05:45:27
Hi Andy, Thank you for your reply. I have not yet switched over to extensionless URL's. Adding the $extension=""; variable to includes.php does not sort out the issue. I have also tried using $extension="/"; with no luck. Strangely, using either version causes the static user defined images on the 404 page to not be found. Should I switch over to using extensionless URL's?
|
Andy
ECT Moderator
95440 Posts |
Posted - 07/20/2018 : 06:12:39
Adding it wouldn't help, I thought it might have been added already and that was the cause of the file extension going missing. Can you check the .htaccess file to see if there's anything there that might turn off the file extension? Would it also be possible to use your client's email in the forum account so you don't show as pre-sales? Andy Please feel free to review / rate our software
|
SCOTT MELE
Starting Member
8 Posts Pre-sales questions only (More Details...)
|
Posted - 07/20/2018 : 07:22:55
Andy, I'm the client.
|
Andy
ECT Moderator
95440 Posts |
Posted - 07/20/2018 : 07:26:59
|
SCOTT MELE
Starting Member
8 Posts Pre-sales questions only (More Details...)
|
Posted - 07/20/2018 : 07:29:22
Over to you, Karl
|
kkelso
Starting Member
USA
14 Posts Pre-sales questions only (More Details...)
|
Posted - 07/20/2018 : 08:01:56
After extensive searching this forum last night, I modified our .htaccess to this. However, it doesn't seem to help either.
ErrorDocument 404 /404.shtml <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} ^tek-tite\.com [NC] RewriteRule (.*) http://www.tek-tite.com/$1 [L,R=301] </IfModule>
|
Andy
ECT Moderator
95440 Posts |
Posted - 07/20/2018 : 08:07:25
|
kkelso
Starting Member
USA
14 Posts Pre-sales questions only (More Details...)
|
Posted - 07/20/2018 : 08:45:18
Yes, in both the store URL and the https store URL
|
Andy
ECT Moderator
95440 Posts |
Posted - 07/20/2018 : 09:02:25
The path to the next cart stage, where yours is erroring is made up of the HTTPS Store URL, looking at the code the only modification to that would come from the $extension parameter as far as I can see. Can you double check includes.php that there's no mention there of $extension or yourstore.com/cart/ in any other parameter. One other thing you can try, if you haven't already, is to upload all the updater files again just to be sure they all made it across. There's no custom coding or Mods on the store is there? Andy Please feel free to review / rate our software
|
kkelso
Starting Member
USA
14 Posts Pre-sales questions only (More Details...)
|
Posted - 07/20/2018 : 10:09:03
Andy, Thank you for your assistance. I double checked includes.php and do not find any mention of $extension, or /cart anywhere. I specifically wrote this website without making any changes to ECT code just to avoid issues such as this.
However, I reuploaded the entire 6.9.4 updater, and son-of-a-gun, it works now! That's the first time in more than 8 years of updates that I've ever had to do that. I will definitely remember this for next time, should it ever happen again.
|
Andy
ECT Moderator
95440 Posts |
Posted - 07/20/2018 : 10:17:28
|
|
|