Page Index Toggle Pages: 1 ... 10 11 [12] 13 14  Send TopicPrint
Very Hot Topic (More than 25 Replies) Upload Avatar Mod 1.5 Beta SP1.31 (Read 33005 times)
louisle
God Member
*****
Offline


With a little bit of love
everything goes better

Posts: 1124
Location: Muenchen
Joined: Apr 9th, 2003
Gender: Male
Re: Upload Avatar Mod 1.5 Beta SP1.31
Reply #165 - Jul 31st, 2004 at 12:09am
Print Post  
@jessicah:
try to solve your problem by chmod your boarddirectory /yabb and all above to 777. if you can't do that tell me...
  

I LIKE SAUSAGE FINGERS:2thumbsup::2thumbsup::2thumbsup::2thumbsup::2thumbsup:
Back to top
IP Logged
 
jessicah
New Member
*
Offline


Anything too stupid to
be said is sung. ~Voltaire~

Posts: 41
Location: Austin
Joined: Jul 13th, 2004
Gender: Female
Re: Upload Avatar Mod 1.5 Beta SP1.31
Reply #166 - Jul 31st, 2004 at 1:21am
Print Post  
I run a win2k pro server w/ apache. (I hate IIS) chmod not an option. Other suggestions?
  

"It is dangerous to be right when the government is wrong." ~Voltaire~
Back to top
ICQYIM  
IP Logged
 
JannoL
Full Member
***
Offline


I love YaBB 1G - SP1.31!

Posts: 165
Location: Home
Joined: Jul 27th, 2002
Gender: Male
Re: Upload Avatar Mod 1.5 Beta SP1.31
Reply #167 - Jul 31st, 2004 at 8:00am
Print Post  
If you haven't change the .htaccess files, all the chmod should be ok, I also run IIS and it works great, but I discover that for some reason I must use return 1; instead of 1; in my scripts.

However you can change file and dir rights in iis.msc for every dir and file but it is not unix style and it is also kind of a hassle. I only use IIS locally so I don't really know how it work online, my online webserver is running Unix/apache.

I hope you'll get it workin soon cause it never fun with chmod problems, I know cause 4 days ago I reinstalled perl on my computer and then my ftp prog changed all my chomds when I uploaded so I had to change them all back.

/~Janne
  

Code Destructionator
Back to top
WWW  
IP Logged
 
Frank Rizzo
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 11
Location: Scotland
Joined: Jul 22nd, 2004
Gender: Male
Re: Upload Avatar Mod 1.5 Beta SP1.31
Reply #168 - Aug 1st, 2004 at 3:13am
Print Post  
Hi There.

I'm kinda having the same problem as Jessicah.

I installed the Mod ok and get:


An Error Has Occured!
Please note that your image must be gif, jpg or png
and that the display will be resized.
The allowed maximun size is 20 kB


The server my forum is on is Unix. I've tried these paths in my settings:

Upload Avatar Absolute Path = ../..YaBBImages/avatars/personal
Upload Avatar URL = http://www.gta-jutecity.pwp.blueyonder.co.uk/YaBBImages/avatars/personal

I have also tried changing the Absolute to:
/htdocs/YaBBImages/avatars/personal



I've also tried chmoding my personal folder to 777 = No change.

I've also tried chmoding my avatar folder to 777 = No change.

Then my YaBBImages folder to 777 = No change.

I'v even did this in the opposite order still testing the upload each time and I still get the familiar error. Nothing is uploaded, nor is there anything in the avatar field of the Profile. Hell, I don't bounce back to the Profile page anyway,

Incidentally, my image folders don't stay chmodded to my new settings. Should I be using an avatar folder within my cgi-bin?

Can someone please help me. I've also attached ny Profile.pl file in case it helps (had to change the file name)..


My currently installed Mods are:
SMTP Authorisation
5 MOst Recent Users
Last Post Subjects
Add More Member Groups
Yet Another Member List
Sticky Topics
IRC Chat
Who's on IRC Chat
Add More Smilies 3
MemberMap 3
Remove Delete User Button




kindest Regards.

Frank Rizzo.


  

Franks-Profile.txt ( 61 KB | Downloads )
Back to top
YIMAIM  
IP Logged
 
