Community Forums

1.5.1.2 Order status. link error.

Bug reports here

1.5.1.2 Order status. link error.

Postby srunyon1 » Sun Sep 11, 2011 1:47 am

Ok I had this same problem with 1.5.1.1 so I upgraded..
I saw the order status link work once then going back to it it gets this error.

Code: Select all
Notice: Undefined variable: order_id in /home4/zigzterc/public_html/shop/catalog/controller/account/order.php on line 110Warning: Cannot modify header information - headers already sent by (output started at /home4/zigzterc/public_html/shop/index.php:104) in /home4/zigzterc/public_html/shop/vqmod/vqcache/vq-system_engine_controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home4/zigzterc/public_html/shop/index.php:104) in /home4/zigzterc/public_html/shop/vqmod/vqcache/vq-system_engine_controller.php on line 29


I replaced the Order.php just to see if it fixed it but no luck.
is there a fix for this??
srunyon1
 
Posts: 251
Joined: Thu Jan 28, 2010 7:03 am

Re: 1.5.1.2 Order status. link error.

Postby srunyon1 » Sun Sep 11, 2011 2:05 am

Ok the plot thickens..
if you login to your account first the links work fine.
Seems like some thing wrong with the redirect here.. .
srunyon1
 
Posts: 251
Joined: Thu Jan 28, 2010 7:03 am

Re: 1.5.1.2 Order status. link error.

Postby Daniel » Sun Sep 11, 2011 3:20 am

already been fixed.
OpenCart®
Project Owner & Developer.
OpenCart commercial support now available!
User avatar
Daniel
Administrator
 
Posts: 5185
Joined: Fri Nov 03, 2006 10:57 am

Re: 1.5.1.2 Order status. link error.

Postby Alumicenter » Sun Sep 25, 2011 5:53 pm

I have currently the same issue please let me know how you resolved

Thanks

JCohen
Alumicenter
 
Posts: 1
Joined: Sun Sep 25, 2011 5:50 pm

Re: 1.5.1.2 Order status. link error.

Postby ddowdall » Mon Oct 10, 2011 5:26 pm

@Alumicenter

Open \catalog\controller\account\order.php and find this code in the info() function.

Code: Select all
      if (!$this->customer->isLogged()) {
         $this->session->data['redirect'] = $this->url->link('account/order/info', 'order_id=' . $order_id, 'SSL');
         
         $this->redirect($this->url->link('account/login', '', 'SSL'));
       }
         
      $this->language->load('account/order');


Now move that code down 5 lines so it below this code:

Code: Select all
      if (isset($this->request->get['order_id'])) {
         $order_id = $this->request->get['order_id'];
      } else {
         $order_id = 0;
      }
ddowdall
 
Posts: 29
Joined: Mon Dec 06, 2010 6:06 pm

Re: 1.5.1.2 Order status. link error.

Postby srunyon1 » Wed Oct 12, 2011 5:18 am

ok so this does take them to the login screen but once logged in it doesn't automatically go to the order.
is there another fix?
srunyon1
 
Posts: 251
Joined: Thu Jan 28, 2010 7:03 am

Re: 1.5.1.2 Order status. link error.

Postby mtl_daniel » Sat Apr 14, 2012 2:12 pm

Perfect fix even for 1.5.2.1... But why is this not fixed within the opencart download yet?
mtl_daniel
 
Posts: 2
Joined: Fri Apr 06, 2012 3:20 am

Re: 1.5.1.2 Order status. link error.

Postby test1.0 » Sun Apr 15, 2012 11:50 pm

im struggling, code is different on mine..........


any help please

thanks

Lloyd
test1.0
 
Posts: 139
Joined: Sun Mar 25, 2012 7:46 pm

Re: 1.5.1.2 Order status. link error.

Postby test1.0 » Mon Apr 16, 2012 11:20 am

ANYONE!?

im still having this stupid problem in 1.5.2.1
test1.0
 
Posts: 139
Joined: Sun Mar 25, 2012 7:46 pm

Re: 1.5.1.2 Order status. link error.

Postby dkyolhan » Wed Jun 20, 2012 7:04 pm

Anyone find a solution to this for OC 1.5.1.3?

I'm getting a slightly different error:

Notice: Undefined index: product in /home3/xxxxxx/public_html/vqmod/vqcache/vq2-catalog_model_account_return.php on line 43
Warning: Cannot modify header information - headers already sent by (output started at /home3/xxxxxx/public_html/index.php:105) in /home3/xxxxxx/public_html/vqmod/vqcache/vq2-system_engine_controller.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /home3/xxxxxx/public_html/index.php:105) in /home3/xxxxxx/public_html/vqmod/vqcache/vq2-system_engine_controller.php on line 38


OC 1.5.1.3
Shoppica 1

Mods:
Google analytics funnel
html email newsletter
import export
one page checkout
options boost
product filter by category
admin row hover
dkyolhan
 
Posts: 14
Joined: Tue Sep 27, 2011 3:52 pm


Return to Bug Reports

Who is online

Users browsing this forum: Iamdbat, rph and 64 guests

Hosted by Arvixe Web Hosting