You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Screenshots
If applicable, add screenshots to help explain your problem.
Details
Phalcon version: 5.6
PHP Version: 8.3
Operating System: ubuntu
Installation type: Compiling from source
Zephir version (if any):
Server: Nginx
Other related info (Database, table schema):
Additional context Compiling:
For PHP 8.+ the above paths might differ slightly.
The instructions above will compile and install the module on your system. You can also compile the extension and then add it manually in your ini file:
cd cphalcon/
git checkout tags/v5.6.0 ./
cd ext
phpize
./configure
make && make install
php --ri phalcon
phalcon
Phalcon is a full stack PHP framework, delivered as a PHP extension, offering lower resource consumption and high performance.
phalcon => enabled
Author => Phalcon Team and contributors
Version => 5.6.0
Build Date => Apr 13 2024 21:28:36
Powered by Zephir => Version 0.18.0-$Id$
Directive => Local Value => Master Value
phalcon.db.escape_identifiers => On => On
phalcon.db.force_casting => Off => Off
phalcon.orm.case_insensitive_column_map => Off => Off
phalcon.orm.cast_last_insert_id_to_int => Off => Off
phalcon.orm.cast_on_hydrate => Off => Off
phalcon.orm.column_renaming => On => On
phalcon.orm.disable_assign_setters => Off => Off
phalcon.orm.enable_implicit_joins => On => On
phalcon.orm.enable_literals => On => On
phalcon.orm.events => On => On
phalcon.orm.exception_on_failed_save => Off => Off
phalcon.orm.exception_on_failed_metadata_save => On => On
phalcon.orm.ignore_unknown_columns => Off => Off
phalcon.orm.late_state_binding => Off => Off
phalcon.orm.not_null_validations => On => On
phalcon.orm.resultset_prefetch_records => 0 => 0
phalcon.orm.update_snapshot_on_save => On => On
phalcon.orm.virtual_foreign_keys => On => On
phalcon.orm.dynamic_update => On => On
phalcon.warning.enable => On => On
composer require phalcon/devtools
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
./composer.json has been created
Running composer update phalcon/devtools
Loading composer repositories with package information
Updating dependencies
Lock file operations: 20 installs, 0 updates, 0 removals
Installing phalcon/devtools (v4.2.0): Extracting archive
2 package suggestions were added by new dependencies, use composer suggest to see details.
Generating autoload files
15 packages you are using are looking for funding.
Use the composer fund command to find out more!
No security vulnerability advisories found.
Using version ^4.2 for phalcon/devtools
root@Hanxin:/www/wwwroot/test.com# ls
composer.json composer.lock vendor
/www/wwwroot/test.com# phalcon project app
Phalcon DevTools (4.2.0)
PHP Fatal error: Uncaught Error: Class "Phalcon\Config" not found in /www/wwwroot/test.com/vendor/phalcon/devtools/src/Builder/Component/AbstractComponent.php:48
Stack trace:
#0 /www/wwwroot/test.com/vendor/phalcon/devtools/src/Commands/Builtin/Project.php(66): Phalcon\DevTools\Builder\Component\AbstractComponent->__construct() #1 /www/wwwroot/test.com/vendor/phalcon/devtools/src/Script.php(109): Phalcon\DevTools\Commands\Builtin\Project->run() #2 /www/wwwroot/test.com/vendor/phalcon/devtools/src/Script.php(148): Phalcon\DevTools\Script->dispatch() #3 /www/wwwroot/test.com/vendor/phalcon/devtools/phalcon(65): Phalcon\DevTools\Script->run() #4 {main}
thrown in /www/wwwroot/test.com/vendor/phalcon/devtools/src/Builder/Component/AbstractComponent.php on line 48
Fatal error: Uncaught Error: Class "Phalcon\Config" not found in /www/wwwroot/test.com/vendor/phalcon/devtools/src/Builder/Component/AbstractComponent.php:48
Stack trace:
#0 /www/wwwroot/test.com/vendor/phalcon/devtools/src/Commands/Builtin/Project.php(66): Phalcon\DevTools\Builder\Component\AbstractComponent->__construct() #1 /www/wwwroot/test.com/vendor/phalcon/devtools/src/Script.php(109): Phalcon\DevTools\Commands\Builtin\Project->run() #2 /www/wwwroot/test.com/vendor/phalcon/devtools/src/Script.php(148): Phalcon\DevTools\Script->dispatch() #3 /www/wwwroot/test.com/vendor/phalcon/devtools/phalcon(65): Phalcon\DevTools\Script->run() #4 {main}
thrown in /www/wwwroot/test.com/vendor/phalcon/devtools/src/Builder/Component/AbstractComponent.php on line 48
root@:~# php -m
[PHP Modules]
bcmath
Core
ctype
curl
date
dom
fileinfo
filter
ftp
gd
gettext
hash
iconv
intl
json
libxml
mbstring
memcached
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
phalcon
Phar
posix
random
Reflection
session
shmop
SimpleXML
soap
sockets
sodium
SPL
sqlite3
standard
sysvsem
tokenizer
xml
xmlreader
xmlwriter
zip
zlib
[Zend Modules]
The text was updated successfully, but these errors were encountered:
Questions? Forum: https://phalcon.io/forum or Discord: https://phalcon.io/discord
Describe the bug
phalcon devtools not working (phlcon5.6+php8.3)
To Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
Details
Additional context
Compiling:
For PHP 8.+ the above paths might differ slightly.
The instructions above will compile and install the module on your system. You can also compile the extension and then add it manually in your ini file:
cd cphalcon/
git checkout tags/v5.6.0 ./
cd ext
phpize
./configure
make && make install
php --ri phalcon
phalcon
Phalcon is a full stack PHP framework, delivered as a PHP extension, offering lower resource consumption and high performance.
phalcon => enabled
Author => Phalcon Team and contributors
Version => 5.6.0
Build Date => Apr 13 2024 21:28:36
Powered by Zephir => Version 0.18.0-$Id$
Directive => Local Value => Master Value
phalcon.db.escape_identifiers => On => On
phalcon.db.force_casting => Off => Off
phalcon.orm.case_insensitive_column_map => Off => Off
phalcon.orm.cast_last_insert_id_to_int => Off => Off
phalcon.orm.cast_on_hydrate => Off => Off
phalcon.orm.column_renaming => On => On
phalcon.orm.disable_assign_setters => Off => Off
phalcon.orm.enable_implicit_joins => On => On
phalcon.orm.enable_literals => On => On
phalcon.orm.events => On => On
phalcon.orm.exception_on_failed_save => Off => Off
phalcon.orm.exception_on_failed_metadata_save => On => On
phalcon.orm.ignore_unknown_columns => Off => Off
phalcon.orm.late_state_binding => Off => Off
phalcon.orm.not_null_validations => On => On
phalcon.orm.resultset_prefetch_records => 0 => 0
phalcon.orm.update_snapshot_on_save => On => On
phalcon.orm.virtual_foreign_keys => On => On
phalcon.orm.dynamic_update => On => On
phalcon.warning.enable => On => On
composer require phalcon/devtools
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
./composer.json has been created
Running composer update phalcon/devtools
Loading composer repositories with package information
Updating dependencies
Lock file operations: 20 installs, 0 updates, 0 removals
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 20 installs, 0 updates, 0 removals
2 package suggestions were added by new dependencies, use
composer suggest
to see details.Generating autoload files
15 packages you are using are looking for funding.
Use the
composer fund
command to find out more!No security vulnerability advisories found.
Using version ^4.2 for phalcon/devtools
root@Hanxin:/www/wwwroot/test.com# ls
composer.json composer.lock vendor
/www/wwwroot/test.com# phalcon project app
Phalcon DevTools (4.2.0)
PHP Fatal error: Uncaught Error: Class "Phalcon\Config" not found in /www/wwwroot/test.com/vendor/phalcon/devtools/src/Builder/Component/AbstractComponent.php:48
Stack trace:
#0 /www/wwwroot/test.com/vendor/phalcon/devtools/src/Commands/Builtin/Project.php(66): Phalcon\DevTools\Builder\Component\AbstractComponent->__construct()
#1 /www/wwwroot/test.com/vendor/phalcon/devtools/src/Script.php(109): Phalcon\DevTools\Commands\Builtin\Project->run()
#2 /www/wwwroot/test.com/vendor/phalcon/devtools/src/Script.php(148): Phalcon\DevTools\Script->dispatch()
#3 /www/wwwroot/test.com/vendor/phalcon/devtools/phalcon(65): Phalcon\DevTools\Script->run()
#4 {main}
thrown in /www/wwwroot/test.com/vendor/phalcon/devtools/src/Builder/Component/AbstractComponent.php on line 48
Fatal error: Uncaught Error: Class "Phalcon\Config" not found in /www/wwwroot/test.com/vendor/phalcon/devtools/src/Builder/Component/AbstractComponent.php:48
Stack trace:
#0 /www/wwwroot/test.com/vendor/phalcon/devtools/src/Commands/Builtin/Project.php(66): Phalcon\DevTools\Builder\Component\AbstractComponent->__construct()
#1 /www/wwwroot/test.com/vendor/phalcon/devtools/src/Script.php(109): Phalcon\DevTools\Commands\Builtin\Project->run()
#2 /www/wwwroot/test.com/vendor/phalcon/devtools/src/Script.php(148): Phalcon\DevTools\Script->dispatch()
#3 /www/wwwroot/test.com/vendor/phalcon/devtools/phalcon(65): Phalcon\DevTools\Script->run()
#4 {main}
thrown in /www/wwwroot/test.com/vendor/phalcon/devtools/src/Builder/Component/AbstractComponent.php on line 48
root@:~# php -m
[PHP Modules]
bcmath
Core
ctype
curl
date
dom
fileinfo
filter
ftp
gd
gettext
hash
iconv
intl
json
libxml
mbstring
memcached
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
phalcon
Phar
posix
random
Reflection
session
shmop
SimpleXML
soap
sockets
sodium
SPL
sqlite3
standard
sysvsem
tokenizer
xml
xmlreader
xmlwriter
zip
zlib
[Zend Modules]
The text was updated successfully, but these errors were encountered: