1
SuperVoley
Attach file in news modules over 2.0.9.2
  • 2005/1/13 16:08

  • SuperVoley

  • Just popping in

  • Posts: 67

  • Since: 2004/11/2


Recently I upgrade to XOOPS 2.0.9.2. Since that I have problems when I attach files in news modules: ERROR SENDING FILE.

The new is published but without the file.

Can you help me?

Xoops 2.0.9.2
News 1.2.1
KoiviEditor 1.03

2
irmtfan
Re: Attach file in news modules over 2.0.9.2
  • 2005/1/13 16:43

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


i have this problem with 2.0.9.1 but after upgrade to 2.0.9.2 my problem solved.
so could you said the version you upgrade from that?

3
SuperVoley
Re: Attach file in news modules over 2.0.9.2
  • 2005/1/13 17:40

  • SuperVoley

  • Just popping in

  • Posts: 67

  • Since: 2004/11/2


I update from 2.0.7.3 to 2.0.9.0 -> 2.0.9.1 -> 2.0.9.2.



4
irmtfan
Re: Attach file in news modules over 2.0.9.2
  • 2005/1/13 17:49

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


huum listen
could you overright all files from 2.0.9.2 full package? (* except mainfile.php and your hacks? )
or atleast from 2.0.7.x to 2.0.9.2 ?
i sure there is a file in 2.0.9.1 that cause the problem maybe class/uploader.php
look at this topic:
https://xoops.org/modules/newbb/viewtopic.php?topic_id=29286&forum=1&post_id=127726#forumpost127726
and this topic:
https://xoops.org/modules/newbb/viewtopic.php?topic_id=29359&forum=21&post_id=128223#forumpost128223
i hope this can help

5
hervet
Re: Attach file in news modules over 2.0.9.2
  • 2005/1/13 19:06

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hi,

What kind of files are you trying to upload ?

Bye,
Hervé

6
SuperVoley
Re: Attach file in news modules over 2.0.9.2
  • 2005/1/15 17:27

  • SuperVoley

  • Just popping in

  • Posts: 67

  • Since: 2004/11/2


I replaced class/uploader.php (2.0.9.2) with class/uploader.php (2.0.9.0) and the problem is gone.

Thanks!!!

7
irmtfan
Re: Attach file in news modules over 2.0.9.2
  • 2005/1/15 17:44

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


you replace uploader.php in 2.0.9.2 full package?
the correct version for this file is:
$Id: uploader.php,v 1.16
after that i think you must update system module.

8
SuperVoley
Re: Attach file in news modules over 2.0.9.2

I have submit.php ($Id: submit.php,v 1.23) and I can attach files .jpg and .png; but I have problems when attaching .zip and .rar.

I checked the file submit.php:
$permittedtypes=array('image/gif''image/jpeg''image/pjpeg''image/x-png''image/png' ,'application/x-zip-compressed''application/pdf''application/x-gtar''application/x-tar');


And class.mimetype.php
"zip" => "application/x-zip-compressed",
"Zip" => "application/x-zip-compressed",
"ZIP" => "application/x-zip-compressed",


And I couldn't find the error.

9
maydo
Re: Attach file in news modules over 2.0.9.2
  • 2005/2/7 14:40

  • maydo

  • Just popping in

  • Posts: 67

  • Since: 2004/12/30


i have the same problem with XOOPS 2.0.9.2 and news 1.21
jpeg files are working, but i cant attach rar or zip files

10
SuperVoley
Re: Attach file in news modules over 2.0.9.2

Yeah, is a big problem. . .

Login

Who's Online

387 user(s) are online (229 user(s) are browsing Support Forums)


Members: 0


Guests: 387


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits