I am using Laravel 7 and I am also new to Laravel.
I'm trying to create a user Authentication after installing the following :
composer require laravel/ui
php artisan ui vue --auth
php artisan migrate
I tried registering by going http://127.0.0.1:8000/register but anytime I clicked Register it was telling me "that Illuminate\Database\QueryException
SQLSTATE[HY000] [1049] Unknown database 'laravel' (SQL: select count(*) as aggregate from users where email = olaoyesunday#yahoo.com)"
but I changed DB_DATABASE=ecomm3laravel in .env file.
I wouldn't know the reason why is still seeing Laravel in my DB-DATABASE instead of ecomm3laravel. Please, help me out.
I've been having troubles trying to connect a module to my custom domain.
I works perfectly on the appspot domain but not on my custom domain.
E.G.
http://m.myappname.appspot.com calls the dispatch.yaml file which routes the request to my mobile frontend
BUT
http://m.myappcustomdomain.com serves the default module (app.yaml)
Any help will be highly appreciated.
Thanks
You could an entry like this in your dispatch.yaml file:
- url: "m.myappcustomdomain.com/*"
module: your_mobile_module
https://github.com/Stamplay/stamplay-ebayclassifieds
I have been following the guide in the link above to build an app but now I'm stuck at the bit where they ask you to configure app id etc. I am not sure how to edit the app.js file to include these details
Please help!!
you have to edit line 24-26 in the app.js and put in the credentials from our stamplay.com account.
.constant('APPID', '')
.constant('APIKEY','')
.constant('BASEURL', '') // e.g. http://APPID.stamplay.com
I am making my first Web App using Generator Angular Fullstack. I went through the project initialization here: https://github.com/DaftMonk/generator-angular-fullstack
During initialization I set up oAuth for the following: Facebook, Google+, Twitter
I am using Openshift as well, and after initializing the project... I used the steps to add it to openshift. This included setting up environment variables for RHC for Facebook, Google+ and Twitter authentication. I added these as well.
However, with my new app... I cannot create a new account with Facebook, Google+ or Twitter.
When I create new account these are the errors I get:
Facebook:
Invalid App ID: id
Google+:
401. That’s an error.
Error: invalid_client
The OAuth client was not found.
Request Details
scope=https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email
response_type=code
redirect_uri=http://site.rhcloud.com/auth/google/callback
client_id=id
That’s all we know.
Twitter:
Internal Server Error
I haven't done much besides go through the tutorial so far. But I feel I missed something. Any help on this topic would be grea.t Thanks :)
Well, first of all you have to configure your clientIDs, clientSecrets and callBackURLs. These you will need to find on each oAuth provider's developer platform page. i.e. for Facebook this would be: https://developers.facebook.com/apps/
These can be placed in the local.env.js file (a sample is included, like this:
module.exports = {
DOMAIN: 'http://localhost:9000',
SESSION_SECRET: "xxxxxxxxxxxxx",
FACEBOOK_ID: 'xxxxxxx',
FACEBOOK_SECRET: 'xxxxxxx',
TWITTER_ID: 'xxxxxxx',
TWITTER_SECRET: 'xxxxxx',
GOOGLE_ID: 'xxxxxxx',
GOOGLE_SECRET: 'xxxxxxx',
.....
};
When deploying to Heroku don't forget to set the DOMAIN config variable with http/https prefix when using Google+ sign-in.
heroku config:set DOMAIN=http://<your app name>.herokuapp.com
Otherwise you will get a redirect_uri_mismatch. If this ends with an internal server error you probably need to enable the Google+ API in the Google developer console.
If you have obtained your provided ID and SECRET keys and you are still having difficulty with OpenShift as I did ... I found setting environment variables for the application did the trick for me.
Google for example:
rhc set-env -a GOOGLE_ID=
rhc set-env -a GOODLE_SECRET=
The module exports in local.env.js worked fine for me when I was developing locally but didn't when I pushed my app to OpenShift via grunt buildcontrol
Am having problems with integrating drupal and alfresco 4.2 and the cmis drupal modules.
what i have done up to now is .
1.Have a drupal 7.22 installed and running have the cmis modules installed and alfresco running in port 8000.
In the drupal settings.php i have this
$conf['cmis_repositories'] = array( 'default' => array( 'user' => 'admin', 'password' => 'nais',
'url' => 'http://localhost:8000/alfresco/service/cmis', ), );
2. On the browser tis http://127.0.0.1:8000/alfresco/service/cmis this downloads a cmis.xml file
that also contains the url within the xml file. this -> http://127.0.0.1:8000/alfresco/service/cmis
3. Moving to http://localhost/cmis/browser gives a 404 error
4 My drupal folder is called Tuna
5 Following the Readme.txt instruction to access the repository while both alfresco and drupal are
running and the module cmis is installed on the drupal by going to
http://localhost/cmis/browser or
http://localhost/Tuna/cmis/browser gives a 404 error .
6 how to i make it work and view the repository using drupal ?
7 how does the cmis view module work or does it work when the repository is able to viewed on the drupal part ?
.Please guide me am yet to be pro on drupal so a few guides and baby steps explanation would really help
localhost/cmis/browser
as you can see the above url it is assuming that you have installed in DOC_ROOT of your apache .. if you have created the drupal folder in docroot ... for example
localhost/drupal_folder
Then it doesn't work
You need to set the browser URL in cmis settings