Grid Export to PDF under Subdomain and https Error 404 apears

Hello ScriptCase Supporters and Developers,

We simply talk about
Grid export to pdf with subdomain and https:// but no matter if https or http i allways receive the Error 404
What i do
[LIST=1]

  • Select a Grid
  • Click Export
  • Select PDF
  • PDF generation finished.
  • Click Show the Error 404 apears. [/LIST] I can download the pdf, but the file is unreadable Any other exports like word, excel ect. Works fin

    I read a lot about this or near this problem but i dosn?t found any Solution for it.
    at first, on my development envirement works fin, but on my production envirement (host) unfortunatly not.

    My production enviroment is based on a Subdomain under https and i access this with URL https://90570-fsreinemuth.blueorganizer.ch/Security_Login

    The files are stored under
    /public_html/BlueOrganizer/Kunden/90570-FSReinemuth

    The Log file under the folder _lib/tmp
    ./wkhtmltopdf-amd64 --page-size Letter --orientation Portrait --outline-depth 0 --header-right “[page]” http://90570-fsreinemuth.blueorganizer.ch/_lib/tmp/sc_grid_DrivingStudents_html_k51lc1k80fle11mku2hrbk8a87.html /home/blueorga/public_html/BlueOrganizer/Kunden/90570-FSReinemuth/_lib/tmp/sc_pdf_20160803064323_24_grid_DrivingStudents.pdf

    Questions
    [LIST=1]

  • Why http:// and not https://
  • Why /home/blueorga/public_html/BlueOrganizer/Kunden/90570-FSReinemuth/_lib/tmp/sc_pdf_20160803064323_24_grid_DrivingStudents.pdf [/LIST]
  • one more logfile

    ./wkhtmltopdf-amd64 --page-size Letter --orientation Portrait --outline-depth 0 --header-right “[page]” http://90570-fsreinemuth.blueorganizer.ch/_lib/tmp/sc_grid_DrivingStudents_html_k51lc1k80fle11mku2hrbk8a87.html /home/blueorga/public_html/BlueOrganizer/Kunden/90570-FSReinemuth/_lib/tmp/sc_pdf_20160803071310_357_grid_DrivingStudents.pdf

    and a other one
    ./wkhtmltopdf-amd64 --page-size Letter --orientation Portrait --outline-depth 0 --header-right “[page]” http://90570-fsreinemuth.blueorganizer.ch/_lib/tmp/sc_grid_DrivingStudents_html_k51lc1k80fle11mku2hrbk8a87.html /home/blueorga/public_html/BlueOrganizer/Kunden/90570-FSReinemuth/_lib/tmp/sc_pdf_20160803071835_789_grid_DrivingStudents.pdf

    it is not good that I can see the logfile from outside, is this a security issue?

    Sorry Salvatore, but you’re mail is a little confusing because the links are truncated or incomplete. I cannot view any of your log files. Can you post a single link to a log file or put one of them at some accesible location?

    Hi,
    Sorry for the delay

    GRID->Export->PDF
    after generating->view->error 404

    a logfile from this issue
    ./wkhtmltopdf-amd64 --page-size Letter --orientation Portrait --outline-depth 0 --header-right “[page]” 90570-fsreinemuth.blueorganizer.ch/_lib/tmp/sc_grid_DrivingStudents_html_e6rj8ok47nqboms23svs8j6a96.html /home/blueorga/public_html/BlueOrganizer/Kunden/90570-FSReinemuth/_lib/tmp/sc_pdf_20160902151531_352_grid_DrivingStudents.pdf

    then i have 2 other files in the temp folder
    the .css and .html

    the pdf (sc_pdf_20160902151531_352_grid_DrivingStudents.pdf) himself is not existing.

    if i use pdfreport to generate a PDF then its running fine and a pdf is placed in the temp folder also.

    This Error 404 appears only if i run the app on developed app on my host.

    if i export to any other format (Word, Excel) runs fine.