1
tommyZ
News 1.3 - Attaching files to stories
  • 2005/4/8 18:01

  • tommyZ

  • Friend of XOOPS

  • Posts: 89

  • Since: 2005/1/4 1


Hello,

I am runing XOOPS 2.0.9.2 with news 1.3 upgrade from 1.1

For some reason I get a the message "Error while uploading a file" whenever I try to attach a file to a story using the browse/upload file option.

A previous post about this subject pointed out that some tables were not created properly in the database, stories-files if i remember correctly, but this does not seem to be the case here.

Are there any permissions I should verify or any other special settings/hacks?

In the module general prefernces I selected that both approvers and submitters can upload.

best regards, and thanks for a great module

TommyZ

2
hervet
Re: News 1.3 - Attaching files to stories
  • 2005/4/8 18:45

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


what kind of files are you trying to upload ?
Else, laucnh this :
http://www.example.com/modules/news/admin/upgrade.php

3
tommyZ
Re: News 1.3 - Attaching files to stories
  • 2005/4/8 20:23

  • tommyZ

  • Friend of XOOPS

  • Posts: 89

  • Since: 2005/1/4 1


.txt/.doc/.jpg and neither works

I launch the upgrade script again, and problem continues.

Can it be a server-side problem? maybe something in php.ini or IIS6?

:/ Would like to get down to the root of this because its a near-must feature.

Thanks

4
WarDick
Re: News 1.3 - Attaching files to stories
  • 2005/4/8 21:27

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


As an alternative this can be done through the image manager when using GIJOES module myAlbum.

5
Marco
Re: News 1.3 - Attaching files to stories
  • 2005/4/8 21:49

  • Marco

  • Home away from home

  • Posts: 1256

  • Since: 2004/3/15


Quote:

tommyZ wrote:
.txt/.doc/.jpg and neither works

I launch the upgrade script again, and problem continues.

Can it be a server-side problem? maybe something in php.ini or IIS6?

:/ Would like to get down to the root of this because its a near-must feature.

Thanks

no. Just look at changelog .txt file, ยง1.2.1 changelog.
You have to activate some mimetypes....
marco

6
tommyZ
Re: News 1.3 - Attaching files to stories
  • 2005/4/8 22:16

  • tommyZ

  • Friend of XOOPS

  • Posts: 89

  • Since: 2005/1/4 1


Thanks everybody!

Changing the line in modules/news/submit.php made it possible to upload doc and xml files.

Now that the file is sucessfully uploaded, where exactly does it show up for the user to be able to download it???

The only place I see it is when editing the story, next to: attached files.

7
hervet
Re: News 1.3 - Attaching files to stories
  • 2005/4/9 18:55

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


The attached files are visibles in the news header and at the end of each article.

Login

Who's Online

253 user(s) are online (163 user(s) are browsing Support Forums)


Members: 0


Guests: 253


more...

Donat-O-Meter

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

Latest GitHub Commits