I've trying to get the CakePHP console running, reading and watching as many tutorials as I can find but to no avail. I got the latest realese of Cake from their Git, 3.08 in this case, because the composer instalation wasn't working I had to manually configure everyhing and so far so good.
The problem is that I cannot for the life of me find the cake console, much of the tutorial I find make reference to a lib, app or console folder.
The only thing that resembles what I've seen in tutorial is on the bin folder, where a cake.php, cake.bat and cake file reside, there is no console folder there though, no exceptions etc, using the file finder for console turns out like 10 result but none with the cake.bat and these other files together.
I know this must be a very dumb question but what I am doing wrong? I already added the bin folder, PHP and mySQL root to my PATH yet typing cake on the console does nothing, not even a error code.
Adding to path as ;C:\wamp\www\cake\bin
Any help would be great.
You can run it like this:
cd \wamp\www\cake
bin\cake
To try to fix your problem type PATH in your console to see if bake was added.
If you haven't reboot you can run
SET PATH=%PATH%;C:\CmdShortcuts
Or simply reboot and try again after adding it to PATH.
Check this:
Update Windows Path
Install Cakephp Console Windows
This happened to me too, when I started on cakephp, I really pain in the *** , anyway, this is the correct path
C:\wamp\www\cake\lib\Cake\Console;
That keeps working for me .
Related
Trying to use cube-get with Ubuntu to transfer files. When I run cube-get on windows however, it cannot find the project file, even though the project file is present. I have checked my directory and the files are in the correct places. I think this may be a permission issue. Is this a common issue? Any help is appreciated.
Run on chrome, as some files use javascript. Wasn't working on Internet Explorer, which was set as my default browser
I've checked everything...
After upgrading interface looks like this:
Totally broken, but the only thing that is breaking everything is icons...
Neither CMD or DevTools doesn't seem to show any missing files...
I have already ran all of the commands makemigrations, migrate and collectstatic --clear.
Running manage.py check didn't show up any errors.
Checked(disabled/enabled) all of the apps, didn't work.
Checked urls.py on any misconfiguration with staticfiles, still nothing.
Compared my base.py, dev.py files with fresh install of 2.11, didn't see nothing that can cause overriding CSS or JS(I'm using Django Debug Toolbar, tryed disabling it, didn't work, same as everything). Help. Please.
And also on a fresh install there was no "SKIP TO MAIN CONTENT" button on top. I don’t know what that has to do with anything
Wagtail 2.11
Django 3.0.11
Using Pipenv for virtual environment
Damn! Of course, after posting a question, I found an answer. When running collectstatic I've noticed that there was too many Found another file with the destination path... messages, but did not take this into account. Then I realized that somehow in my core app staticfiles folder were duplicates of Wagtail's core static files, so I installed Wagtail 2.11 for the millionth time, ran the server and nothing changed... Fortunately, I've guessed(thanks to #gasman) to clear cache and reload the window and IT WORKED!
Conslusion: Check for duplicated static files, mine were from the old version of Wagtail, but Wagtail is on latest, which caused this issue...
I'm not sure what happened here but I was always able to publish to my local pc for my ExtJs project. Now all of a sudden I am getting this error..
Error Copying file Sencha.sencha\app\app.defaults.json to obj\Release\Package\PackageTmp\Sencha.sencha\app\app.defaults.json failed. Could not find a part of the path 'Sencha.sencha\app\app.defaults.json'. ExtApplication4 0
I think I did upgrade version of ExtJs a while back but not sure this is what caused it.
I also notice the files don't exist when I look at solution explorer.
Any ideas? This is pretty vital to my whole situation.
Did you upgrade Sencha Cmd to 6.5x? This new version does not create the .sencha hidden folder anymore. You error seems to be related to this.
I installed CKEditor, but for some reason, when I opened the configuration, Drupal says: "CKEditor not installed."
I deleted the folder from sites\modules\ckeditor, then tried to install a different version. On trying to install, it still said "CKEditor is already installed", even though I'd deleted it (and checked it was no longer in the list of modules).
I guess there might be some trouble with the database.
How do I solve this?
Im idiot. Cause I opened by mistake a different FTP, user and was looking at different folder all/sites/modules.....in this folder I deleted everything, but of course the web I was working on had different module folder :-(. So it kept telling me CKEDITOR was installed why I couldn see it... I ll shoot myself soon. Sorry.
I have apache, php, and Mysql installed on my computer. I have added the PHP directory and C:\Apache\htdocs\cake\cake\console to my environmental variables path. When i load the path to the console on my CLI it loads cake.php then i type cake bake and it asks me for the path of my app, then database config. Now instead o f it loading the DMVC... menu it just returns to set the path and database and its like a loop. not sure what i am doing wrong.
All help appreciated
Thanks
Joe
Try cd'ing to your app's directory, and then run ../cake/console/cake bake
Try editing your path to C:\wamp\bin\php\php5.4.3; (I used the Wamp server, that's why mine is like that).