Jump to content

Recommended Posts

Posted

thanks,

but another question. is my avatar pic have to be in specific format?? like .gif or .jpg or something like that. coz i tried and my picture is not uploading or uploaded and not loading.

actually when submitted it, its keep saying on the top of the page

 

Warning: Unable to create './images/avatars/514d68613e238303de2be.gif': Permission denied in /home/sodbayar/public_html/forum/includes/usercp_avatar.php on line 227

 

Warning: Cannot add header information - headers already sent by (output started at /home/sodbayar/public_html/forum/includes/usercp_avatar.php:227) in /home/sodbayar/public_html/forum/includes/page_header.php on line 449

 

Warning: Cannot add header information - headers already sent by (output started at /home/sodbayar/public_html/forum/includes/usercp_avatar.php:227) in /home/sodbayar/public_html/forum/includes/page_header.php on line 450

 

Warning: Cannot add header information - headers already sent by (output started at /home/sodbayar/public_html/forum/includes/usercp_avatar.php:227) in /home/sodbayar/public_html/forum/includes/page_header.php on line 451

 

 

any answers???

:)

Posted

use images/avatars/gallery/[image type name] to upload images for your users

like images/avatars/gallery/animals

or let them upload their own, by enabling "Enable avatar uploading'

in the General Configuration, so they can upload from their computer.

Posted

I'm assuming u are using phpbb, and if u are, this must be the most asked question on the phpbb forums....normally they forget to goto the admin configuration set the avatar path accordingly preferrably images/avatars/uploads...create the directory and then chmod it to 777...hope this helps :angry: ...BTW, i saw ur site...good start but i couldn't access ur forums...

Posted

thanx, you cannot access the form coz i got some error occured on that page. i wanted to delete the forum but there's some fatal error and i cannot delete it and the forum doesnt work :angry:

Posted

I'm assuming you wanted to delete the forums so u could start over...and if you are having trouble deleting stuff via ftp...i suggest using the file manager on cpanel...for some reason i've encountered that problem as well...Shell access or the cpanel file manager can delete anything...so try the file manager...

Posted

chmod is short for 'change mod' -- which means to change or modify the permissions for a file or directory.

 

With Unix/Linux, you can declare whether someone can have Read ( r ) permission, Write (w) permission, or Execute (x) permission for any given file or directory. These permissions are usually listed together as a group of three characters, such as

rwx :read/write/execute

r-x :read & execute, but not write

rw- : read & write, but not execute

--x : execute only

 

Not only that, you can further assign these r,w,x permissions to 3 different groups of users: (1) the owner of the file or directory, (2) the group that the owner belongs to, and (3) everyone else, commonly known as 'others'.

 

Most FTP utilities (WsFTP, CuteFTP, etc) provide the ability to do a CHMOD on a file or directory, usually by right clicking on the file or directory in question.

 

You may decide that the owner of the file (you) should be able to read, write and execute the script (rwx), while other people in the group the owner belowns to should only be able to read or execute the script (r-x), and that any other users only be able to execute the script (--x)

 

If so, this is how the permissions may appear:

rwx r-x --x

 

Where the first group (rwx) is you, the r-x is others in your group, and --x is for all other users (the world).

 

Since Unix/Linux and computers in general are really mathematical beasts, it's possible to replace rwx with a single value. A read ( r ) is given a value of 4, a write (w) is given a value of 2, and an execute (x) is given a value of 1. Simply decide on your desiered permissions for each gorup (you,, the group, and others) and add up the numbers in each.

 

Examples:

rwx = 4 + 2 + 1 = 7

r-x = 4 + 1 = 5

rw- = 4 + 2 = 6

--x = 1

 

So, my earlier example of rwx r-x --x can also be translated as 751 , where

rwx=7

r-x = 5

--x = 1

 

Finally, In many CGI/PERL scripts, they may include instructions to CHMOD a particular file to 755. Know you know that 755 means:

the owner gets top read, write, and execute (rwx = 7)

others in the same group can read or execute (r-x = 5)

all others in the world can read or execute (r-x = 5)

 

Know, aren't you glad you asked?

 

-kw

Posted

oo my god. thank you kweilbacher. really appriciate it.

say i created a forum and the forums avatars folder's permission has to be 777? or the whole forum folder??? :angry:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...