Welcome Guest, Not a member yet? Register   Sign In
Codeigniter show warning
#6

when I var_dump in system\Autoloader.php at line number 152 before this line include_once $config[$class]; I got some line on my browser like this

Code:
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\CodeIgniter.php' (length=40)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\Config/BaseConfig.php' (length=46)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\Debug/ImageException.php' (length=49)

( ! ) Warning: include_once(C:\wamp64\www\ci4\system\Debug/ImageException.php): failed to open stream: No such file or directory in C:\wamp64\www\ci4\system\Autoloader\Autoloader.php on line 153
Call Stack
#    Time    Memory    Function    Location
1    0.0009    363384    {main}( )    ...\index.php:0
2    0.0021    378792    require( 'C:\wamp64\www\ci4\system\bootstrap.php' )    ...\index.php:27
3    0.0115    869696    CodeIgniter\CodeIgniter->initialize( )    ...\bootstrap.php:118
4    0.0115    869712    CodeIgniter\Config\Services::exceptions( )    ...\CodeIgniter.php:158
5    0.0115    869752    CodeIgniter\Config\Services::getSharedInstance( )    ...\Services.php:175
6    0.0115    870152    CodeIgniter\Config\Services::exceptions( )    ...\Services.php:672
7    0.0115    870152    spl_autoload_call ( )    ...\Services.php:183
8    0.0115    870264    CodeIgniter\Autoloader\Autoloader->CodeIgniter\Autoloader\{closure}( )    ...\Services.php:183

( ! ) Warning: include_once(): Failed opening 'C:\wamp64\www\ci4\system\Debug/ImageException.php' for inclusion (include_path='.;C:\php\pear') in C:\wamp64\www\ci4\system\Autoloader\Autoloader.php on line 153
Call Stack
#    Time    Memory    Function    Location
1    0.0009    363384    {main}( )    ...\index.php:0
2    0.0021    378792    require( 'C:\wamp64\www\ci4\system\bootstrap.php' )    ...\index.php:27
3    0.0115    869696    CodeIgniter\CodeIgniter->initialize( )    ...\bootstrap.php:118
4    0.0115    869712    CodeIgniter\Config\Services::exceptions( )    ...\CodeIgniter.php:158
5    0.0115    869752    CodeIgniter\Config\Services::getSharedInstance( )    ...\Services.php:175
6    0.0115    870152    CodeIgniter\Config\Services::exceptions( )    ...\Services.php:672
7    0.0115    870152    spl_autoload_call ( )    ...\Services.php:183
8    0.0115    870264    CodeIgniter\Autoloader\Autoloader->CodeIgniter\Autoloader\{closure}( )    ...\Services.php:183
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\Debug/Timer.php' (length=40)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\HTTP/IncomingRequest.php' (length=49)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\HTTP/Request.php' (length=41)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\HTTP/Message.php' (length=41)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\HTTP/RequestInterface.php' (length=50)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\HTTP/URI.php' (length=37)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\HTTP/Response.php' (length=42)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\HTTP/ResponseInterface.php' (length=51)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\Cache/CacheFactory.php' (length=47)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\Cache/Handlers/FileHandler.php' (length=55)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\Cache/CacheInterface.php' (length=49)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\Router/RouteCollection.php' (length=51)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\Router/RouteCollectionInterface.php' (length=60)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\Router/Router.php' (length=42)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\Router/RouterInterface.php' (length=51)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\Controller.php' (length=39)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\Log/Logger.php' (length=39)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\ThirdParty/PSR/Log/LoggerInterface.php' (length=63)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\Events/Events.php' (length=42)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\View/View.php' (length=38)
C:\wamp64\www\ci4\system\Autoloader\Autoloader.php:152:string 'C:\wamp64\www\ci4\system\View/RendererInterface.php' (length=51)
Welcome to CodeIgniter
version 4.0-dev

The page you are looking at is being generated dynamically by CodeIgniter.

If you would like to edit this page you'll find it located at:

application/Views/welcome_message.php
The corresponding controller for this page is found at:

application/Controllers/Home.php
If you are exploring CodeIgniter for the very first time, you should start by reading the (in progress) User Guide.

Page rendered in 0.0284 seconds. Environment: production

When I searched the file i.e 
Quote:system\Debug/ImageException.php



I saw there are no file with this name. the file ImageException.php is present in system\Images\Exceptions directory and I also searched all file in ci4 directory with the text ImageException.php, I got a result that the filename with the path is present in system\Config\AutoloadConfig.php file. Here is the line-

Quote:C:\wamp64\www\ci4\system\Config\AutoloadConfig.php (1 hit)

Line 142: 'CodeIgniter\Debug\Exceptions'                  => BASEPATH.'Debug/ImageException.php',


May be I am wrong. But hope it helps you. Thanks Smile
Reply


Messages In This Thread
Codeigniter show warning - by ashisbiswas - 05-31-2017, 02:46 AM
RE: Codeigniter show warning - by InsiteFX - 05-31-2017, 04:20 AM
RE: Codeigniter show warning - by ashisbiswas - 05-31-2017, 04:39 AM
RE: Codeigniter show warning - by kilishan - 05-31-2017, 06:40 AM
RE: Codeigniter show warning - by ashisbiswas - 05-31-2017, 08:54 AM
RE: Codeigniter show warning - by ashisbiswas - 05-31-2017, 09:20 AM
RE: Codeigniter show warning - by InsiteFX - 05-31-2017, 11:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB