Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.php Subject: Re: 404 in CodeIgniter3 application Date: Thu, 13 Apr 2023 09:22:32 +0200 Lines: 34 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: individual.net 2qY8IXeO4+lQPSsORwRt+QI6F/BsxMpBnmsRWL1lmtYyDDfndI Cancel-Lock: sha1:4TUKi1eEe0fx7jYm5CVdMxBS224= Content-Language: de-DE In-Reply-To: Xref: csiph.com comp.lang.php:19427 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: 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 () 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