Category : heroku

I have a laravel app. Initially in my local server, i made few changes in php.ini like ; Maximum allowed size for uploaded files. upload_max_filesize = 260M ; Must be greater than or equal to upload_max_filesize post_max_size = 260M Now i want these changes to be applied to my website which I have deployed on ..

Read more

when i push my laravel 8 project in heroku: remote: Generating optimized autoload files remote: > IlluminateFoundationComposerScripts::postAutoloadDump remote: > @php artisan package:discover –ansi remote: remote: In ProviderRepository.php line 208: remote: remote: Class "BarryvdhDebugbarServiceProvider" not found remote: remote: remote: Script @php artisan package:discover –ansi handling the post-autoload-dump event returned with error code 1 remote: ! WARNING: ..

Read more

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 this: Seeded: RolesTableSeeder Seeded: PrivilegesTableSeeder [2021-07-19 18:40:57] production.ERROR: PDOException: SQLSTATE[42703]: Undefined column: 7 ERROR: column "id" does not exist LINE ..

Read more

I have a php app in which one of the module is of laravel. File structure is -Web-eng –Procfile –composer.json –public —-index.php —-library.php –laravelproj —-example-app ——public ——composer.json ——(other files) Now I can deploy the public (pure php) separately when copied in other folder But i could not deploy the web-eng folder, it says "Forbidden you ..

Read more

I’m developping a fullsatck web app with Laravel 8 (back) and Vue.js (front), with a Mongo Atlas Cluster. Since today I can not loggin anymore in my app. Here is the complete error message : MongoDBDriverExceptionConnectionTimeoutException: No suitable servers found (`serverSelectionTryOnce` set): [TLS handshake failed: error:1416F086: SSL routines:tls_process_server_certificate:certificate verify failed calling ismaster on ‘my-cluster-shard-00-00.ybukg.mongodb.net:27017’] [TLS ..

Read more

I’ve deployed my laravel app to heroku. I have this file below as my frontend.blade.php but somehow heroku is throwing me this error message to the chrome developer console. Error: geeksolution.herokuapp.com/:18 Mixed Content: The page at ‘https://geeksolution.herokuapp.com/’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://geeksolution.herokuapp.com/frontend/css/main.css’. This request has been blocked; the content must ..

Read more

$intervention = new ImageManager(array(‘driver’ => ‘gd’)); $rutaImagen=$request[‘hotel-imagen’]->store(‘upload-mihotel’,’public’); $img=$intervention->make(public_path(“storage/{$rutaImagen}”))->fit(800,500); $img->save(); click to view the result ES:Pues como podrá ver en la imagen esto es lo que me esta fallando, en el tema local me esta yendo todo bien, funciona perfecto pero una vez pasado a producción en el servidor de Heroku me comienza a dar este ..

Read more

I am using Laravel 8. I have deployed my app on heroku. To be correctly redirected in HTTPS in production, I added this script in the boot method of AppServiceProvider.php : if (App::environment(‘production’)) { URL::forceScheme(‘https’); } Despite all these precautions, I have a page which is always redirected in http instead of https. The majority ..

Read more

$DATABASE_URL=parse_url(‘postgres://fqnpjjhewnbejh:1[email protected]ec2-54-152-185-191.compute-1.amazonaws.com:5432/d9dmcpo4dupmpl’); ‘default’ => env(‘DB_CONNECTION’, ‘pgsql’), ‘pgsql’ => [ ‘driver’ => ‘pgsql’, ‘host’ => $DATABASE_URL[‘ec2-54-152-185-191.compute-1.amazonaws.com’], ‘port’ => $DATABASE_URL[‘5432’], ‘database’ => ltrim($DATABASE_URL[‘postgres://fqnpjjhewnbejh:1[email protected]ec2-54-152-185-191.compute-1.amazonaws.com:5432/d9dmcpo4dupmpl’], "/"), ‘username’ => $DATABASE_URL[‘fqnpjjhewnbejh’], ‘password’ => $DATABASE_URL["119f97d0d51c4ff03ec896813878b9e3bb3d588ccb27dd257e4106cfadf22b09"], ‘charset’ => ‘utf8’, ‘prefix’ => ”, ‘schema’ => ‘public’, ‘sslmode’ => ‘require’, ], Sourc..

Read more

I’m trying to deploy my Laravel/Vue.js app on Heroku, but I have an error when I’m trying to push. Here is the error message : > IlluminateFoundationComposerScripts::postAutoloadDump > @php artisan package:discover –ansi In DatabaseManager.php line 152: Database connection [mysql] not configured. Script @php artisan package:discover –ansi handling the post-autoload-dump event returned with error code 1 ..

Read more

I uploaded a question board using Laravel, Vue, RESTful API on Heroku. When I log in and add a question, I get a 500 (Internal Server Error) called "Key path "file:///app/storage/oauth-public.key" does not exist or is not readable". Github: https://github.com/2020software/Sample-Vuedev Heroku Question board: https://samplevueqa.herokuapp.com/ Login id : [email protected] Login pw: password Thank you for those ..

Read more