I am just starting to work with CakePHP3.0 and while following the 'Quick Start Guide' I came across a step that has me stuck.
The section labeled DATABASE CONFIGURATION has me create some MySQL tables (I copy pasted from the site) and then run the commands: bin/cake bake all bookmarks
, bin/cake bake all users
, and bin/cake bake all tags
.
After running those three commands several files have been generated; the Models and Controllers associated with the tables I just created. However, the Views have not been created...By the way I am using Ubuntu 12.04
As suggested by the tutorial I checked my apache2/mods-enabled directory for the rewrite.load
and it is there.
Has any else experienced this issue? It is likely that I am making a simple mistake
This is the output when I ran bin/cake bake all bookmarks
the first time:
As the tutorial suggested, if I receive a 404 page not found error I should make sure that mod_rewrite is enabled for apache2, also I noticed that it says to use http://localhost:8765/bookmarks
since my web server is configured on port 80
I have been ignoring the port # suggested by the tutorial.
Here is a screenshot of my apache2/mods_enabled/: (rewrite.load is present)
Lastly, here is the data source that I have configured in /config/App.php:
It is beginning to appear that the problem is with my Apache configuration and the rewrite
rules. I will investigate into this further.