j26design / PDF-Embedder-Premium

A public place to request features and report bugs for the PDF Embedder (Premium) widget built for Adobe Muse.
http://muse.j-26.com/musepdf
0 stars 0 forks source link

Can't get it to work #19

Open eshubumpus opened 7 years ago

eshubumpus commented 7 years ago

I didn't have a public_html folder on my server, so I added one to the root of my website (I have several subdomains, so I also copied it into the folder where the particular site was) and copied the files to it. I can't get it to work at all and the lack of feedback until you publish it makes the process very frustrating. I created a subdomain specifically for testing it so I wouldn't have the long wait time, but I'm getting nowhere. Please advise. Thank you, Eshu Bumpus

eshubumpus commented 7 years ago

This is my test site: http://pdftest.folktales.net In "preview site in browser" it says it can't find viewer.html, so something is there, but nothing shows up when I publish. Eshu eshu@folktales.net

eshubumpus commented 7 years ago

I meant to mention, pages 2 and 3 are the premium version of the embedder. E

jp26jp commented 7 years ago

Your server has a weird setting that's blocking the application. Find your .htaccess file and add this to it:

Header always append X-Frame-Options SAMEORIGIN
eshubumpus commented 7 years ago

Thank you, I'm using 1and1.com if that means anything. I will try this fix. E

eshubumpus commented 7 years ago

I downloaded filezilla and was able to find a file .htaccess inside of a folder called 2013. When I added the line, it made the site fail to load, so I changed it back.

I decided to try it on the new test site. Muse had created the .htaccess file with just two lines. I pasted the new line between them.

Begin Muse Generated redirects

Header always append X-Frame-Options SAMEORIGIN

End Muse Generated redirects

When t didn't work, I tried placing the new line before and after the others. nothing seemed to matter. What else can I try? E

jp26jp commented 7 years ago

The .htaccess file needs to be in the folder that the rest of your website is located, not a random folder titled 2013

eshubumpus commented 7 years ago

I created a test site. I put the .htaccess file in the root directory of that site. The file was created by muse and i added the line you sent. I still get nothing.

On Aug 13, 2017, at 3:04 AM, John R Perry notifications@github.com wrote:

The .htaccess file needs to be in the folder that the rest of your website is located, not a random folder titled 2013

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/j26design/PDF-Embedder-Premium/issues/19#issuecomment-322025875, or mute the thread https://github.com/notifications/unsubscribe-auth/AdWpCEETTEyildjEQpPnr_Jau8IgaVOqks5sXp_3gaJpZM4OuzoW.

jp26jp commented 7 years ago

You'll need to contact your webhost to figure out what is setting the X-Frame-Options policy