Error
Call to undefined function show404Custom() Error thrown with message "Call to undefined function show404Custom()" Stacktrace: #3 Error in /var/www/virtual/serfocat.com/htdocs/application/core/MY_Exceptions.php:15 #2 MY_Exceptions:show_404 in /var/www/virtual/serfocat.com/htdocs/system/core/Common.php:440 #1 show_404 in /var/www/virtual/serfocat.com/htdocs/system/core/CodeIgniter.php:494 #0 require_once in /var/www/virtual/serfocat.com/htdocs/index.php:315
Stack frames (4)
3
Error
/application/core/MY_Exceptions.php15
2
MY_Exceptions show_404
/system/core/Common.php440
1
show_404
/system/core/CodeIgniter.php494
0
require_once
/index.php315
/var/www/virtual/serfocat.com/htdocs/application/core/MY_Exceptions.php
<?php
class MY_Exceptions extends CI_Exceptions
{
 
    public function show_404($page = "", $log_error = true)
    {
        $CI =& get_instance();
 
        // Necessitem que la instància de CI estigui carregada (les excepcions s'executen abans moltes vegades)
        if ($CI === null) {
            new CI_Controller();
            $CI =& get_instance();
        }
 
        show404Custom();
    }
}
 
Arguments
  1. "Call to undefined function show404Custom()"
    
/var/www/virtual/serfocat.com/htdocs/system/core/Common.php
 
// ------------------------------------------------------------------------
 
if ( ! function_exists('show_404'))
{
    /**
     * 404 Page Handler
     *
     * This function is similar to the show_error() function above
     * However, instead of the standard error template it displays
     * 404 errors.
     *
     * @param    string
     * @param    bool
     * @return    void
     */
    function show_404($page = '', $log_error = TRUE)
    {
        $_error =& load_class('Exceptions', 'core');
        $_error->show_404($page, $log_error);
        exit(4); // EXIT_UNKNOWN_FILE
    }
}
 
// ------------------------------------------------------------------------
 
if ( ! function_exists('log_message'))
{
    /**
     * Error Logging Interface
     *
     * We use this as a simple mechanism to access the logging
     * class and send messages to be logged.
     *
     * @param    string    the error level: 'error', 'debug' or 'info'
     * @param    string    the error message
     * @return    void
     */
    function log_message($level, $message)
    {
/var/www/virtual/serfocat.com/htdocs/system/core/CodeIgniter.php
            else
            {
                $e404 = FALSE;
            }
        }
 
        // Did we reset the $e404 flag? If so, set the rsegments, starting from index 1
        if ( ! $e404)
        {
            $class = $error_class;
            $method = $error_method;
 
            $URI->rsegments = array(
                1 => $class,
                2 => $method
            );
        }
        else
        {
            show_404($RTR->directory.$class.'/'.$method);
        }
    }
 
    if ($method !== '_remap')
    {
        $params = array_slice($URI->rsegments, 2);
    }
 
/*
 * ------------------------------------------------------
 *  Is there a "pre_controller" hook?
 * ------------------------------------------------------
 */
    $EXT->call_hook('pre_controller');
 
/*
 * ------------------------------------------------------
 *  Instantiate the requested controller
 * ------------------------------------------------------
 */
/var/www/virtual/serfocat.com/htdocs/index.php
            DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR
        );
    }
    else
    {
        header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
        echo 'Your view folder path does not appear to be set correctly. Please open the following file and correct this: '.SELF;
        exit(3); // EXIT_CONFIG
    }
 
    define('VIEWPATH', $view_folder.DIRECTORY_SEPARATOR);
 
/*
 * --------------------------------------------------------------------
 * LOAD THE BOOTSTRAP FILE
 * --------------------------------------------------------------------
 *
 * And away we go...
 */
require_once BASEPATH.'core/CodeIgniter.php';
 
Arguments
  1. "/var/www/virtual/serfocat.com/htdocs/system/core/CodeIgniter.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
TMPDIR
"/var/www/virtual/serfocat.com/phptmp"
USER
"vu2079"
HOME
"/var/www/virtual/serfocat.com"
SCRIPT_NAME
"/index.php"
REQUEST_URI
"/productes/detail/1.html"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_QUERY_STRING
"/productes/detail/1.html"
REDIRECT_URL
"/productes/detail/1.html"
REMOTE_PORT
"42376"
SCRIPT_FILENAME
"/var/www/virtual/serfocat.com/htdocs/index.php"
SERVER_ADMIN
"webmaster@serfocat.com"
CONTEXT_DOCUMENT_ROOT
"/var/www/virtual/serfocat.com/htdocs"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/var/www/virtual/serfocat.com/htdocs"
REMOTE_ADDR
"54.80.11.160"
SERVER_PORT
"443"
SERVER_ADDR
"151.80.174.64"
SERVER_NAME
"www.serfocat.com"
SERVER_SOFTWARE
"Apache"
SERVER_SIGNATURE
""
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
HTTP_HOST
"www.serfocat.com"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
SSL_TLS_SNI
"www.serfocat.com"
HTTPS
"on"
REDIRECT_STATUS
"200"
REDIRECT_SSL_TLS_SNI
"www.serfocat.com"
REDIRECT_HTTPS
"on"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1711723732.6295
REQUEST_TIME
1711723732
empty
0. Whoops\Handler\PrettyPageHandler