Page 1 of 1

EDocs-Embedded Documents extension, cannot view documents...

Posted: Thu Jun 23, 2011 3:23 pm
by moejoe125
Hi guys, I wonder if someone would be of some assistance...

I've just installed Edocs on my site so I can allow my visitors to view/read and download some books.

This joomla 1.5 plugin is seamingly pretty easy to setup, all you have to do is add the following code to an article using the Article Manager as below:

{edocs}path/folder/document.extension,width,height{/edocs}

You can check out the 'How to use it' page setup by the plugin developer for more details:
http://www.mediaeventi.it/en/projects/joomla/edocs


I've left the Default Root Folder as 'images/stories' (this is where my PDF document is on the webspace directory) and I've set the code as {edocs}alegaz.pdf,670,700,link{/edocs}
(I did not specify the directory here because its auto-appended by the extension)

and the file permission for the PDF document that I want to display on my site to 775 (for the moment).
and I tried turning off my security extensions momentarily to re-test, but this makes no difference...

However, when I try and the view the document using the extension on my website, the frame displays fine within the webpage, but inside the frame where its supposed to load the contents of the PDF document, instead it shows this message "Sorry, we are unable to retrieve the document for viewing or you dont have permission to view the document."

and lastly, I also turned on the Debug mode thats included with the extension, and this basically displays that correct webspace directory path to the PDF document...

Am I missing something really obvious here?
Your assistance would be much appreciated...

Re: EDocs-Embedded Documents extension, cannot view document

Posted: Thu Jun 23, 2011 8:35 pm
by 2ninerniner2
Howdy,

Just tried it now (had used it before, but then I switched the site to WP and used the same plugin there) and it worked just fine "out of the box" as per the same code and location that you used.

I did note, however, that the permission for the test PDF file I used was 604; not sure if that will make a difference, but perhaps, worth a try :)

Cheers!
Lyle

Re: EDocs-Embedded Documents extension, cannot view document

Posted: Fri Jun 24, 2011 12:23 am
by moejoe125
No it's not the permissions, I'm quite sure of that...

It might have something to do with the way I'm defining the file path in the code...I really dont know.

Anyone got any other ideas?

Re: EDocs-Embedded Documents extension, cannot view document

Posted: Fri Jun 24, 2011 12:45 am
by kenmcd
.
Post a link to the page.



.

Re: EDocs-Embedded Documents extension, cannot view document

Posted: Fri Jun 24, 2011 1:09 am
by moejoe125
Right, I've got it to work...
I've been testing all along using an Arabic language PDF document...
I tried an english PDF, and works fine...

I didnt think that it would have made a difference, but it obviously does!

Is there anyway I can get E-docs to display arabic PDF documents?

tried a quick google search for some kind of info on this, but theres nothing at all....

Re: EDocs-Embedded Documents extension, cannot view document

Posted: Fri Jun 24, 2011 2:22 am
by 2ninerniner2
@moejoe125 - that's a great tip to know as I have done a few sites for clients in Farsi :)

Re: EDocs-Embedded Documents extension, cannot view document

Posted: Thu Apr 19, 2012 5:51 am
by s_meliana
kenmcd wrote:.
Post a link to the page.



.
I have the same problem (i think)
Would you please explain more what do you mean by that?

Thank you