-
Notifications
You must be signed in to change notification settings - Fork 67
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
oil refine fromdb:scaffold --all #253
Comments
The Globiterator issue was fixed in 5.6, so this suggests your installation isn't up to date (current version is 5.6.30). |
I thought, Fuel PHP needs only PHP 5.3.0 . Okay, than we come to the next problem. There will generated 2 id fields in the model if the database table have the id field. Sample:
BTW, why will generated the observer, if I don't have created_at/ updated_at fields not in the database table? |
PHP 5.3.3+ to be exact. But that doesn't mean it contains workarounds for PHP bugs for any released version after that. I'll have a look at where the double "id" fields comes from. Just to check, your table only contains an 'id' field (as int, PK) and a label field (char of some sort)? |
...don't work. I tested with WAMP server and PHP 5.6 and Fuel 1.9 dev
I got an exception in scaffold.php Line 63: array to string conversersion.
I fixed it with...
and than I got a new exception in generate.php (line 2040)....GlobIterator throws LogicException
There is a Problem with the GlobIterator. (see: https://bugs.php.net/bug.php?id=55701)
The text was updated successfully, but these errors were encountered: