Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard Spread FireBoard!
Re:avatar error (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Re:avatar error
#47891
avatar error 6 Months, 2 Weeks ago  
Hi,

I've installed the latest version of fireboard 1.0.4 and i'm getting this error on the "my avatar page"

Warning: asort() expects parameter 1 to be array, null given in public_html/components/com_fireboard/template/default/plugin/myprofile/myprofile_avatar_upload.php on line 627

Warning: Variable passed to each() is not an array or object in public_html/components/com_fireboard/template/default/plugin/myprofile/myprofile_avatar_upload.php on line 629

Please help i can't upload avatar.

Thanks,
lazy boy (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/03/28 14:36 By lazy boy.
 
The administrator has disabled public write access.  
#48853
Re:avatar error 5 Months, 4 Weeks ago  
Same problem here, i get this errors on lines 627 and 629. however.. i can upload avatars, i think you solve that giving the right permissions to the images folder/fbfiles (777)


can anyone help please? these errors are really anoying when the users go into their profiles/avatar page

thank you
yota (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#50595
Re:avatar error 5 Months ago  
I solved the problem....

make a folder inside galley like this .../images/fbfiles/avatars/gallery/sample
sample is new folder

program look inside gallery and if there is no folder it gives warning
hasantalya (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#50629
Re:avatar error 5 Months ago  
Hi, That worked for me as I was having this problem.

I uploaded some avatars into the 'sample' folder and they appear as a selection for members in a dropdown box along with default gallery (refer attached file). This is fine.

As my default gallery isn't showing any avatars, how can activate this. I have set permissions correctly, or alternatively, delete this and change the name of 'sample' folder to default.

Dalt
dalt (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#50636
Re:avatar error 5 Months ago  
Please upload Default Gallery avatar out of sample folder
inside .../images/fbfiles/avatars/gallery/

for example your avatar is myphoto.jpg upload it
.../images/fbfiles/avatars/gallery/myphoto.jpg for Default Gallery
hasantalya (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#50638
Re:avatar error 5 Months ago  
Excellent. That worked well.

Many thanks.

Dalt
dalt (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#51815
Re:avatar error 4 Months ago  
Strange thing, but for me these warnings make the page impossibile to load on Internet Explorer 7...

In my opinion, this code should be changed like this:

Code:


if ($filelist) {
    asort($filelist);

    while (list($key, $val) = each($filelist))
    {
        echo '<option value="'.$val.'"';

        if ($selected == $val) {
            echo " selected="selected"";
        }

        echo ">$val</option>n";
    }
}



So, if no folder exists, only "default" option is displayed.
thepisu (User)
.. still looking for ..
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Gender: Male thePisu ~web site~ Location: Italy Birthdate: 1982-11-27
Logged Logged
 
-Pisu-
 
The administrator has disabled public write access.  
Go to top