louisle
God Member
*****
Offline


With a little bit of love
everything goes better

Posts: 1124
Location: Muenchen
Joined: Apr 9th, 2003
Gender: Male
Re: Upload Avatar Mod 1.5 Beta SP1.31
Reply #169 - Aug 1st, 2004 at 8:01pm
Print Post  
use /htdocs/YaBBImages/avatars/personal

and chmod your $boarddir to 777 or 755

if it doesn't work try to use envirolyzer.pl to check your path

you don't have to set your avatar path to cgi-bin

greetings
louisle

  

I LIKE SAUSAGE FINGERS:2thumbsup::2thumbsup::2thumbsup::2thumbsup::2thumbsup:
Back to top
IP Logged
 
Frank Rizzo
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 11
Location: Scotland
Joined: Jul 22nd, 2004
Gender: Male
Re: Upload Avatar Mod 1.5 Beta SP1.31
Reply #170 - Aug 2nd, 2004 at 12:29am
Print Post  
Hi Louisle.

Thanks for your reply.

It still doesn't work. My $boarddir was already chmodded to 755 so I changed it to 777. My YaBBImages, avatars and personal folders are all 777.

I altered the Absolute Path to /htdocs/YaBBImages/avatars/personal and I still get the error I described in my previous post.

I tried running the envirolyser.pl. However, I was confused about the instructions. I mean, I managed to chmod and browse to the file okay. I just didn't know what to add in the USER-MODIFIABLE VARIABLES part.

Anyway, the evirolyzer did bring up some results. However, the only thing remotely resembling a path with htdocs included in it, was the path to the envirolyzer.pl itself which began with /tier-2/pwpstore etc.... Therefore, I modified my absolute path to my avatars to include this. i.e tier-2/pwpstore etc.../htdocs/YaBBImages/avatars/personal. This never worked either.

What else is there left that I can try?


Kindest regards.

Frank Rizzo.
  
Back to top
YIMAIM  
IP Logged
 
louisle
God Member
*****
Offline


With a little bit of love
everything goes better

Posts: 1124
Location: Muenchen
Joined: Apr 9th, 2003
Gender: Male
Re: Upload Avatar Mod 1.5 Beta SP1.31
Reply #171 - Aug 2nd, 2004 at 1:33am
Print Post  
okay : create an testuser with full admin rights and send url, login, password per IM to me.
And the url of the envirolyzer.pl

i will check the path for you.

greetings
louisle
  

I LIKE SAUSAGE FINGERS:2thumbsup::2thumbsup::2thumbsup::2thumbsup::2thumbsup:
Back to top
IP Logged
 
Frank Rizzo
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 11
Location: Scotland
Joined: Jul 22nd, 2004
Gender: Male
Re: Upload Avatar Mod 1.5 Beta SP1.31
Reply #172 - Aug 2nd, 2004 at 2:04am
Print Post  
Hi louisle.

I've sent you the IM with what you need to check my stuff. I really appreciate your help.


Frank Rizzo.
  
Back to top
YIMAIM  
IP Logged
 
louisle
God Member
*****
Offline


With a little bit of love
everything goes better

Posts: 1124
Location: Muenchen
Joined: Apr 9th, 2003
Gender: Male
Re: Upload Avatar Mod 1.5 Beta SP1.31
Reply #173 - Aug 2nd, 2004 at 5:49pm
Print Post  
now your paths hould be right - please don't change them ...

check :
you created the /personal folder in YaBBImages/avatars ?
chmod for all master directories lkke /yabb and /YaBBImages are 777 ? try it with 755 too ! some server runs only with this setting.

i can't do anything more for you now... but tell me if you still have problems.

greetings
louisle
  

I LIKE SAUSAGE FINGERS:2thumbsup::2thumbsup::2thumbsup::2thumbsup::2thumbsup:
Back to top
IP Logged
 
Frank Rizzo
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 11
Location: Scotland
Joined: Jul 22nd, 2004
Gender: Male
Re: Upload Avatar Mod 1.5 Beta SP1.31
Reply #174 - Aug 2nd, 2004 at 6:49pm
Print Post  
Hi Again Louisle.

I'm afraid this didn't work either. Incidentally, I myself, last night tried that very same absolute path which you entered. I mentioned it in a previous post. Anyway, here's my checklist:



