Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Try to login with a fresh OC copy
and see if the issue persists afterwards.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
can you please help me looking at the site http://marketplace.doki.co.id
thank you in advance for your help
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
anyway i had try to compare with standard theme and standard installation and the problem is still happened
as you can see on the attachment i had attach, after doing login post method, it was redirect back to login page again
i think there is something wrong with the code on route=/account/account
Attachments
Screen Shot 2018-04-05 at 22.23.29.png (813.79 KiB) Viewed 8253 times
Screen Shot 2018-04-05 at 22.23.24.png (810.85 KiB) Viewed 8253 times
Screen Shot 2018-04-05 at 22.18.12.png (356.7 KiB) Viewed 8253 times
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
the page is going redirected again to route=/account/login after reaching route=/account/account
based on the code at account.php it's seem the code can't validate if the user already login or not
this one below is from 3.0.2.0 OC
Code: Select all
if (!$this->customer->isLogged()) {
$this->session->data['redirect'] = $this->url->link('account/account', '', true);
$this->response->redirect($this->url->link('account/login', '', true));
}
Code: Select all
if (!$this->customer->isLogged()) {
$this->session->data['redirect'] = $this->url->link('account/account', '', 'SSL');
$this->redirect($this->url->link('account/login', '', 'SSL'));
}
In your catalog/controller/account/account.php file,
find:
Code: Select all
$this->response->redirect($this->url->link('account/login', '', true));
Code: Select all
$this->response->redirect($this->url->link('account/account', '', true));
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
the code
Code: Select all
$this->response->redirect($this->url->link('account/login', '', true));
the main problem is i think because the condition cannot work properly
may i know which function is handle $this->customer->IsLogged ?
Code: Select all
Notice: Undefined index: customer_id in /home/marketplace/public_html/original/catalog/controller/account/account.php on line 4
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
It's seem on function isLogged does not parsing customer_id and it's seem the customer_id is empty
the file is on system/library/cart/customer.php
when I'm trying to change it to character its worked so the problem must be on the login function that not parsing the customer_id
Users browsing this forum: No registered users and 143 guests