I have a question. Why when I try to log in and when I log in to the account the project home page throws a 404 error. But when I change the name of the url to another method everything works.
Sorry for the late reply.... Is this fixed ? stackoverflow.com/questions/58795504/invalid-value-for-parameter-client-encoding-utf8mb4-sql-select-from-ta
Its not an error...its the architecture of Heroku...user uploaded files is not persistent, they will eventually be lost...In order for them to work, you need to use some file storage services like aws s3...Here is a good article showing how to do that... dev.to/aschmelyun/getting-started-with-amazon-s3-storage-in-laravel-5b6d
I can not commit in last step error: On branch master nothing to commit, working tree clean............please help me .I have tried more time but failed .................
i successfully deployed my project on heroku...but after deployment the images are not working. i find to use aws s3 i need a credit card which i don't have now. can you pls suggest something which is free of cost
As far as aws s3 is concerned, you can use a Debit Card too... I have accounts using Debit Card and I'm not pretty much if they changed their terms recently... There are alternatives to aws s3 such as Azure Blob Storage, Google Cloud Storage, Digitalocean Spaces etc...
@@CodeBand Thank You so much. I have a debit card. Will give it a try now. I find google cloud storage server and almost every other platform wants billing information now which is a setback for students like us
@@CodeBand Is there any way that i can link my laravel application with sql database which i created on remotesql and then deploy on Heroku? So that for this I don't need to give my credit card details and i can use database
CC/DC details are required as part of verification whatsoever... and regarding mysql, you can absolutely do that... See this : stackoverflow.com/questions/5397028/remote-mysql-database-on-heroku-app
Database hosts array is empty. (SQL: select * from information_schema.table s where table_schema = public and table_name = migrations and table_type = 'BASE TABLE') facing these erro
This is an error when the database credentials are not passed from heroku...check in heroku->settings->config vars, an entry named DATABASE_URL. If it's not there, db(postgres/mysql) might not have set correctly.
In my case everything is working fine but I am not getting session value response in my blade file from controller but session value is displayed on controller when I have done dd please help me out If any one know the solution
Its not an error...its the architecture of Heroku...user uploaded files is not persistent, they will eventually be lost...In order for them to work, you need to use some file storage services like aws s3...Here is a good article showing how to do that... dev.to/aschmelyun/getting-started-with-amazon-s3-storage-in-laravel-5b6d
Thank you for this great video, Can you suggest me how can I deploy local database on heroku server. I want to send my localhost database on heroku server.
Thank you... If you want to just migrate the data from local to remote heroku, just export the table from local and import in heroku postgresql. Search in google on exporting and importing tables. Hope this helps. Keep supporting... :)
Uploading files wont work in Heroku unless you use some external services like aws s3. Here's a good article on how to integrate aws s3 with Laravel... medium.com/@sehmbimanvir/laravel-upload-files-to-amazon-s3-a17d013f53ce Thanks😊
I'm getting these two errors after I run "heroku run php artisan migrate". I have followed all the steps as specified still getting the error. Please give me a solution to fix this. In Connection.php line 671: SQLSTATE[22023]: Invalid parameter value: 7 ERROR: invalid value for parameter "client_encoding": "utf8mb4" (SQL: select * from information_schema.tables where table_schema = public and table_name = migrations and table_type = 'B ASE TABLE') In PostgresConnector.php line 66: SQLSTATE[22023]: Invalid parameter value: 7 ERROR: invalid value for parameter "client_encoding": "utf8mb4"
Please have a look into the link and also make sure you've followed all the steps mentioned in the tutorial... laracasts.com/discuss/channels/laravel/heroku-and-larvael-with-postgres-not-working
You might have done something incorrectly, please cross-check the steps... Meanwhile, just check this out...devcenter.heroku.com/articles/error-codes#h14-no-web-dynos-running
At first take my Thanks from my heart. I face problem to register, however i give all the information and then click to register button to register but it dose not take any action it take blur the password section and register button. please if you can suggest for this error's solution then it give me pleaser
I'm not sure why that doesn't worked.. might not be an issue with Heroku, just type in the following command in the terminal, heroku logs --tail And then try again the same registration procedure, you can see the logs for any possible error...
I'm sorry for the delay...Please check the output of heroku run php artisan migrate...and also you can check the current database status (like the list of tables and all) through heroku cli or using their dataclip feature in the Postgres dashboard. See this article for dataclips : devcenter.heroku.com/articles/dataclips Please let me know if the error is resolved..thank you.. :)
As for MySQL, the config. process is a bit different. Please find the below link which will be useful.... salitha94.blogspot.com/2019/11/deploy-laravel-application-on-heroku.html
@@cineflicks8719 Heroku does have built in https. You can go to your_app.herokuapp.com But, there will be some issues in https page as we need to do a slight configuration in the Laravel side which I have mentioned in the below video :) ruclips.net/video/cjy_Dtp9Z4k/видео.html
Uploading files wont work in Heroku unless you use some external services like aws s3. Here's a good article on how to integrate aws s3 with Laravel... medium.com/@sehmbimanvir/laravel-upload-files-to-amazon-s3-a17d013f53ce Thanks😊
. Hi I have a problem in hosting in Heroku. The error message comes up as SECRET_KEY not be empty. Error H10 . Can you help me to sort out this problem. Could you please let me know your e-mail. I can sent the error report. Thanks
Please cross check whether you have provided SECRET_KEY as an env. variable. If so, then make an env. variable in Heroku tooo...In settings, config vars section.
. Hi Thanks for the message. This is the details in Procfile. web: gunicorn djecommerce.wsgi. And this is the wsgi file path: C:\Users\Raj\Desktop\qbike1\djecommerce
I am getting this error could you please help me » Warning: heroku update available from 7.69.1 to 8.0.2. » Error: Missing required flag: » -a, --app APP parent app used by review apps » See more help with --help
At last iam getting and error ,unable to push to heroku master its rejecting Can you please help me in solving it. I have messaged you in instagram too, please respond asap bro.
hi thanks nice video, but I encountered a problem where my routes other than the '/' gives me 404 But when I tried to add /index.php/routes-path its working so do you know how to remove it on heroku Thanks alot
I'm not pretty much sure why that happens, you can check logs by typing the command... heroku logs --tail Try googling out your specific problem and I'm sure you will get the solution. Keep going👍🏻
Thank you so much! Worked perfectly, after days of searching, you Sir helped me really out. You literally are the only one who shows how to do this, thank you so much! I have a question, after run that npm run prod:build command, my frontend doesnt show me any pictures of my assets folder. Are there any solutions Sir? Thanks
Yup, its free for lifetime although there are certain limitations like 1000 dyno hours a month and so on. Please see this article : www.heroku.com/pricing
. Thanks for the message. But I got this message on Error H14 When I apply "heroku ps:scale web=1" Scaling dynos... ! ! Couldn't find that process type (web). env) C:\Users\Raj\Desktop\qbike>heroku ps:scale web=2 worker=4. Scaling dynos... ! ! Couldn't find that process type (web). (env) C:\Users\Raj\Desktop\qbike>
@@muhammadmughees7551 Chances are you misspelled Procfile or the content inside it. File name is Procfile (without any extension). Content : web: vendor/bin/heroku-php-apache2 public
Apparently you're using Windows. I got the same error as yours, but I fixed it. Try running echo web: vendor/bin/heroku-php-apache2 public/ > Procfile in your terminal. It worked for me
This tutorial is the best tutorial video that explains "how to deploy laravel app with database" perfectly. Thanks for the video
Glad it was helpful!
Nice tutorial!!! Helped me a lot! I had even saw another videos but just with this one i managed to deploy my app. Thanks!
Glad it helped!
thank you so much for like this video ,initially i was facing errors but right now my app in online thanks buddy😜
Glad to hear that :)
man saved the life :)
I have watched different videos, I still encounter errors but your method worked once 😍😍😍
Glad to hear that! Keep going :)
Thanks man! This is extremely helpful.
Happy to help😊
do i have to git init before heroku create if i already have a project repository in github? i created it for version control before
you're the man! thank you
Very glad to hear that😊
Thanks Code Band, that was really helpful
Glad to hear that😊
Sir, any tips for this error?
SQLSTATE[HY000] [2002] Cannot connect to MySQL using SSL
nice, thank you
Welcome 😊
I have a question. Why when I try to log in and when I log in to the account the project home page throws a 404 error. But when I change the name of the url to another method everything works.
Looks strange, were you able to solve it?
I don't have a database I'm using API would it still work if I deployed it ??? I hope you answer very soon
Sorry for the late reply....
It will absolutely work fine...
invalid value for parameter "client_encoding": "utf8mb4"
please help
Sorry for the late reply....
Is this fixed ?
stackoverflow.com/questions/58795504/invalid-value-for-parameter-client-encoding-utf8mb4-sql-select-from-ta
@@CodeBand it worked thanks
how to import mysql database with is having data ? please help me.
Sorry for the late reply...
U mean to use an already running production DB ?
i deployed my project on heroku...but after deployment the images are not working
Its not an error...its the architecture of Heroku...user uploaded files is not persistent, they will eventually be lost...In order for them to work, you need to use some file storage services like aws s3...Here is a good article showing how to do that...
dev.to/aschmelyun/getting-started-with-amazon-s3-storage-in-laravel-5b6d
@@CodeBand thanks
@@vishnuvs870 Keep going👍🏻
I can not commit in last step error: On branch master
nothing to commit, working tree clean............please help me .I have tried more time but failed .................
You might have missed to add/commit before pushing...
fatal: 'heroku' does not appear to be a git repository
fatal: Could not read from remote repository.
during pushing
A typo in the command, probably.
Does it work on any file uploads? I tried it before but every time Itriied to upload a file it deletes automatically.
Heroku, by architecture doesn't support file uploads... You have to use services like AWS S3 for that...
i successfully deployed my project on heroku...but after deployment the images are not working. i find to use aws s3 i need a credit card which i don't have now. can you pls suggest something which is free of cost
As far as aws s3 is concerned, you can use a Debit Card too... I have accounts using Debit Card and I'm not pretty much if they changed their terms recently...
There are alternatives to aws s3 such as Azure Blob Storage, Google Cloud Storage, Digitalocean Spaces etc...
@@CodeBand Thank You so much. I have a debit card. Will give it a try now. I find google cloud storage server and almost every other platform wants billing information now which is a setback for students like us
@@dhakatrends5930 Yeah... that's kind of a req. now a days... You should also try Github Students Pack for students, if you haven't already.
At add-on page they asking for credit card details?? What can i do for that?
On a new account opening in Heroku, we're required to provide our card details, they will not deduct the money.. just as a proof...
@@CodeBand Is there any way that i can link my laravel application with sql database which i created on remotesql and then deploy on Heroku? So that for this I don't need to give my credit card details and i can use database
CC/DC details are required as part of verification whatsoever... and regarding mysql, you can absolutely do that...
See this :
stackoverflow.com/questions/5397028/remote-mysql-database-on-heroku-app
does this hosting has limit of storage for project file?
Database hosts array is empty. (SQL: select * from information_schema.table
s where table_schema = public and table_name = migrations and table_type =
'BASE TABLE')
facing these erro
This is an error when the database credentials are not passed from heroku...check in heroku->settings->config vars, an entry named DATABASE_URL. If it's not there, db(postgres/mysql) might not have set correctly.
In my case everything is working fine but I am not getting session value response in my blade file from controller but session value is displayed on controller when I have done dd please help me out If any one know the solution
How are you accessing session value in blade file ?
getting error as Error: To create an app, verify your account by adding payment
› information
It work... But if I uploaded any image in database ... After some it was missing... Any solution?
Its not an error...its the architecture of Heroku...user uploaded files is not persistent, they will eventually be lost...In order for them to work, you need to use some file storage services like aws s3...Here is a good article showing how to do that...
dev.to/aschmelyun/getting-started-with-amazon-s3-storage-in-laravel-5b6d
@@CodeBand Thank you....
😊
Thank you for this great video, Can you suggest me how can I deploy local database on heroku server. I want to send my localhost database on heroku server.
Thank you...
If you want to just migrate the data from local to remote heroku, just export the table from local and import in heroku postgresql. Search in google on exporting and importing tables.
Hope this helps.
Keep supporting... :)
Is it totally free of charge?
@@arwan07 Yeah, totally free...
except it has some limitations...
See www.heroku.com/free
Thank you.
how to upload a picture in heroku? thats my problem
Uploading files wont work in Heroku unless you use some external services like aws s3. Here's a good article on how to integrate aws s3 with Laravel...
medium.com/@sehmbimanvir/laravel-upload-files-to-amazon-s3-a17d013f53ce
Thanks😊
*Nice Video*
Glad to hear that...😊
I'm getting these two errors after I run "heroku run php artisan migrate". I have followed all the steps as specified still getting the error.
Please give me a solution to fix this.
In Connection.php line 671:
SQLSTATE[22023]: Invalid parameter value: 7 ERROR: invalid value for parameter "client_encoding": "utf8mb4" (SQL:
select * from information_schema.tables where table_schema = public and table_name = migrations and table_type = 'B
ASE TABLE')
In PostgresConnector.php line 66:
SQLSTATE[22023]: Invalid parameter value: 7 ERROR: invalid value for parameter "client_encoding": "utf8mb4"
What are the errors?
database host array is empty
please help
Please have a look into the link and also make sure you've followed all the steps mentioned in the tutorial...
laracasts.com/discuss/channels/laravel/heroku-and-larvael-with-postgres-not-working
initial deploy I got forbidden error not a 500|server error , I complete all the step but I got only Forbidden error can you please tell the reason?
Same here!
stackoverflow.com/questions/47619860/laravel-5-4-on-heroku-forbidden-you-dont-have-permission-to-access-on-this-s
syntax error in code in 12 min when write in config that undefine url
Try to recheck the code again, it should work with the current setup...😊
. HI I have problem of error H14 in Heroku. Can you help me solve the problem. No more Secret_Key problem. Thanks
You might have done something incorrectly, please cross-check the steps...
Meanwhile, just check this out...devcenter.heroku.com/articles/error-codes#h14-no-web-dynos-running
At first take my Thanks from my heart.
I face problem to register, however i give all the information and then click to register button to register but it dose not take any action it take blur the password section and register button. please if you can suggest for this error's solution then it give me pleaser
I'm not sure why that doesn't worked.. might not be an issue with Heroku, just type in the following command in the terminal,
heroku logs --tail
And then try again the same registration procedure, you can see the logs for any possible error...
Undefined table: 7 ERROR: relation "Products" does not exist, why i got this error? i alredy run the heroku run php artisan migrate
I'm sorry for the delay...Please check the output of heroku run php artisan migrate...and also you can check the current database status (like the list of tables and all) through heroku cli or using their dataclip feature in the Postgres dashboard.
See this article for dataclips : devcenter.heroku.com/articles/dataclips
Please let me know if the error is resolved..thank you.. :)
@@CodeBand thank you.
@@rikyhendrawansaputra5781 Keep learning.. :)
@@rikyhendrawansaputra5781 Welcome brother...keep supporting.. :)
I use mysql... How to config ?
As for MySQL, the config. process is a bit different. Please find the below link which will be useful....
salitha94.blogspot.com/2019/11/deploy-laravel-application-on-heroku.html
than you so much'
Glad it helped😊
@@CodeBand how to put an ssl certificate sir?
@@cineflicks8719 Heroku does have built in https. You can go to your_app.herokuapp.com
But, there will be some issues in https page as we need to do a slight configuration in the Laravel side which I have mentioned in the below video :)
ruclips.net/video/cjy_Dtp9Z4k/видео.html
When i use create command it says "verify your account by adding payment information" is it not free domain now 🤦🏽🤦🏽
is it not free anymore?
hello sir good day how to fix . pictures upload deleted after several hours in heroku
Uploading files wont work in Heroku unless you use some external services like aws s3. Here's a good article on how to integrate aws s3 with Laravel...
medium.com/@sehmbimanvir/laravel-upload-files-to-amazon-s3-a17d013f53ce
Thanks😊
. Hi I have a problem in hosting in Heroku. The error message comes up as SECRET_KEY not be empty. Error H10 . Can you help me to sort out this problem. Could you please let me know your e-mail. I can sent the error report.
Thanks
Please cross check whether you have provided SECRET_KEY as an env. variable. If so, then make an env. variable in Heroku tooo...In settings, config vars section.
Thankyou
You’re welcome 😊
. Hi Thanks for the message. This is the details in Procfile. web: gunicorn djecommerce.wsgi. And this is the wsgi file path: C:\Users\Raj\Desktop\qbike1\djecommerce
I am getting this error could you please help me
» Warning: heroku update available from 7.69.1 to 8.0.2.
» Error: Missing required flag:
» -a, --app APP parent app used by review apps
» See more help with --help
simply run heroku update on your cli
At last iam getting and error ,unable to push to heroku master its rejecting
Can you please help me in solving it.
I have messaged you in instagram too, please respond asap bro.
Sorry for the late reply...
I actually didn't noticed your msg in instagram...
Anyways, did you managed to fix the issue.. ?
hi thanks nice video,
but I encountered a problem where my routes other than the '/' gives me 404
But when I tried to add /index.php/routes-path its working
so do you know how to remove it on heroku
Thanks alot
I'm not pretty much sure why that happens, you can check logs by typing the command...
heroku logs --tail
Try googling out your specific problem and I'm sure you will get the solution.
Keep going👍🏻
cпасибо индусик
добре дошли
Thank you so much! Worked perfectly, after days of searching, you Sir helped me really out. You literally are the only one who shows how to do this, thank you so much! I have a question, after run that npm run prod:build command, my frontend doesnt show me any pictures of my assets folder. Are there any solutions Sir? Thanks
npm run prod:build
Things might have changed with this one as Laravel evolved with major updates...
Check the Docs for more on assets.
in this free ?
Yup, its free for lifetime although there are certain limitations like 1000 dyno hours a month and so on. Please see this article : www.heroku.com/pricing
.
Thanks for the message. But I got this message on Error H14
When I apply "heroku ps:scale web=1"
Scaling dynos... !
! Couldn't find that process type (web).
env) C:\Users\Raj\Desktop\qbike>heroku ps:scale web=2 worker=4.
Scaling dynos... !
! Couldn't find that process type (web).
(env) C:\Users\Raj\Desktop\qbike>
Then, the issue is with Procfile, check the spelling of the file and the contents inside.. :)
fwrite():ssl:broken pipe error occurred on my send mail laravel application .can you help me
laracasts.com/discuss/channels/laravel/fwrite-ssl-broken-pipe-when-trying-to-send-mail
Forbidden
You don't have permission to access this resource.
Please give an explanation of the error bro...
Bro I have faced this error when I run my app
@@muhammadmughees7551 Chances are you misspelled Procfile or the content inside it.
File name is Procfile (without any extension).
Content :
web: vendor/bin/heroku-php-apache2 public
Apparently you're using Windows.
I got the same error as yours, but I fixed it.
Try running echo web: vendor/bin/heroku-php-apache2 public/ > Procfile in your terminal.
It worked for me
now needs credit card
bruh calm down and take a breath :3.Pls slowly
lol...Will make it slower in future videos😊
take a breath bro :)
Definitely, 😂
Forbidden
You don't have permission to access this resource.
Please explain bro...
same thing here, can't seen to find an answer to this nowhere!
The same problem please help me
@@CodeBand same thing here :(
@@rodrickee stackoverflow.com/questions/47619860/laravel-5-4-on-heroku-forbidden-you-dont-have-permission-to-access-on-this-s
Forbidden
You don't have permission to access this resource.
See this : stackoverflow.com/questions/47619860/laravel-5-4-on-heroku-forbidden-you-dont-have-permission-to-access-on-this-s
Forbidden
You don't have permission to access this resource.
Check this : stackoverflow.com/questions/47619860/laravel-5-4-on-heroku-forbidden-you-dont-have-permission-to-access-on-this-s