1. /YaBBImages/avatars/personal All Chmodded to 777.

2. Every other combination tried and tested until All were chmodded back to 755.

3. I also tried it with my yabb folder chmodded to 777. Still nothing. 

4. Tried absolute path /htdocs/YabbImages/avatars/personal.

5. Tried the absolute path /tier-2/pwpstore4 etc... found in the Envirolyzer.pl.

6. Also tried ../../YaBBImages/avatars/personal. Purely because some of the other paths in the settings are set like this. You never know!

7. The server is Unix so I took great the care-sensitivity issue.



None of this seems to have worked. I still get the dreaded:

An Error Has Occured! 
Please note that your image must be gif, jpg or png
and that the display will be resized.
The allowed maximum size is 20 kB 


Pity, an avatar upload feature would have been a very nice functional addition to my board. Never mind, I have offered to host avatars for members. However, the inconvenience this causes as opposed to an easy upload option probably puts 'some' people off.

Anyway thank you very much for spending the time to try and help me get this working. I really appreciated your help and hope that other folks don't have as much trouble as me using this mod. However, I am forever mindful that this is the BETA Mods board and that you're still working on it.

Thanks again Louisle.


Kindest Regards.

Frank Rizzo.
  
Back to top
YIMAIM  
IP Logged
 
burnerO
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 3
Joined: Aug 31st, 2004
Re: Upload Avatar Mod 1.5 Beta SP1.31
Reply #175 - Sep 3rd, 2004 at 5:56am
Print Post  
I would really like to use this mod, but I've gotten exploited when using it before.

Could you please add some checks to verify that what's being uploaded is actually an image.

For example, a php script can be uploaded and executed, which leads to all kinds of chaos.

Thanks in advance.
  
Back to top
 
IP Logged
 
louisle
God Member
*****
Offline


With a little bit of love
everything goes better

Posts: 1124
Location: Muenchen
Joined: Apr 9th, 2003
Gender: Male
Re: Upload Avatar Mod 1.5 Beta SP1.31
Reply #176 - Sep 3rd, 2004 at 8:17am
Print Post  
@burnerO: i did some checks already - only jpg,png,gif could be uploaded. And you say that PHP could be too ? i will try...
  

I LIKE SAUSAGE FINGERS:2thumbsup::2thumbsup::2thumbsup::2thumbsup::2thumbsup:
Back to top
IP Logged
 
louisle
God Member
*****
Offline


With a little bit of love
everything goes better

Posts: 1124
Location: Muenchen
Joined: Apr 9th, 2003
Gender: Male
Re: Upload Avatar Mod 1.5 Beta SP1.31
Reply #177 - Sep 3rd, 2004 at 8:22am
Print Post  
i tested and uploading PHPs is NOT POSSIBLE...
  

I LIKE SAUSAGE FINGERS:2thumbsup::2thumbsup::2thumbsup::2thumbsup::2thumbsup:
Back to top
IP Logged
 
burnerO
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 3
Joined: Aug 31st, 2004
Re: Upload Avatar Mod 1.5 Beta SP1.31
Reply #178 - Sep 3rd, 2004 at 2:19pm
Print Post  
It checks the file extension, but not the contents.

Renaming a .php script to .jpg etc will allow for it to upload, and execute through internet explorer.

Try this out (internet explorer only): http://octobereffect.com/burnero/forums/images/avatars/admin.gif

What I'm requesting would scan the uploaded file for traces of code and reject it accordingly.
  
Back to top
 
IP Logged
 
louisle
God Member
*****
Offline


With a little bit of love
everything goes better

Posts: 1124
Location: Muenchen
Joined: Apr 9th, 2003
Gender: Male
Re: Upload Avatar Mod 1.5 Beta SP1.31
Reply #179 - Sep 3rd, 2004 at 11:18pm
Print Post  
alright ... i will try to get it out... thank you  Embarrassed
  

I LIKE SAUSAGE FINGERS:2thumbsup::2thumbsup::2thumbsup::2thumbsup::2thumbsup:
Back to top
IP Logged
 
Page Index Toggle Pages: 1 ... 10 11 [12] 13 14 
Send TopicPrint