'File list' download .pdf problems after upgrade 1.2.8

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
User avatar
axelko
Posts: 138
Joined: Mon 27. Feb 2006, 22:51
Contact:

'File list' download .pdf problems after upgrade 1.2.8

Post by axelko »

Hello,

After upgrading to 1.2.8 I have strange problems with downloads of .pdf and .wmv files. (.doc files are ok and I don't know for other filetypes.)
I've got a filelist with some pdf documents. If I click on the link and choose for open file, the file downloads and acrobat starts. Acrobat (v5 6 and 7) gives the error 'there was a problem opening this document. the file doesn't exsist'. If I choose for save, the file gets downloaded and saved and I can open it.
I played around with the $phpwcms['inline_download'] parameter and when this is set to 1 the .pdf document opens correct within the browser window. This happens with different 1.2.8 websites on different client pc's with internet explorer. With firefox all works ok. See
http://www.tori-ryu.nl/phpwcms/index.php?exameneisen for this problem.
Anyone got a clue?

Greetz,

Axel
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

I have improved download function - will be released very soon.

For now check attachement mode in conf.inc.php and try switching it:

Code: Select all

$phpwcms['inline_download']   = 1;
to

Code: Select all

$phpwcms['inline_download']   = 0;
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
axelko
Posts: 138
Joined: Mon 27. Feb 2006, 22:51
Contact:

Post by axelko »

Oliver,

Thanx, I'am looking out for the improved download. With $phpwcms['inline_download'] = 1; the .pdf files work so I;ll leave it this way.

Greetz,

Axel
User avatar
axelko
Posts: 138
Joined: Mon 27. Feb 2006, 22:51
Contact:

Post by axelko »

Hi,

Fresh installed phpwcms1.2.8 20060905 and still having the problems with downloading and opening files in internet explorer. Firefox is ok. Tried with several computers and websites. Acrobat en wmplayer can't find the file I'm trying to open.
Workaround for pdf files is inline_download=1 (in conf.inc.php) but this doesn't solve the .wmv problem.

Am I the only one with this problem? I tested it on http://www.winkkozijnen.nl/phpwcms/ .

Greetz,

Axel
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

what problem is it exactly?

For me it is working - I can download the file.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
axelko
Posts: 138
Joined: Mon 27. Feb 2006, 22:51
Contact:

Post by axelko »

Oliver,

Thanx for your answer and sorry that I'm not clear enough. These are the steps I do in IE6.
On http://www.winkkozijnen.nl/phpwcms I click on the pdf file and click on 'open' in the dialog box.
Image
The pdf file is send to my computer and acrobat starts and gives the error below Image
(translated: there was an error opening the file. Can't find the file).

Same with the .wmv file.
Click on 'Open'
Image
Image
(translated: Can't play the file. If the file is on a different computer, check if you are connected with the network. Check the path. If the problem still exists, probably the server is unavailable.)

I can reproduce this on several computers with IE. Firefox is no problem. In versions prior to 1.2.8 this worked ok.
Greetz
Axel
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

On using "Save" it is working in IE too. Seems the file name is changed by IE in a way it shouldn't. Have no idea at the moment.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
ruttromp
Posts: 8
Joined: Sat 30. Apr 2005, 16:31

Post by ruttromp »

I have the same problem with .pdf files, but I'm running version 1.2.5

RT
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

use 1.2.8

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply