1
aardvark
Unable to upload attachments
  • 2006/6/4 14:40

  • aardvark

  • Just popping in

  • Posts: 4

  • Since: 2006/6/4 1


Hi all, i've got this problem of my portal doesn't allow any uploads. This includes inside the newbb forum and the custom avatars.

For example, inside the newbb forum, when i tried to attach a picture to a post, XOOPS will return an error message as below:

Thanks for your submission!

Errors Returned While Uploading
Invalid file content

If the page does not automatically reload, click here.

I am very sure that the images are correct *.jpg. Tried various sizes, and checked every settings i may think of.

FYI, the same error message when i tried to upload custom avatars - "invalid file content". I'm using XOOPS 2.0.13.2.

In case any of you would like to simulate the error, please do so at my site - http://www.tinjau.com. Head towards the forum and try it.

Hopefully any of you might be able to help me with this problem.

Thanks a lot in advance. :)

2
aardvark
Re: Unable to upload attachments
  • 2006/6/6 1:05

  • aardvark

  • Just popping in

  • Posts: 4

  • Since: 2006/6/4 1


bump ^^

nobody?

3
aardvark
Re: Unable to upload attachments
  • 2006/6/6 14:27

  • aardvark

  • Just popping in

  • Posts: 4

  • Since: 2006/6/4 1


sigh...

i enabled my debug mode and this is what it returns..

Warning [PHP]: getimagesize(): open_basedir restriction in effect. File(/var/tmp/phpo0j44H) is not within the allowed path(s): (/home/tinjau:/usr/lib/php:/usr/local/lib/php:/tmp) in file class/uploader.php line 190
Warning [PHP]: getimagesize(/var/tmp/phpo0j44H): failed to open stream: Operation not permitted in file class/uploader.php line 190


anyone?

4
jensclas
Re: Unable to upload attachments

I am not sure this will help but go back into the modules and check again the settings for file types/extensions allowed. I am certain I had to ad .jpg to one somewhere - just can't recall exactly where. Unfortunately I can't be of more help becasue the php warnings don't mean much yet to me either!(except that there is something wrong!)


5
stefan88
Re: Unable to upload attachments
  • 2006/6/6 22:36

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Backup your uploader.php and try the one from 2.0.13.1
..

6
aardvark
Re: Unable to upload attachments
  • 2006/6/7 12:46

  • aardvark

  • Just popping in

  • Posts: 4

  • Since: 2006/6/4 1


Problem solved after i used 2.0.13.1's uploader.php. Thanks for the simple solution.

Xoops and it's community are the best!

Thanks again!!

7
mesol
Re: Unable to upload attachments
  • 2006/8/5 15:59

  • mesol

  • Not too shy to talk

  • Posts: 168

  • Since: 2006/4/19


i face the same problem. anybody have that file, uploader.php? i can't found it in sourceforge repo site for XOOPS 2.0.13.1. i tried uploader.php from 2.0.13.2, nothing happen.

8
Bender
Re: Unable to upload attachments
  • 2006/8/5 16:55

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


Sorry, this signature is experiencing technical difficulties. We will return you to the sheduled signature as soon as possible ...

9
mesol
Re: Unable to upload attachments
  • 2006/8/5 18:10

  • mesol

  • Not too shy to talk

  • Posts: 168

  • Since: 2006/4/19


2.0.14

actually i upgrade from 2.0.13.1 to 2.0.13.2 and then 2.0.14

don't know whether which version the problem start. for sure under 2.0.13.1, the upload problem is working well.

the mirror not working, i think it already remove support for this version.

10
jensclas
Re: Unable to upload attachments

Quite true...anyone got it somewhere?

Login

Who's Online

408 user(s) are online (296 user(s) are browsing Support Forums)


Members: 0


Guests: 408


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