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
Author « Topic »  

jbogart
New Member

USA
51 Posts

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

Posted - 01/02/2019 :  08:41:32  
Any suggestions on why this file would be changed without our input? It's happened twice now on godaddy? The code that has been removed is the line below which causes any link to the shopping cart to generate a 404 error.


2 lines after "public function handle_404"

****
(@$GLOBALS['ectcartpage']!='')return
***
We also noted that their "statistics" function had been turned on again... it didn't generate the SQL error but that may have been because this error superseded.

Thanks for the suggestions.

John


johnb

Andy
ECT Moderator

95440 Posts

Posted - 01/02/2019 :  08:45:04  
Hi John

Can you make sure you don't have a plugin called Custom Core Update and delete it if you do.

Andy

Please feel free to review / rate our software

jbogart
New Member

USA
51 Posts

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

Posted - 01/02/2019 :  08:47:00  
We don't have that one Andy.

johnb

Andy
ECT Moderator

95440 Posts

Posted - 01/02/2019 :  08:50:20  
I misread, you're saying you have added that but it's being overwritten? You shouldn't really need that - what is the code at the top of cart.php?

Andy

Please feel free to review / rate our software

jbogart
New Member

USA
51 Posts

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

Posted - 01/02/2019 :  08:52:45  
<?php
$GLOBALS['ectcartpage']='cart';
require('./wp-blog-header.php');
get_header(ect);
?>

johnb

Andy
ECT Moderator

95440 Posts

Posted - 01/02/2019 :  08:58:07  
I would change it to


<?php
$GLOBALS['ectcartpage']='cart';
require('./wp-config.php');
$wp->init();
$wp->parse_request();
$wp->query_posts();
$wp->register_globals();
get_header(ect);
?>

Andy

Please feel free to review / rate our software
  « 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