There was a problem while trying to upload your background

Asked by Urosh85

only the administrator can insert a background image, no one else can, I opened another account but I can not insert a background image.
users_files permissions is 777 ...

Any solution?
thanks

Image problems
http://i42.tinypic.com/10dhxf8.jpg

Question information

Language:
English Edit question
Status:
Answered
For:
Jisko Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Urosh85 (urosh85) said :
#1

Another problem when inserting an avatar ...

Warning: imagepng() [function.imagepng]: Unable to open '/home/xxx/public_html/pratis.me/test/users_files/Urosh/img/avatar/93bd37.png' for writing: No such file or directory in /home/xxx/public_html/pratis.me/test/includes/thumbnail.php on line 131

Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/pratis.me/test/includes/thumbnail.php:131) in /home/xxx/public_html/pratis.me/test/pages/settings.php on line 72

Image problems
http://i41.tinypic.com/6igx2v.jpg

Revision history for this message
Pats (pats) said :
#2

i'm also getting this error on trying to upload Avatar...

Warning: imagegif() [function.imagegif]: Unable to open '/home/gt/public_html/users_files/guftagu/img/avatar/f49fa3.gif' for writing: No such file or directory in /home/gt/public_html/includes/thumbnail.php on line 134

i had set the permission of user_files to 644 as per install instructions... but i see it is 744... let me cross check..

Pats

Revision history for this message
chandpriyankara (chandpriyankara) said :
#3

is it surely a problem with your OS or with the web application...?
try uploading a jpg from user's document folder...

Revision history for this message
Urosh85 (urosh85) said :
#4

To work when manually inserted avatar or wallpaper ... via FTP
but what I have than that? when the user can not I do it

Revision history for this message
Pats (pats) said :
#5

@Marcos,

i checked via FTP and found that there is no folder img/avatar created for a new user, thats why thumbnail.php at line 134 is giving error users_files/user2/img/avatar/f49fa3.gif' for writing: No such file or directory

Seems something missed in new user creation time.

Thanks,
Pats

Revision history for this message
Pats (pats) said :
#6

@Urosh85 ,

can you login to FTP and check if any folder inside users_files/Urosh exists or not ( like img/avatar)

Thanks,
Pats

Revision history for this message
Pats (pats) said :
#7

@Marcos,

Manually solved the issue.

created user1/img/avatar folder through FTP.
CHMOD to users_files to 755 (recursive) since i faced issue in chmod 644, avatar images can't be seen (broken images appeared) and couldn't be deleted through settings page.

Now upload Avatar is working for this user.

Created New User user2 . Again same issue -
Folder users_files/user2/img/avatar Missing
Folder users_files/user2/img/background Missing
Folder users_files/user2/files Missing

Its funny, in line 160 of register.php all is mentioned but its creating only mkdir(PATH."users_files/$username"

Marcos, now its over to you, Pls check :)

Thanks,
Pats

Revision history for this message
Urosh85 (urosh85) said :
#8

@Pats

There are no folders, just have a folder in the admin user ... for the admin user can insert the avatar and the background ..
CHMOD for me users_files 777

I can manually create and insert the avatar or background ... but imagine if I had a 100-200-300 users, what will I do then?

I apologize for my bad English

Revision history for this message
Marcos Garcia (marcosgdf) said :
#9

In register.php, line 160, the directories should be created:

if (!@mkdir(PATH."users_files/$username", 0777) && (!@mkdir(PATH."users_files/$username/img", 0777) && (!@mkdir(PATH."users_files/$username/img/avatar", 0777) && (!@mkdir(PATH."users_files/$username/img/background", 0777) && (!@mkdir(PATH."users_files/$username/files", 0777)))))) [...]

But I'll check :S

Revision history for this message
Urosh85 (urosh85) said :
#10

I'm like "Jisko .. and I want to make something with it, because in Serbia we do not have anything similar, Jisko looks great and I have seen the support of some people regarding the "Jisko" ... but every day finding new problems, new mistakes and it really distracts me from the "Jisko"
For a long time trying to create a site based on "Jisko" but does not go easy ...
I know these things, registration errors and all of this, it can only help to Jisko at the end of a good project, but already 3beta version came out and there is no any special progress :(

Only do not understand how jisko.net works perfectly!

Sorry for my bad English

Revision history for this message
Marcos Garcia (marcosgdf) said :
#11

Well... I don't think Jisko has lots of bugs, it is simply not yet suitable
for every server out there

We are working hard to fix that: In 3.0beta1 we introduced 'dorty urls'
which allowed people to test Jisko even if their server wasn't compatible
with clean urls.

What I can't understand (yet) is the problem with users folders. But I'll
try to fix it as sooner as possible.

Well.. thanks for your interest in Jisko :/

El 07/05/2010 23:15, "Urosh85" <email address hidden>
escribió:

Question #110058 on Jisko changed:

https://answers.launchpad.net/jisko/+question/110058

Urosh85 posted a new comment:
I'm like "Jisko .. and I want to make something with it, because in Serbia
we do not have anything similar, Jisko looks great and I have seen the
support of some people regarding the "Jisko" ... but every day finding new
problems, new mistakes and it really distracts me from the "Jisko"
For a long time trying to create a site based on "Jisko" but does not go
easy ...
I know these things, registration errors and all of this, it can only help
to Jisko at the end of a good project, but already 3beta version came out
and there is no any special progress :(

Only do not understand how jisko.net works perfectly!

Sorry for my bad English

--
You received this question notification because you are an answer
contact for Jisko.

Revision history for this message
muankima (mithonxz) said :
#12

Thank you vry much for feeding my question. But my problem still is I can't change my Os to Ubuntu or Kubuntu right now. I barely knew mandriva and without knowing how its work or how it goes I felt like I'm a traitor or like that, but soon I check out those (K)Ubuntu , so right now can you give me some link or anything which can help me solved my problems and also guide to basic learner of Linux or Unix. p.s I've been using Windows barely 10 yrs and I barely knew how it goes. So I'm kind of bored with it and want to change my Os.Plz help.....

Revision history for this message
Marcos Garcia (marcosgdf) said :
#13

To muankima:

Please, do not repeat your questions in Launchpad: http://answers.launchpad.net/jisko/+question/110189

Revision history for this message
Urosh85 (urosh85) said :
#14

And is there a solution?

Revision history for this message
Marcos Garcia (marcosgdf) said :
#15

I just think that the folder users_files does not have 777 permissions to
create folders... Try applying 777 to users_files and then try to create one
user.

Check if the folders were created and then please tell me.

On Sat, May 8, 2010 at 11:24 PM, Urosh85 <
<email address hidden>> wrote:

> Question #110058 on Jisko changed:
> https://answers.launchpad.net/jisko/+question/110058
>
> Urosh85 posted a new comment:
> And is there a solution?
>
> --
> You received this question notification because you are an answer
> contact for Jisko.
>

--
marcos garcía // <email address hidden>

Revision history for this message
Urosh85 (urosh85) said :
#16

Yeah, after I put the installation itself chmod 777 ... and the problem is not solved :S
I tried and after the reinstallation, all from scratch, just put the CHMOD 777, and registered a new user .. and again nothing :(

Revision history for this message
Pats (pats) said :
#17

linked to existing Bug https://bugs.launchpad.net/jisko/+bug/577191
now Marcos has some Bugs to deal with over the weekend :p

Pats :)

Revision history for this message
Urosh85 (urosh85) said :
#18

Still waiting for a solution? :)

Can you help with this problem?

Provide an answer of your own, or ask Urosh85 for more information if necessary.

To post a message you must log in.