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

config.php - No such file or directory #1336

Closed
kzkin opened this issue Oct 14, 2019 · 8 comments
Closed

config.php - No such file or directory #1336

kzkin opened this issue Oct 14, 2019 · 8 comments
Assignees
Milestone

Comments

@kzkin
Copy link

kzkin commented Oct 14, 2019

[user@notebook qwe]$ phalcon i

Phalcon DevTools (3.4.5)

Environment:
OS: Linux userbook 5.3.5-arch1-1-ARCH #1 SMP PREEMPT Mon Oct 7 19:03:08 UTC 2019 x86_64
PHP Version: 7.3.10
PHP SAPI: cli
PHP Bin: /usr/bin/php
PHP Extension Dir: /usr/lib/php/modules
PHP Bin Dir: /usr/bin
Loaded PHP config: /etc/php/php.ini
Versions:
Phalcon DevTools Version: 3.4.5
Phalcon Version: 3.4.4
AdminLTE Version: 2.3.6

$ phalcon project qwe
$ phalcon serve
[Mon Oct 14 19:04:12 2019] PHP Warning: include(/home/user/projects/php/phalcon/qwe/app/config/config.php): failed to open stream: No such file or directory in /home/user/projects/php/phalcon/qwe/app/config/services.php on line 15
[Mon Oct 14 19:04:12 2019] PHP Warning: include(): Failed opening '/home/user/projects/php/phalcon/qwe/app/config/config.php' for inclusion (include_path='.:') in /home/user/projects/php/phalcon/qwe/app/config/services.php on line 15

@Dmitrijlin
Copy link

Hello, I have the same problem. I tried everything, but always I have this. I found only config.ini and nothing more.

D:\php-7.3.10\php.exe D:\Apache24\htdocs\Phalcon\qwe\run

Warning: include(D:\Apache24\htdocs\Phalcon\qwe/app/config/config.php): failed to open stream: No such file or directory in D:\Apache24\htdocs\Phalcon\qwe\app\config\services.php on line 7

Warning: include(): Failed opening 'D:\Apache24\htdocs\Phalcon\qwe/app/config/config.php' for inclusion (include_path='.;C:\php\pear') in D:\Apache24\htdocs\Phalcon\qwe\app\config\services.php on line 7
PHP Warning: include(D:\Apache24\htdocs\Phalcon\qwe/app/config/config.php): failed to open stream: No such file or directory in D:\Apache24\htdocs\Phalcon\qwe\app\config\services.php on line 7
PHP Warning: include(): Failed opening 'D:\Apache24\htdocs\Phalcon\qwe/app/config/config.php' for inclusion (include_path='.;C:\php\pear') in D:\Apache24\htdocs\Phalcon\qwe\app\config\services.php on line 7

@Jeckerson Jeckerson self-assigned this Oct 15, 2019
@Jeckerson Jeckerson added this to the 3.4.x milestone Oct 15, 2019
@FI-LIFE
Copy link

FI-LIFE commented Oct 25, 2019

Problem in 96d8c49

git checkout a51c53bdf86c010e893b9c082021b17b77415ff3

and try again

@kzkin
Copy link
Author

kzkin commented Oct 28, 2019

PHP Warning disappeared and file config.php on it's own place

@kzkin kzkin closed this as completed Oct 28, 2019
@Jeckerson
Copy link
Member

@KozakIvan Can you please explain what you did to warning disappeared?

@kzkin
Copy link
Author

kzkin commented Oct 29, 2019

git pull && git checkout a51c53b

@Jeckerson
Copy link
Member

@KozakIvan Can you try it with latest release v3.4.5 ?

@kzkin
Copy link
Author

kzkin commented Oct 29, 2019

phalcon serve

Phalcon DevTools (3.4.5)

Preparing Development Server
Host: 0.0.0.0
Port: 8000
Base: .htrouter.php
Document Root: public
Starting Server with /usr/bin/php -S 0.0.0.0:8000 -t public .htrouter.php

[Tue Oct 29 10:41:12 2019] PHP Warning: include(/home/user/projects/php/phalcon/qwerty/app/config/config.php): failed to open stream: No such file or directory in /home/user/projects/php/phalcon/qwerty/app/config/services.php on line 15

@Jeckerson
Copy link
Member

@KozakIvan Please update to version 3.4.6 and check if problem is gone.
Feel free to re-open the issue.

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

No branches or pull requests

5 participants