Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug/ImageException.php failed to open stream: No such file or directory #525

Closed
WitekS opened this issue May 30, 2017 · 5 comments
Closed

Comments

@WitekS
Copy link

WitekS commented May 30, 2017

[Tue May 30 18:46:17.115655 2017] [php7:notice] [pid 10048:tid 1260] [client 127.0.0.1:50484] PHP Warning:  include_once(C:\\Users\\witek\\Documents\\NetBeansProjects\\ci4app\\system\\Debug/ImageException.php): failed to open stream: No such file or directory in C:\\Users\\witek\\Documents\\NetBeansProjects\\ci4app\\system\\Autoloader\\Autoloader.php on line 153
[Tue May 30 18:46:17.115655 2017] [php7:notice] [pid 10048:tid 1260] [client 127.0.0.1:50484] PHP Stack trace:
[Tue May 30 18:46:17.115655 2017] [php7:notice] [pid 10048:tid 1260] [client 127.0.0.1:50484] PHP   1. {main}() C:\\Users\\witek\\Documents\\NetBeansProjects\\ci4app\\public\\index.php:0
[Tue May 30 18:46:17.115655 2017] [php7:notice] [pid 10048:tid 1260] [client 127.0.0.1:50484] PHP   2. require() C:\\Users\\witek\\Documents\\NetBeansProjects\\ci4app\\public\\index.php:27
[Tue May 30 18:46:17.117040 2017] [php7:notice] [pid 10048:tid 1260] [client 127.0.0.1:50484] PHP   3. CodeIgniter\\CodeIgniter->initialize() C:\\Users\\witek\\Documents\\NetBeansProjects\\ci4app\\system\\bootstrap.php:118
[Tue May 30 18:46:17.117040 2017] [php7:notice] [pid 10048:tid 1260] [client 127.0.0.1:50484] PHP   4. CodeIgniter\\Config\\Services::exceptions($config = *uninitialized*, $getShared = *uninitialized*) C:\\Users\\witek\\Documents\\NetBeansProjects\\ci4app\\system\\CodeIgniter.php:158
[Tue May 30 18:46:17.117040 2017] [php7:notice] [pid 10048:tid 1260] [client 127.0.0.1:50484] PHP   5. CodeIgniter\\Config\\Services::getSharedInstance($key = *uninitialized*, ...$params = variadic(*uninitialized*)) C:\\Users\\witek\\Documents\\NetBeansProjects\\ci4app\\system\\Config\\Services.php:175
[Tue May 30 18:46:17.117040 2017] [php7:notice] [pid 10048:tid 1260] [client 127.0.0.1:50484] PHP   6. CodeIgniter\\Config\\Services::exceptions($config = *uninitialized*, $getShared = *uninitialized*) C:\\Users\\witek\\Documents\\NetBeansProjects\\ci4app\\system\\Config\\Services.php:672
[Tue May 30 18:46:17.117040 2017] [php7:notice] [pid 10048:tid 1260] [client 127.0.0.1:50484] PHP   7. spl_autoload_call(*uninitialized*) C:\\Users\\witek\\Documents\\NetBeansProjects\\ci4app\\system\\Config\\Services.php:183
[Tue May 30 18:46:17.117040 2017] [php7:notice] [pid 10048:tid 1260] [client 127.0.0.1:50484] PHP   8. CodeIgniter\\Autoloader\\Autoloader->CodeIgniter\\Autoloader\\{closure}($class = *uninitialized*) C:\\Users\\witek\\Documents\\NetBeansProjects\\ci4app\\system\\Config\\Services.php:183
[Tue May 30 18:46:17.117040 2017] [php7:notice] [pid 10048:tid 1260] [client 127.0.0.1:50484] PHP Warning:  include_once(): Failed opening 'C:\\Users\\witek\\Documents\\NetBeansProjects\\ci4app\\system\\Debug/ImageException.php' for inclusion (include_path='.;C:/ApachePHP/php/PEAR') in C:\\Users\\witek\\Documents\\NetBeansProjects\\ci4app\\system\\Autoloader\\Autoloader.php on line 153
[Tue May 30 18:46:17.117040 2017] [php7:notice] [pid 10048:tid 1260] [client 127.0.0.1:50484] PHP Stack trace:
[Tue May 30 18:46:17.117040 2017] [php7:notice] [pid 10048:tid 1260] [client 127.0.0.1:50484] PHP   1. {main}() C:\\Users\\witek\\Documents\\NetBeansProjects\\ci4app\\public\\index.php:0
[Tue May 30 18:46:17.117040 2017] [php7:notice] [pid 10048:tid 1260] [client 127.0.0.1:50484] PHP   2. require() C:\\Users\\witek\\Documents\\NetBeansProjects\\ci4app\\public\\index.php:27
[Tue May 30 18:46:17.117040 2017] [php7:notice] [pid 10048:tid 1260] [client 127.0.0.1:50484] PHP   3. CodeIgniter\\CodeIgniter->initialize() C:\\Users\\witek\\Documents\\NetBeansProjects\\ci4app\\system\\bootstrap.php:118
[Tue May 30 18:46:17.117040 2017] [php7:notice] [pid 10048:tid 1260] [client 127.0.0.1:50484] PHP   4. CodeIgniter\\Config\\Services::exceptions($config = *uninitialized*, $getShared = *uninitialized*) C:\\Users\\witek\\Documents\\NetBeansProjects\\ci4app\\system\\CodeIgniter.php:158
[Tue May 30 18:46:17.117040 2017] [php7:notice] [pid 10048:tid 1260] [client 127.0.0.1:50484] PHP   5. CodeIgniter\\Config\\Services::getSharedInstance($key = *uninitialized*, ...$params = variadic(*uninitialized*)) C:\\Users\\witek\\Documents\\NetBeansProjects\\ci4app\\system\\Config\\Services.php:175
[Tue May 30 18:46:17.117040 2017] [php7:notice] [pid 10048:tid 1260] [client 127.0.0.1:50484] PHP   6. CodeIgniter\\Config\\Services::exceptions($config = *uninitialized*, $getShared = *uninitialized*) C:\\Users\\witek\\Documents\\NetBeansProjects\\ci4app\\system\\Config\\Services.php:672
[Tue May 30 18:46:17.117040 2017] [php7:notice] [pid 10048:tid 1260] [client 127.0.0.1:50484] PHP   7. spl_autoload_call(*uninitialized*) C:\\Users\\witek\\Documents\\NetBeansProjects\\ci4app\\system\\Config\\Services.php:183
[Tue May 30 18:46:17.117040 2017] [php7:notice] [pid 10048:tid 1260] [client 127.0.0.1:50484] PHP   8. CodeIgniter\\Autoloader\\Autoloader->CodeIgniter\\Autoloader\\{closure}($class = *uninitialized*) C:\\Users\\witek\\Documents\\NetBeansProjects\\ci4app\\system\\Config\\Services.php:183
@jim-parry
Copy link
Contributor

Thisisveryspecialcanitnotbeformattedbetter?

@zl59503020
Copy link
Contributor

zl59503020 commented May 31, 2017

( ! ) Warning: include_once(E:\BrowserServer\CodeIgniter4\system\Debug/ImageException.php): failed to open stream: No such file or directory in E:\BrowserServer\CodeIgniter4\system\Autoloader\Autoloader.php on line 153
Call Stack
Time Memory Function Location
1 0.0020 365448 {main}( ) ...\index.php:0
2 0.0080 380912 require( 'E:\BrowserServer\CodeIgniter4\system\bootstrap.php' ) ...\index.php:27
3 0.0470 873960 CodeIgniter\CodeIgniter->initialize( ) ...\bootstrap.php:118
4 0.0470 873976 CodeIgniter\Config\Services::exceptions( ) ...\CodeIgniter.php:158
5 0.0470 874016 CodeIgniter\Config\Services::getSharedInstance( ) ...\Services.php:175
6 0.0470 874416 CodeIgniter\Config\Services::exceptions( ) ...\Services.php:672
7 0.0470 874416 spl_autoload_call ( ) ...\Services.php:183
8 0.0470 874528 CodeIgniter\Autoloader\Autoloader->CodeIgniter\Autoloader{closure}( ) ...\Services.php:183

me too

path CodeIgniter4/system/Config/AutoloadConfig.php line:142

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

file CodeIgniter4/system/Debug/ImageException.php does not exist.

@deathart
Copy link
Contributor

deathart commented Jun 1, 2017

To remove this error use the "composer install" command at the root

Sorry about my English I'm French

@lonnieezell
Copy link
Member

Well, I pulled down the latest code into a new location on my server and ran it locally using php serve.php and no errors came up. However, there was a line in our classmap that pointed to an invalid path for ImageException so I removed that line.

@zl59503020 @WitekS can you guys pull the latest code down and let me know if this fixes the issue for you?

@zl59503020
Copy link
Contributor

@lonnieezell Yes, no problem. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants