All Questions
Tagged with heroku-postgres php
14 questions
0
votes
1
answer
527
views
Getting not found page after uploading my laravel project on Heroku
When I uploaded my laravel project to Heroku host and go to the home page I found the laravel homepage (welcome.blade.php) that is fine but when a try one of my routes I get a page that says NOT ...
0
votes
1
answer
102
views
Seeding a pivot table in heroku results to error
I'm deploying a Laravel 5.2 application with a database in Heroku. I've managed to migrate my tables without errors until it's time to seed the tables. The seeding always resulted in an error which is ...
0
votes
0
answers
289
views
How to host a Vue App with a PHP back-end
I have a web app running with VueJS as the front-end and PHP as the back-end.
I've been searching for hours but still can't figure out how to host that.
I currently have hosted the front-end on Heroku,...
0
votes
1
answer
405
views
Call to undefined function parse_url() . why
I using php(in laravel) and postgresql on heroku.
I know how to connect database on this site → https://mattstauffer.com/blog/laravel-on-heroku-using-a-postgresql-database/
I use this Method for ...
0
votes
2
answers
2k
views
Why isn't Heroku serving images using Laravel linked storage?
When I run my Laravel app locally it shows images but when I deploy it on Heroku images don't dynamically display from my storage folder.
Here is an example code snippet where I try to show an image:
...
2
votes
1
answer
1k
views
Why is the Port number throwing an error in the Heroku Postgresql connection [duplicate]
I have this block of PHP code that is supposed to connect to a PostgreSQL database in heroku
Code Below:
function __construct() {
$host = 'hostname';
$user = 'username';
...
0
votes
1
answer
152
views
PHP PDO returns true
I'm trying to pull out some data from my database, but a boolean is returned (as expected), but then when I try the variations of ->fetch(), I get the error Fatal error: Uncaught Error: Call to a ...
2
votes
1
answer
3k
views
Heroku postgres is very slow under load
I'm deploying an app to the Heroku that uses php and heroku-postgres. App performs about 70-80 queries to the small postgres database (about 10Mb).
I did some load testing using apache bench with 50 ...
0
votes
0
answers
32
views
Heroku can not compile Symfony2.7 project
I need your help with a problem using a symfony2.7 upload on heroku. I entered the command git push heroku master this is the error:
https://drive.google.com/file/d/0BztswIqNuWoTQjA4enJzelM0dlU/view
1
vote
0
answers
1k
views
Running laravel migration on heroku server
I have a production server, and i have deployed the code into the server, but when i try to migrate the databse with this command :
heroku run php artisan
This what i have returned
Running php ...
0
votes
1
answer
520
views
How to upload PHP and MySQL web application on heroku?
I uploaded my PHP web app on Heroku, but it has a database, which I would like to upload too. I have exported the database into a .sql file from my local phpMyAdmin and created a ClearDB MySQL ...
3
votes
0
answers
109
views
How to reset heroku db on each build or periodically
I have a demo app in heroku (using https://github.com/winglian/heroku-buildpack-php , composer an Laravel 4) which database I want to be nuked everyday and then reinstall laravel migrations and seeds ...
4
votes
1
answer
813
views
Heroku Data Clip cannot be created
I am trying to create tables in heroku postgre database. I am recieving the following error
Error: Dataclip cannot be created
ERROR: syntax error at or near "CREATE"
LINE 2: CREATE TABLE "users" (
...
0
votes
1
answer
1k
views
Heroku postgres ingress - could not connect to server error
Background..
I'm trying to connect to my heroku database externally from a php script and I'm getting a "Could not connect to server" error
The tech..
It's a "crane" production level database, not a ...