-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Bug: AH01075: Error dispatching request on Basic CI4 #3110
Comments
Is this still an issue? If yes, have you tried giving permissions to php to write in the writable folder? |
@paulbalandan Now showing : ( ! ) Fatal error: Uncaught Error: Maximum function nesting level of '256' reached, aborting! in /var/www/html/project-root/vendor/codeigniter4/framework/system/Config/BaseService.php on line 195 (Same configuration) |
Have you tried upgrading to the latest version? |
yes, i am using the last version |
This is a problem with the xdebug extension. It seems BaseService has entered infinite recursion. Can you post a screenshot of the error page? |
Please, edit your |
@michalsn Xdebug not installed (base) [root@airwave7 php.d]# php -m [Zend Modules] |
How is that possible? That error page is produced by xdebug |
@isantolin can you try changing public static function __callStatic(string $name, array $arguments)
{
$name = strtolower($name);
- if (method_exists(Services::class, $name))
+ if (method_exists(static::class, $name))
{
- return Services::$name(...$arguments);
+ return static::$name(...$arguments);
}
return static::discoverServices($name, $arguments);
} Please see if that solves your issue? |
@paulbalandan Not yet |
At least that solves the function nesting issue. Can you try using the latest develop branch? Line 139 on system/bootstrap.php on mine is a whitespace only. |
@paulbalandan I tryied with the development version. Old error returns |
Yes that is expected because it will overwrite your changes. Trying changing it again to use |
@paulbalandan Yes, i tried |
@isantolin i'm sorry i think this is a bug in PHP already. Have you tried in php other than php-fpm? |
@paulbalandan no, because all my server infraestructure is based in php-fpm and CI4 needs to be compatible. |
I'm sorry I'm not well versed with php-fpm. Can you try opening a bug report to the PHP core? |
Since this is not a framework issue, I'm closing this. |
Describe the bug
The basic Codeigniter 4 without any configuration and a Server with default configuration (That works with Codeigniter 3) Cant load and shows 503 error
CodeIgniter 4 version
v4.0.3
Affected module(s)
Codeigniter
Expected behavior, and steps to reproduce if appropriate
Context
The text was updated successfully, but these errors were encountered: