11
rajaito
Re: upload avatar error
  • 2005/6/15 14:37

  • rajaito

  • Not too shy to talk

  • Posts: 109

  • Since: 2005/1/3 1


yes... that is true. But that is stupid! How does the layman user know how to figure that out.

12
Catzwolf
Re: upload avatar error
  • 2005/6/15 14:47

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Your problem sounds like that yahoo have not set a tmp folder and this is the reason you could be getting the error. Or the place you are uploading to does not have the rights to write too. (Chmod 0777).

Maybe you could have a look at your server error logs or contact yahoo directly and ask them if the know of any reason why this would happen.

13
Catzwolf
Re: upload avatar error
  • 2005/6/15 14:48

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


What is exactly the error you are getting?

14
rajaito
Re: upload avatar error
  • 2005/6/16 6:07

  • rajaito

  • Not too shy to talk

  • Posts: 109

  • Since: 2005/1/3 1


I explained my error in the first post in this thread. Essentially:

JPG does not work -(uppercase extension)
jpg works - (lowercase extension)

This is bad!

15
m0nty
Re: upload avatar error
  • 2005/6/16 6:31

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


*edited by m0nty see below post*

16
m0nty
Re: upload avatar error
  • 2005/6/16 7:08

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


ok to have the file extension automatically changed to lowercase..

open class/uploader.php

find around line 181

$ext substr$this->mediaName$ext );


change to

$ext strtolower(substr$this->mediaName$ext ));



there's also a typo in uploader.php too i think

line 170

$this->mediaError = !empty($_FILES[$media_name]['error'][$index]) ? $_FILES[$media_name]['errir'][$index] : 0;


there's an error in the 2nd error.

should be

$this->mediaError = !empty($_FILES[$media_name]['error'][$index]) ? $_FILES[$media_name]['error'][$index] : 0;


maybe dev could confirm this tho??

17
rajaito
Re: upload avatar error
  • 2005/6/16 17:15

  • rajaito

  • Not too shy to talk

  • Posts: 109

  • Since: 2005/1/3 1


mOnty.... YOU RAWK MAN!!!

This definitely has been a very annoying problem. I am going to impliment this fix right now. I'll let you know how it works out.

18
rajaito
Re: upload avatar error
  • 2005/6/16 17:22

  • rajaito

  • Not too shy to talk

  • Posts: 109

  • Since: 2005/1/3 1


IT WORKED!!!
Thank you soooo much.

19
trykes
Re: upload avatar error
  • 2006/1/24 21:22

  • trykes

  • Just popping in

  • Posts: 1

  • Since: 2006/1/24


Hey all thanks for this thread. Another newbie has just managaed to change his jpgs from upper to lower case while downloading them.
I've no idea how to get to the files mentioned to change things permanently though could some kind soul let us know how to get to the files to change them as I don't know where to find this bit?

ok to have the file extension automatically changed to lowercase..

open class/uploader.php

find around line 181

Thanks and I'll set about reading up here when I have more time so I can learn to do the stuff myself without whats probs a silly question.

Love the software by the way its ok even for newbs which is excellent, thank you.

Login

Who's Online

54 user(s) are online (27 user(s) are browsing Support Forums)


Members: 0


Guests: 54


more...

Donat-O-Meter

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

Latest GitHub Commits