Solved

on my website the pdf file is not pulling up.

Posted on 2013-06-19
12
299 Views
Last Modified: 2013-06-21
http://aceyourplace.com/aypv1/Prod/ForSale.aspx

 "click here for the details" is suppose to open a pdf file and it is not opening!

please help. thanks

I talked to godaddy.com and they are not helping
0
Comment
Question by:goodk
  • 6
  • 6
12 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39261572
You appear to have a 'redirect' to your home page when a file is not found so it is not possible to troubleshoot your problem.  Turn that off and maybe we can help.
0
 

Author Comment

by:goodk
ID: 39263362
Hi Dave,

I do not know how to turn the redirect off.  

I looked at my directory and the pdf file exists.  Is there any other way to confirm that?

I am thinking that due to some generalized security it is unable to fetch the pdf file from the server and display.  Not sure if I am right?
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39263443
Hmm... looks like I was wrong.  I put in a known bad address and got a 404 File Not Found page.  Something else is going on and your code is hiding it from us.  You need to either post your code or hire someone to fix it.  We can't see enough by looking at your link to help you.
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:goodk
ID: 39263608
<a href="../Pictures/5SiennaLakeBrochure.pdf"
 target="_blank" >click here for the details</a>

That is all I have behind the click, should work? not sure what is happening
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39263758
But it is obvious that it not only isn't working, it's not showing an error and it is immediately going back to the original page.  Something else is going on.  I was not able to create a direct link to the file.  That also ended up back at the main page.  You may need to hire someone to deal with this.  There are non-obvious things happening.
0
 

Author Comment

by:goodk
ID: 39263832
does the server deal with the pdf file differently?

this has worked very well for a long time.  the webside admin apparently has made some security changes and now the pdf file is not coming up.

my webhost is godaddy.com
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39263917
You need to talk to the "website admin" about fixing it since they 'broke' it.  Being on Godaddy has nothing to do with it, I have quite few sites on Godaddy without these kinds of problems.
0
 

Author Comment

by:goodk
ID: 39264041
good to know that.

do you also have a pdf file which opens ok by clicking on godaddy.com?
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39264196
Yes.  Your problem has nothing to do with Godaddy.  It is a programming problem on your site.  Which is why the Godaddy techs aren't going to help you with it.  They keep the servers running, actual programming issues are your problem.
0
 

Author Comment

by:goodk
ID: 39264223
http://localhost:59314/Pictures/5SiennaLakeBrochure.pdf

It is exactly same thing but works just fine on my pc (as a server)
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 50 total points
ID: 39264303
If it works, then it is NOT exactly the same thing.  Somebody, maybe your "website admin", has done something to make it different on your hosting.  I have not been able to find any combination of directories to make it do anything but redirect.  So someone has done something that causes the PDF files to redirect.  You have to find out what that is in order to fix it.
0
 

Author Closing Comment

by:goodk
ID: 39267223
not sure what is going on
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question