Hi all Iam currently trying to install the CakeDC/users plugin using https://github.com/CakeDC/users and have come across an error.
When I run command './Console/cake schema create users --plugin Users' I get the error message:
Error: Plugin Users could not be found.
0 C:\wamp\www\toppin\lib\cake\console\shell.php(376): CakePlugin::load('Users')
I have tried loading both the users and migrations plugins using CakePlugin::loadAll(); and individually using CakePlugin::load('pluginhere');
Any ideas or help would be much appreciated, thanks.
I had the same issue, solved :
Just go to your 'app' dir, not 'app\Console' and run 'Console\cake schema create users --plugin Users'
It worked fine, I'm using xampp under windows 7
You are working in your app folder I assume? If you are calling your plugin Users it should be loaded with CakePlugin::load('Users') and then it should be in your app/Plugin/Users folder.
Related
I'm trying to start using hipster. I've completed the installation and tried to recreate the same bookstore app like in the demo video.
Everything went well (installation, app creation, app startup, DB schema creation) but when I access the application in the browser, I only the text "This is your footer". I don't have the header and the body like in the demo. There is no error in the console. I assume something is wrong with AngularJS but I don't know what.
I'm on Mac OS 10.10
JDK 1.8._45
eclipse Luna (I've successfully imported the generated hipster project as a Maven project)
If you have any suggestion on where to investigate. Thanks.
Ok, the root cause was that the bower components were not properly installed.
To resolve the issue, I've done:
sudo xcodebuild -license (without agreeing with the license, it was
preventing bower to complete)
sudo bower install --allow-root (to download all the components)
Had the same problem in Google Chrome. Fixed by clearing cache and cookie.
Maybe, it`s help you too.
in my case i used a postgresql database. I changed the user password in both application-dev.xml and application-prod.xml and also on the database.
alter user myuser password 'mypassword' ;
then restarted the app with command mvn sprint-boot:run
then it worked
I am getting dotnet nuke error whenver i try to add a module on my page. It works well on my local system but gives me dotnet nuke error on the server. Any help will be appreciated.
Are you running any custom URL providers, such as Ifinity's URLMaster? If so, be sure to upgrade to the latest release.
If not, what specifically is the error you are receiving?
Also check your \Portals_default\Logs\ folder for any logs that might give you a clue about the error
I am unable to deploy my application to google app engine however I can deploy it when I try 2nd or 3rd time. I get an alert on eclise as well as the log on console as below:
------------ Deploying frontend ------------
Preparing to deploy:
Created staging directory at: 'C:\DOCUME~1\bg92344\LOCALS~1\Temp\appcfg2387862893654282649.tmp'
Scanning for jsp files.
Compiling jsp files.
Scanning files on local disk.
java.io.FileNotFoundException: C:\DOCUME~1\bg92344\LOCALS~1\Temp\appcfg2387862893654282649.tmp\WEB-INF\lib\appengine-api-1.0-sdk-1.5.0.jar (Access is denied)
Debugging information may be found in C:\Documents and Settings\bg92344\Local Settings\Temp\appengine-deploy8040646126412995823.log
One thing that I found peculiar that when I go to Temp\appcfg2387862893654282649.tmp\WEB-INF\lib\ the jar appengine-api-1.0-sdk-1.5.0.jar dissapears after i get this alert, I guess it is not copying the jar completely. I dont know why :(
Can anybody help me out on this. Thanks in advance.
Regards,
BaleSabu
1 Login from Eclipse to your Google account (left bottom icon)
2 Check you application id before deploy. Should be same to your application.
3 Your user should have owner or admin role for application you want to deploy
Try cleaning and rebuilding your project before attempting to deploy again. Alternatively try to restart your IDE or computer. This fixed my errors in Android Studio.
I'm trying to migrate my app from cakephp 2.0 to 2.1. I've been using 2.1 for a couple of weeks on my local development server, and everything works fine. I've just tried uploading to the production server, and I'm getting the error message:
Fatal error: Class 'Cache' not found in app/Config/core.php on line 265
I'm probably missing something obvious, but I can't work out what. If anyone has experienced something similar or can offer any suggestions I'd be very grateful!
(I'm using the CakePHP 2.1.0 stable release)
Are you very sure you uploaded all the "core" files (the lib directory)? It seems the Cache class is missing, which is a core class of CakePHP. The error message is indicating an incomplete CakePHP install on your server.
Verify if the file lib/Cake/Cache/Cache.php exists and is readable by the webserver you are using (e.g. ownership is set to apache.apache or www-data.www-data and chmod is set properly. If using SELinux, also make sure the files have httpd_sys_content_t or public_content_rw_t context set).
I am very new to CakePHP and want to know how to install it. Also, can you tell me if the installation process is similar to Joomla! installation. Does CakePHP have an administration interface?
cakephp has administration options. Please put the whole installation in the apps folder on your web-server. Point your browser to the folder i.e. If using a local server, 127.0.0.1/index.php/
Follow the instructions shown.
If you need a cakephp based cms you can use croogo
On Windows:
In xampp the public directory is httdocs. There you copy the cake directory. In the webbrowser you call it with "http://localhost/[your_cakedirectory]" ...
You have to read the sections of installations in the cookbook.