I use CakePHP 3.0.1 and DebugKit (install using Composer).
I checked all steps to enable DebugKit but I don't see DebugKit Panel.
Help me!
Make sure you have the pdo_sqlite extension enabled for your php in the web server and that the tmp dir exists and is writable.
Related
i have worked on project in advanced yii2 , it works fine in localhost but after i upload it there is a message appear that says :
Class 'kartik\select2\select2' not found
the weird thing is : select2 works fine in localhost and i upload all the files
Your solution could be:
use kartik\select2\Select2;
Maybe you are using Windows on localhost and Linux on the remote server.
I assume, that you didn't something like "download to localhost kartik select2, then just copy&paste /vendor/kartik-v/yii2-widget-select2 to server. I hope. Because you shouldn't do like that.
Add this line to require section in project-directory/composer.json file
"kartik-v/yii2-widget-select2": "#dev"
Then run in project directory command:
composer update
If you don't have access to a command line interface in your server to run the composer update command, you need to upload the folder "vendor/composer/" and the "vendor/autoload.php" file to your web server.
When moving your code to production, you have to install all libraries used by composer with
composer install
or
php composer.phar install
Then the same versions of libraries get installed as on your dev site where you tested the application.
This is the reason why in .gitignore the file composer.lock is NOT included: Just to ensure the same lib versions on dev and prod sites.
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've tried to download and install the framework but it doesn't have a index file in frontend\web directory.
What i have to do to start using the app?
You can install it locally and run init to generate the missing files, like described here. After that just upload the application to the shared host through FTP.
Also, Yii2 Practical-A App might be useful to you.
I installed Laravel 5 on Openshift via Git. Hitting my app (the clean install) in a browser returns a blank page. Any idea what could be the cause?
Here is the URL: http://dev-rogercreasy.rhcloud.com/
Looks like you have old composer. I had the same error. To fix it go to your php dir and update composer.
In my case I gone to folder where placed my php.exe and ran command composer self-update:
cd d:\work\OpenServer\modules\php\PHP-5.5>D:\work\OpenServer\modules\php\PHP-5.5\
composer self-update
After it I gone back to folder with project and composer install command completed without any errors.
Check out the Laravel 5 QuickStart. The QuickStart uses a custom version of the standard OpenShift PHP 5.4 cartridge. The only difference is the included version of Composer has been updated.
I'm trying to use extra modules with nodeJS and netbeans, however when I try to search for the modules on netbeans it seems to simply hangup forever.
Any idea what is going on? I already had the modules installed with npm install and command line, then I right click libraries on netbeans and the search hangs.
The installed modules are mysql & aws-sdk, and I'm using windows 7, 64 bits. Also on the Tools > Options > General > Proxy definitions, there is a "Test Connnection" button. If I click on it, I get a green check saying connection is OK.
Thanks
Check if the option which you have selected is 'No Proxy', for some reason for me it was pre-selected the option 'Use System Proxy Settings' and then when i updated it failed. Once i changed it to 'No Proxy', the update installation worked.
In Netbeans, Go into Tools-> Options -> Miscellaneous -> Node.js and see that you have configured the settings properly.
see this for more info, it is a plugin for NodeJS projects: http://timboudreau.com/blog/NetBeans_Tools_for_Node_js/read