Laravel Barryvdh Dompdf : Page is not working http 500 error - laravel-5.4

I have I have installed 'barryvdh/laravel-dompdf' using composer and added lines in providers and alias array in config.php
Barryvdh\DomPDF\ServiceProvider::class,
and
'PDF' => Barryvdh\DomPDF\Facade::class,
And created controller and functions and for download files.Its working fine and download pdf on localhost but when I uploaded to server The page is not working its giving HTTP 500 error.

Related

Autodesk Forge design automation [workitems request] fail in heroku deployment "Failed to create a workitem"

I've downloaded the Design automation sample from github https://github.com/Autodesk-Forge/learn.forge.designautomation/tree/nodejs
I followed the toturial to make it working locally,
my issue is after deploying the app to heroku and filled the secret data, every thing is working correctly except for the workitems request it fails with code 500 Internal Server Error and response:
{"diagnostic":"Failed to create a workitem"}
error screen shot
the error log file: https://mega.nz/file/b2Y3wTJD#FqyWubUvewk175j_Y75TfpwfkzZHNXhSH1Tt5NY4HPc
You need to update FORGE_WEBHOOK_URL to https://test-f-daa.herokuapp.com on Heroku as well, from the error log -
{"url":["Failed to create URL for 'undefined/api/forge/callback/designautomation?....

Cannot GET /api/forge/oauth/callback

Im trying to test out this demo on my own windows machine: https://github.com/Autodesk-Forge/forge-bim360-clashissue
Ive successfully started had the template running with these commands.
npm install
set FORGE_CLIENT_ID=<<YOUR CLIENT ID FROM DEVELOPER PORTAL>>
set FORGE_CLIENT_SECRET=<<YOUR CLIENT SECRET>>
set FORGE_CALLBACK_URL=<<YOUR CALLBACK URL>>
npm run nodemon
Ive added a new app within the Forge My Apps interface.
Ive added the provisions for the the BIM 360 Account interface.
I can connect to my localhost, and when i press ALLOW to try to authenticate and login to the autodesk account, i get redirected to the following website with the following error:
http://localhost:3000/api/forge/oauth/callback?code=TOAq...
Cannot GET /api/forge/oauth/callback
How can i get past this error?
It looks like a configuration mismatch. You have configured the callback to be http://localhost:3000/api/forge/oauth/callback but according to https://github.com/Autodesk-Forge/forge-bim360-clashissue/blob/master/server/endpoints/oauth.endpoints.js#L72 your server actually expects the callback on a different URL: http://localhost:3000/api/forge/callback/oauth.

Jekyll and Strapi: The Strapi server sent a error with the following status: 404. Please make sure it is correctly running

I am currently trying to follow this tutorial (https://blog.strapi.io/building-a-static-website-using-jekyll-and-strapi/) and everything was working fine until the "Posts List" step. Once I added the _layouts/home.html file, changed _config.yml and restarted the jekyll server (bundle exec jekyll serve), I ended up with an error message:
jekyll 3.8.5 | Error: The Strapi server sent a error with the following status: 404. Please make sure it is correctly running.
Thing is, the strapi server IS RUNNING... I have access to the the strapi admin backend and I can access and view the Posts json object by visiting: http://localhost:1337/posts.
Please make sure you have data in your Post content type.
Create some posts and then retry.

http 404 error in eclipse

got this error when i created a single html page and i have also have another web project in eclipse
HTTP Status 404 - /Angular/
type Status report
message /Angular/
description The requested resource is not available.
Apache Tomcat/7.0.82
HTTP Status 404 - /Angular/
type Status report
message /Angular/
description The requested resource is not available.
Apache Tomcat/7.0.82
When deploying a server in eclipse, ensure that you've added your eclipse project as a web module to the server. To see that on your existing server, double click it, and go to the modules tab.
Now, take note of the path at which you've deployed the module. You may need to change that path to /Angular instead of your eclipse project name.

While Connecting files Network error issue in Eclipse

Actually i was trying to have a login page in phonegap using eclipse,so now i have html code in eclipse as well as php code in localhost,I am getting the php code using Json in eclipse.
But after entering username & password and pressing login button.Now the issue comes that
Application Error
"There was an network error("http://192.x.x.x/learn/co.php?Username="
Have you add this settings in your config.xml :
<access origin="*"/>
More info on phone gap doc here