Hi,
I am facing problem of debugging open cart admin function with Nusphere PHP Editor.
The debugger seem to stop after login page.
Do any one of you know how to use the debugger to debug admin function?
If yes, please let me know.
Thanks in advanced.
Regards,
Andric
Ok.. You can get around it by making forcing a different redirect page for your home page.
Edit admin/index.php
Find:
Replace with:
Remember to change it back when you go to a live store.
Edit admin/index.php
Find:
Code: Select all
// Router
if (isset($request->get['route'])) {
$action = new Router($request->get['route']);
} else {
$action = new Router('common/home');
}
Code: Select all
// Router
if (isset($request->get['route'])) {
if ($request->get['route'] == 'common/home') { $request->get['route'] = 'catalog/category'; }
$action = new Router($request->get['route']);
} else {
//$action = new Router('common/home');
$action = new Router('catalog/category');
}
Who is online
Users browsing this forum: No registered users and 8 guests