Elxis CMS Forum

Extensions => Bots and plugins => Topic started by: sawaedy on December 19, 2011, 19:00:01

Title: all the my link not work (solved)
Post by: sawaedy on December 19, 2011, 19:00:01
can help me?  is not work
 http://docs.google.com/gview?url=http://journals.ut.ac.ir/page/download-Av5Jhmp7vwc.artdl
Title: Re: all the my link not work
Post by: sawaedy on December 19, 2011, 19:59:41
google viewer not work? can help me?
Title: Re: all the my link not work
Post by: sawaedy on December 19, 2011, 20:33:16
what i clicking in my link(  http://www.sawaedy.com/images/pdf/2633-Differentiation%20or%20destruction.pdf)  is show my home page( www.sawaedy.com), is the problem for all my links
Title: Re: all the my link not work
Post by: webgift on December 20, 2011, 11:48:33
Please write the PDF file name without using space.
For example replace : my pdf file.pdf
to : my_pdf_file.pdf
;)
Title: Re: all the my link not work
Post by: sawaedy on December 20, 2011, 19:49:45
is show this error:
[Tue Dec 20 21:44:10 2011] [error] [client 95.81.119.245] client denied by server configuration: /home/sawaedyc/public_html/images/pdf/16.pdf, referer: http://www.google.com/url?sa=t&rct=j&q=%D9%87%D9%88%D8%B4%20%D8%B3%D8%A7%D8%B2%D9%85%D8%A7%D9%86%DB%8C%20filetype%3Apdf&source=web&cd=9&ved=0CGAQFjAI&url=http%3A%2F%2Fwww.sawaedy.com%2Fimages%2Fpdf%2F16.pdf&ei=0cjwTovnCMmksgbWkOTaDw&usg=AFQjCNH7yzt1RqtQmIK1ttDNFvh8rGuyeQ

what i do?
Title: Re: all the my link not work
Post by: sawaedy on December 20, 2011, 21:34:54
what is the i click in link ( http://www.sawaedy.com/images/pdf/9626-globalization.pdf) is rejected my in www.sawaedy.com?
Title: Re: all the my link not work
Post by: webgift on December 20, 2011, 23:12:44
I can't understand you. I am sorry!
Title: Re: all the my link not work
Post by: sawaedy on December 20, 2011, 23:26:32
my file not show in front page
and show the error in error log:

 [error] [client 91.00.21.230] client denied by server configuration: /home/sawaedyc/public_html/images/screenshots/ss_6TXiIZ.jpeg, referer: http://sawaedy.com/
Title: Re: all the my link not work
Post by: sawaedy on December 20, 2011, 23:28:11
please click in link:
http://docs.google.com/gview?url=http://www.sawaedy.com/images/pdf/7014-1.pdf
Title: Re: all the my link not work
Post by: webgift on December 20, 2011, 23:34:23
please click in link:
http://docs.google.com/gview?url=http://www.sawaedy.com/images/pdf/7014-1.pdf
This URL returns me the error : Sorry, we are unable to retrieve the document for viewing or you don't have permission to view the document.
Title: Re: all the my link not work
Post by: sawaedy on December 20, 2011, 23:49:46
what i do to correct? i cheeking  the original file exit
Title: Re: all the my link not work
Post by: webgift on December 21, 2011, 11:44:27
You have to give the right permissions at Google Doc settings of this document.
Title: Re: all the my link not work
Post by: xmanhattan on December 21, 2011, 12:27:48

Hello sawaedy,

There might be another problem.

I have found that the Google PDF Viewer does not display all pdf files properly or that when a user saves a pdf file from the viewer that it cannot be viewed using the Adobe PDF Reader becuase it shows it has been corrupted.

If you test that you can read the pdf file on your system using Adobe Reader and that it works correctly then you should use the file naming scheme that webgift has mentioned.  Then try to use it through your website as a link without the Google Viewer to see if that works.

No spaces in the filename.  Please see http://wiki.elxis.org/wiki/Pdf (http://wiki.elxis.org/wiki/Pdf)

Title: Re: all the my link not work
Post by: sawaedy on December 21, 2011, 17:51:24
the file without Google viewer is not shown tell not permission to see the file, but in my c panel  the file is shown correctly. is folder set in 755  and file in 644, what is problem?     
Title: Re: all the my link not work
Post by: sawaedy on December 21, 2011, 19:04:31
i edit name the files and rename to number without but problem not solved
Title: Re: all the my link not work
Post by: xmanhattan on December 21, 2011, 19:06:29
Can you give us a link?
Title: Re: all the my link not work
Post by: sawaedy on December 21, 2011, 19:13:07
hello
http://www.sawaedy.com/images/pdf/8207.pdf
 is reject to homepage

Title: Re: all the my link not work
Post by: xmanhattan on December 21, 2011, 19:30:08
I am not seeing any pdf open.  Also I tried searching on the english side using 8207.pdf and it did not display any links.

Try using the Google bot again and I will look at it tomorrow morning.

By the way, you have to check some of your language settings on the modules, menus, and all content items because some of the Arabic content is being displayed on the english side.

Title: Re: all the my link not work
Post by: sawaedy on December 21, 2011, 19:35:17
thanks, but the file in adres  is exit in c panel
Title: Re: all the my link not work
Post by: sawaedy on December 21, 2011, 19:37:16
all file in my c panel  is exit and show in c panel but not shown in frontpage
Title: Re: all the my link not work
Post by: xmanhattan on December 22, 2011, 11:03:42
sawaedy,

If you are using the google viewer bot locally then it will display the error message that you mentioned.

I tested it locally on my system and this is what the link looks like:
Quote
http://docs.google.com/gview?url=http%3A%2F%2Flocalhost%2Felectra%2Fimages%2Fpdfs%2FTest-PDF-file.pdf

then I tested it online:
http://www.do-my-site.net/discover-elxis/elxis-extensions-add-more-functionality/pdf-viewer-using-google.html (http://www.do-my-site.net/discover-elxis/elxis-extensions-add-more-functionality/pdf-viewer-using-google.html)

and it works, so the bot has no problem.

Title: Re: all the my link not work
Post by: sawaedy on December 22, 2011, 20:15:17
im find the resolve for problem, is in setting htaccess  is setting in deny im change in allow and the problem is solve
thanks from all