Error in PDF view

More
5 years 4 days ago - 4 years 11 months ago #76146 by tonnick
Hello
it seems that since latest upgrade, the pdf viewer does not work anymore !
"The requested content cannot be loaded. Please try again later."

here is the error log in :
[Mon Mar 25 10:39:44.858767 2019] [proxy_fcgi:error] [pid 26560] [client 85.60.135.40:53463] AH01068: Got bogus version 234, referer: www.origin-gi.com/i-gi-origin-worldwide-...k.html?cc=p&start=20
[Mon Mar 25 10:39:44.858883 2019] [proxy_fcgi:error] [pid 26560] (22)Invalid argument: [client 85.60.135.40:53463] AH01075: Error dispatching request to : (passing brigade to output filters), referer: www.origin-gi.com/i-gi-origin-worldwide-...k.html?cc=p&start=20

(you can use the url to see the error>> product information >> pdf icon)


php version : PHP 7.2.15

in template here is the code :
Code:
<?php if (isset($item->positions['attachment'])) : ?> <?php foreach ($item->positions['attachment'] as $field) : ?> <?php echo $field->display ? $field->display : ''; ?> <?php endforeach; ?> <?php endif; ?>

thx !
Last edit: 4 years 11 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
5 years 4 days ago #76147 by tonnick
Replied by tonnick on topic Error in PDF view
note thet I have a warning saying that a new version is available :

An older version of FLEXIcontent is installed A newer version of FLEXIcontent is available
Latest version 3.3.1.5 Release date: 2019-03-25
Installed Version 3.3.1.4 Release date: 2018-03-25


but

Updating installation Upgrading from 3.3.1.4 to 3.3.1.4

but seems that this does not present yet in repository

Please Log in or Create an account to join the conversation.

More
5 years 4 days ago #76148 by ggppdk
Hello

currently we do not have / do not support a PDF view
our PDF view was based on J1.5 library

the view.pdf.php file is there to be examine adding some 3rd party library in the future

also we do not have PDF button, in our views


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
5 years 4 days ago #76150 by tonnick
Replied by tonnick on topic Error in PDF view
Sorry, I do not understand you answer.... This was perfectly working untill the latest flexicontent update !
field type : file
file action :
- download yes
- in-browser viewing : view inside : fancy-modal, jquerymodal, new window, same window >> no change always same issue

I did not say that you have pdf button in your view, I say, please check the link and click on pdf button ;)
www.origin-gi.com/i-gi-origin-worldwide-...k.html?cc=p&start=20

>> so how can we get back the pdf viewer as it was working fine untill now ?!

thx

Please Log in or Create an account to join the conversation.

More
5 years 4 days ago #76151 by ggppdk
Replied by ggppdk on topic Error in PDF view
Hello

so you are not speaking of viewing an item as PDF
that is the "PDF view"

you are speaking of viewing a PDF file inside a browser page

maybe this is related to changes in .htaccess file instructing browser not to detect MIME type in 3.9.4,
i will check


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
5 years 4 days ago #76152 by tonnick
Replied by tonnick on topic Error in PDF view
yes you are right ! I am speaking about viewing a pdf file inside the brower page. You can see it in the link I provided.


if this can help on my dev version

I updated joomla from 3.9.2 to 3.9.4

>> pdf file view on browser still ok


updating flexicontent from

Latest version 3.3.1.5 Release date: 2019-03-25
Installed Version 3.2.1.15 Release date: 2018-10-10

>> pdf file view on browser DOES NOT work anymore

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.313 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline