I am using cakephp 3.0 and i am facing problem while installing migration plugin..i am following the steps mentioned below
Installation - First get the plugin!
$:~/public_html/cakephp3/myCakeApp/plugins$ git clone git://github.com/CakeDC/migrations.git
Add the following to app/Config/bootstrap.php
CakePlugin::load('Migrations');
now next installation part is given in documentation as(may be this part may work for cakephp 2.x)
$ app/Console/cake
Available Shells:
migration [Migrations]
i am not getting this part and also don't know how to load MigrationShell in cakephp 3.. Can anybody help me out please??
CakePHP 3 comes with its own migrations plugin. Create a fresh CakePHP 3 project and you will be able to execute bin/cake migrations
You can read the documentation of the official migrations plugin in this page:
https://github.com/cakephp/migrations
Related
I'd like to make sure you pay attention that the error is not in the javascript line, it's in marked at the line containing the stylesheet link tag!
I was following this guide:
http://guides.rubyonrails.org/getting_started.html
I get to part 4.3 Setting the Application Home Page
I've done everything up to this point, used the generate command to make a new controller and a view named "Welcome".
I've changed the app/views/welcome/index.html.erb content to a simple <h1>Hi</h1>, and then added a line in config/routes.rb which made it look like this
Rails.application.routes.draw do
get 'welcome/index'
root 'welcome#index'
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end
After saving those modifications, going to localhost:3000 gives me the following error:
I am using rails 5.0.1 and ruby 2.3.3 in case anyone asks
UPDATE:
I found a thread on some forum in German that seems to be dealing with the same problem. The person there suggested to modify the gemfile and add:
gem 'coffee-script-source', '1.8.0'
as well as run this command:
bundle update coffee-script-source
I've tried this but to no avail, it cannot execute the command(system cannot find the path specified).
What is going on?
I've managed to come up with a solution after a lot of failed attempts and frustration.
Apparently, the default runtime doesn't work properly with ruby on rails in windows. What fixes the error is installing the node.js runtime.
Download and install the node.js javascript runtime and don't forget to turn off your server and run it again before visiting the site again.
Cheers!
try to uncomment ruby-racer gem in Gemfile and run bundle.
When using the Magento Migration Tool, If I run:
php -f bin/magento migrate:data [-r] /vendor/magento/data-migration-tool/etc/ce-to-ce/1.9.2.1/config.xml
I get the following Response...
[InvalidArgumentException]
There are no commands defined in the "migrate" namespace.
I have googled and just found many closed issues and unable to find a solution. Has anyone found a work around for this?
Thanks In advance.
hope this may help.
Please clear cache
OR
delete cache and generation folder in var directory
Probably the tool was installed incorrectly in magento 2 code base
Link To Install Migration Tool
I installed a cakephp 3 app via composer from the root of my website c:wamp/www/my_app, and I developed untill i need to implement acl.
I installed the acl plugin for cakephp 3 via composer for the same path c:/wamp/www/myapp and i configured it, was everything well, but when i test the implementation of acl, i get the following error:
Missing Component, Create the class AclComponent below in file: src\Controller\Component\AclComponent.php
and seems to be true, theres no such file in the above location, instead the file is in vendor/cakephp/acl/src/controller/component.
Was investigating and i find that composer doesnt install plugins in a cake default path, theres many articles about, but how doi correct my installation? I already did all the stuff to implement the access control lists.
Thanks in advance error screenshot
I am creating a registration form, i want to add a google captcha to the form however i noticed that the package requires PHP 5.4 or greater and "ext-curl" and "ext-json" i have looked around to try and find out how to get these dependencies installed but i have found no solution, currently when i try adding the google captcha package to my composer.json and doing a composer.update i get an error then i have to take it out from my composer.jon file and re-run composer update to fix the error. I think it might have something to do with these 2 dependencies does anyone know how i can get them installed?
I use the inbuilt PHP server in Laravel on windows 7 platform.
Directly from easyphp administration, use test code:
<?php phpinfo();?>
I got a site using Symfony 2.0 and want to upgrade it to last version of Symfony (2.4 from what I see on github).
I have already done one step: upgrade to 2.1. I fixed all issues and now I am ready to upgrade to 2.2 (I am not sure I could go to the current version directly). From my understanding, to do so, I need to retrieve the composer.json on github and add my own dependencies (only one). Is that right?
I tried to do it and it failed. Furthermore Symfony folder under vendor is empty after this attempt. I checked the composer.json for 2.2 and I do not see any symfony specified in it. Did I miss something?
Any help would be more than welcome :o)
ok the problem was only due to the fact that I was getting the composer.json from the wrong github repository. Be sure to use the one from the symfony-standard repository.
You can update from Symfony 2.0 to Symfony 2.4 directly. And yes, for it you need original composer.json file of Symfony 2.4 in symfony/symfony-standard repository and add to it your own dependencies if you have