I am trying to solve a problem of 404 in my COdeIgniter3 application.
The problem occurs because of problem in core/Codeigniter.php:
echo 'BEFORE call_user_func_array';
var_dump($CI, $method, $params);
call_user_func_array(array(&$CI, $method), $params);
// Mark a benchmark end point
$BM->mark('controller_execution_time_( '.$class.' / '.$method.' )_end');
echo 'AFTER call_user_func_array ';
BEFORE is displayed, AFTER is not displayed.
var_dump displays object Main, method index, empty array params.
I have a controller
class Main extends MY_Controller {
public function index() {
In folder /home/robert/Projekty/praca/application/controllers I have
file Main.php
In file /home/robert/Projekty/praca/application/config/routes.php I have:
$route['default_controller'] = 'main';
I am trying to solve a problem of 404 in my COdeIgniter3 application.
The problem occurs because of problem in core/Codeigniter.php:
echo 'BEFORE call_user_func_array';
var_dump($CI, $method, $params);
call_user_func_array(array(&$CI, $method), $params);
// Mark a benchmark end point
$BM->mark('controller_execution_time_( '.$class.' / '.$method.' )_end');
echo 'AFTER call_user_func_array ';
BEFORE is displayed, AFTER is not displayed.
Address http://localhost/~robert/praca/employee/list_offers works fine.
Address http://localhost/~robert/praca/main/index doesn't work (404).
-a-a-a Address http://localhost/~robert/praca/main/index doesn't work (404).
I am trying to solve a problem of 404 in my COdeIgniter3 application.--- Synchronet 3.21d-Linux NewsLink 1.2
The problem occurs because of problem in core/Codeigniter.php:
echo 'BEFORE call_user_func_array';
var_dump($CI, $method, $params);
call_user_func_array(array(&$CI, $method), $params);
// Mark a benchmark end point
$BM->mark('controller_execution_time_( '.$class.' / '.$method.' )_end'); echo 'AFTER call_user_func_array ';
BEFORE is displayed, AFTER is not displayed.
var_dump displays object Main, method index, empty array params.
I have a controller
class Main extends MY_Controller {
public function index() {
...
In folder /home/robert/Projekty/praca/application/controllers I have
file Main.php
In file /home/robert/Projekty/praca/application/config/routes.php I have:
$route['default_controller'] = 'main';
$route['404_override'] = '';
On 4/14/23 11:24, Jivanmukta wrote:--- Synchronet 3.21d-Linux NewsLink 1.2
Address http://localhost/~robert/praca/main/index doesn't work (404).and the logged error message was?
--
//Aho
-a-a-a Address http://localhost/~robert/praca/employee/list_offers works fine.
-a-a-a Address http://localhost/~robert/praca/main/index doesn't work (404).
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 01:41:03 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
10 files (20,373K bytes) |
| Messages: | 264,188 |