Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #19427
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: 404 in CodeIgniter3 application |
| Date | 2023-04-13 09:22 +0200 |
| Message-ID | <k9potmFnnk5U1@mid.individual.net> (permalink) |
| References | <u16m1j$qj65$1@portraits.wsisiz.edu.pl> |
Jivanmukta, 2023-04-12 18:25:
> 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.
Without any error message it's impossible to tell what the problem is.
However if you want to do benchmarking this is done in a different way:
<https://codeigniter.com/userguide3/libraries/benchmark.html>
To find out what the real problem is, check the error logs of PHP and/or
the webserver or enable error reporting in php.ini and try to call the
URL again:
error_reporting = E_ALL
Also using XDebug (<https://xdebug.org>) with an IDE like PHPStorm or
VSCode helps a lot. This is often already included in current Linux
distributions and just has to be enabled.
--
Arno Welzel
https://arnowelzel.de
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar
404 in CodeIgniter3 application Jivanmukta <jivanmukta@poczta.onet.pl> - 2023-04-12 18:25 +0200
Re: 404 in CodeIgniter3 application "J.O. Aho" <user@example.net> - 2023-04-13 07:40 +0200
Re: 404 in CodeIgniter3 application Arno Welzel <usenet@arnowelzel.de> - 2023-04-13 09:22 +0200
Re: 404 in CodeIgniter3 application Jivanmukta <jivanmukta@poczta.onet.pl> - 2023-04-14 11:24 +0200
Re: 404 in CodeIgniter3 application doctor@doctor.nl2k.ab.ca (The Doctor) - 2023-04-14 11:50 +0000
Re: 404 in CodeIgniter3 application "J.O. Aho" <user@example.net> - 2023-04-14 19:12 +0200
Re: 404 in CodeIgniter3 application Angel <heyeeeeeeeeeeeeeeeeeee@gmail.com> - 2023-04-15 11:35 -0700
Re: 404 in CodeIgniter3 application Jivanmukta <jivanmukta@poczta.onet.pl> - 2023-04-27 16:38 +0200
Re: 404 in CodeIgniter3 application Angel <heyeeeeeeeeeeeeeeeeeee@gmail.com> - 2023-04-15 11:35 -0700
csiph-web