cotonti.com : Avatars won't upload. https://www.cotonti.com Последние сообщения в теме Cotonti en Wed, 07 Jan 2026 08:15:14 -0000 duck101





but look at these, they have a dot in front of them
$cfg['plugins_dir'] = './plugins';
$cfg['system_dir'] = './system';
]]>
вс, 09 авг 2009 01:20:33 -0000
SunChase i just looked on my host how the avatar directories are created and if its runing on linux your avatar directories should look like this : ./datas/avatars/1-avatar.gif]]> сб, 08 авг 2009 20:17:43 -0000 duck101

I don't get why there is numbers next to it though. becuase that's not what they were named when they were uploaded, and there not all in .gif format]]>
сб, 08 авг 2009 10:23:51 -0000
SunChase
there you will have a User_avatar colonn.It will have data about the avatars like data/avatars/1-avatar.gif]]>
сб, 08 авг 2009 08:20:08 -0000
duck101
so upload a file names avatar.pen into my database then open sed_users in view mode. then look in user_avatar.

i kind of get the second part but I don't get what you mean by upload some avatar.pen.


I really appreciate you taking your time trying to help me.]]>
сб, 08 авг 2009 04:16:32 -0000
SunChase сб, 08 авг 2009 03:28:27 -0000 duck101 # Trustmaster : You don't need to rename any folders, just make sure $cfg['av_dir'] is set to
$cfg['av_dir'] = 'datas/avatars/';
in your datas/config.php

yup that's what it says and I even copied and pasted your code to make sure that there was no extra spaces

now I'll try putting '.datas/avatars/';

Edit putting .datas in the config.php didn't work I'll make a list of everything I have done so far to see if I have made any mistakes.

I chmod the folders

then I opened up the php information thing to make sure that uploads wasn't disabled which it wasn't and everything else looked fine.

Then I tryed uploading different image formats e.g. .jpg and .gif all in the 64x64 px which didn't work


Now I am lost and have no idea what else could be causing this]]>
сб, 08 авг 2009 02:00:20 -0000
donP # SunChase : i found out that if the Hosts OS is linux(or ect.) then ".datas/avatars"(not "datas/avatars" is correct.You need to remove the dot if the host runs of a Windows hosting

I'm on a Linux Host BUT I ALSO had to correct the url killing the dot... :/]]>
пт, 07 авг 2009 15:43:07 -0000
Trustmaster
$cfg['av_dir'] = 'datas/avatars/';
in your datas/config.php]]>
пт, 07 авг 2009 14:46:14 -0000
duck101 # Kilandor : Removed the PHPinfo link, its not recommended to publicly place those

Did you modify and fix your config.php with the above?

there's nothing that I can really modify the only things that are in any way related are
$cfg['dir_perms'] = 0777;
$cfg['file_perms'] = 0664;

which does this need to be changed to 0777

and this
$cfg['av_dir'] = 'datas/avatars/';
does this need to be changed in anyway like SunChase said above ^

do I need to rename my datas folder to .datas

Thx for your help]]>
пт, 07 авг 2009 09:03:19 -0000
SunChase пт, 07 авг 2009 05:44:01 -0000 Kilandor
Did you modify and fix your config.php with the above?]]>
пт, 07 авг 2009 04:08:03 -0000
duck101
file_uploads	On	On
upload_max_filesize 2M 2M 
upload_tmp_dir /tmp /tmp 
user_dir no value 
]]>
пт, 07 авг 2009 00:22:50 -0000
Kilandor пн, 03 авг 2009 02:47:18 -0000 SunChase The avatar size is normal.No errors appear.When i check /datas/avatars/ i see that its empty.
Through the hidemenu i have an avatar shown.If the avatar is chosen from the default avatar list it works.But if i upload an avatar it shows : /.datas/avatars/1-avatar.gif


This has been checked on localhost and on a host.DB was also checked.

Добавлено 1 час 40 Минут спустя:

eeeeeehh.I found whats the problem.This is a bug.The defaul avatar dir for upload is really set to ".datas/avatars"(not "datas/avatars").

Here is a simple temporary solution - in the sites root folder create a folder and name it ".datas",and create a "avatars" folder in it...this will work

Добавлено 25 Минут спустя:

found what was wrong.
change $cfg['av_dir'] = '.datas/avatars/';
to
$cfg['av_dir'] = 'datas/avatars/';
in datas/config.php]]>
вс, 02 авг 2009 23:24:31 -0000
musiconly
Call it phpinfo.php

Paste this code inside:

<?php phpinfo(); ?>

Upload phpinfo.php to your /www folder.

Simply point your browser to www.yoursite.com/phpinfo.php and then find this lines:
file_uploads, upload_max_filesize, upload_tmp_dir

And write back here with the info.

For example:
file_uploads	On	On
upload_max_filesize	64M	64M
upload_tmp_dir	X:\xampp\tmp	X:\xampp\tmp
]]>
вс, 02 авг 2009 22:35:58 -0000
iSnipe @Trustmaster: I went to users and I had the settings at 180x180 and 8000 kb. I tried to upload a .png .gif, and .jpg to no avail.
How do you do the second step?]]>
вс, 02 авг 2009 21:34:12 -0000
Trustmaster
  1. Administration => Configuration => Users => Avatar options
  2. These options of you php.ini/phpinfo: file_uploads, upload_max_filesize, upload_tmp_dir
]]>
вс, 02 авг 2009 15:30:43 -0000
iSnipe I checked on mah FTP]]> вс, 02 авг 2009 07:35:01 -0000 Kilandor вс, 02 авг 2009 07:05:51 -0000 iSnipe You just cant upload an avatar. When you try, it says : Updated
But ur avatar doesnt show. Instead, theres a broken image icon. i chmoded, did a fresh install and still nothing]]>
вс, 02 авг 2009 06:15:47 -0000
Kilandor
Are you receiving an error, if so please post it exactly.]]>
вс, 02 авг 2009 05:50:29 -0000
iSnipe When you go to Profile and try to upload a avatar on my site, it won't upload and shows a "broken" icon that I think represents the image.
I have repeatedly install Cotonti and CHMODed all the folders in /Datas/ to 777. I can still upload photos. Its just the avatars.
My site is http://www.ibloggr.netau.net/

Added 35 minutes later:

EDIT: I Re-Installed Cotonti, but It still happpening

Added 51 minutes later:

Please help?]]>
вс, 02 авг 2009 03:00:20 -0000