Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[Db] Generated DialectClass referring to a raw PHP class won't be found #13867
In raising this pull request, I confirm the following (please check boxes):
On Instantiating a Db-Instance, the DialectClass is generated by Zephir if not given as a property. The generated Class is always lowercase which does only work for internal zephir classes, but not for PHP-Classes for example the Oracle adapter given by the incubator.
This won't work...
... because the dialectClass Property is not given and phalcon tries to guess it on its own.
Fatal error: Class 'phalcon\db\dialect\oracle' not found in ....
If the dialectClass is given as property, then it works
@niden FYI you probably have to release another 3.4 anyway, because I recently got lots of segfault crashes when using the incubator and instantiating oracle with php 7.3 and the latest 3.4.3 on windows .. But I am still testing what might triggering it or if it also affects other incubator components. I'll open another issue or even PR then.