Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Problem with avatar gallery 
 
Site: www.ka-tet-corp.com/portal2.0/
User: Tester
Pass: test

When trying to change the avatar, after I select one of the galleries and click the button "go", I get an error message that states:

Quote:
You must fill in the required fields


Any idea?

Thnx in advance


Edited...

I've just realized... Whenever I get that error, I can see the following error in my error.log:

Quote:
Directory index forbidden by rule: /home/ka-tet-corp.com/data/htdocs/portal2.0/images/avatars/gallery/DyD/

 




____________
Icy Phoenix Latest 2.0 (working pending)
Style: Aphrodite and MG_Themes
Site: Spanish Stephen King fan forum
Mods: Medal System Mod. BBAntispam 1.2. Several own BBcodes.
 
XusquiSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Problem with avatar gallery 
 
i change it for your avatar  here without problems


the error must be for you add some field after registration that is needed and that is not filled in profile
 




____________
jack of all trades, master of none
http://www.mieloma.com/ - http://www.casimedicos.com/ - http://www.egalego.com/ - http://www.casimedicos.com.es/ - http://www.medicosmir.com/
 
casimedicosSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Respuesta: Problem with avatar gallery 
 
Nop... That's why I'm confused... I didn't add any field that is needed

And, even more... When you click the button "Go", it shouldn't try to look if every required field is filled up... I think it only should display the avatar gallery, isnt' it?

Greetz!
 




____________
Icy Phoenix Latest 2.0 (working pending)
Style: Aphrodite and MG_Themes
Site: Spanish Stephen King fan forum
Mods: Medal System Mod. BBAntispam 1.2. Several own BBcodes.
 
XusquiSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem with avatar gallery 
 
display the error but the avatar is changed
 




____________
jack of all trades, master of none
http://www.mieloma.com/ - http://www.casimedicos.com/ - http://www.egalego.com/ - http://www.casimedicos.com.es/ - http://www.medicosmir.com/
 
casimedicosSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Respuesta: Problem with avatar gallery 
 
Nope... The avatar is only changed if you choose one avatar from the 1st gallery! If you try to choos another gallery, before selecting an avatar, the error is there!!

Thnx!!
 




____________
Icy Phoenix Latest 2.0 (working pending)
Style: Aphrodite and MG_Themes
Site: Spanish Stephen King fan forum
Mods: Medal System Mod. BBAntispam 1.2. Several own BBcodes.
 
XusquiSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Respuesta: Problem with avatar gallery 
 
Ok... I've found the error, but not the solution...

There's an error in the way a program called "includes/usercp_avatar.php" generates the hidden fields for the "display_avatar_gallery" function.

Do the following, in your forum if avatar gallery is active or in this one, just to try:

1.- Go to your Profile / Avatar control panel right here

2.- Push the button "Show gallery"

3.- Although no gallery is shown because none is installed, hit ctrl + u (in firefox) to display the source code of that page (sorry don't know how is it in Internet Explorer, but I'm sure you will )

4.- In the opened page look for the following string:
Code: [Download] [Hide] [Select]
<input type="hidden" name="notifypm" value="


Now you can realize that the program gave the value of the "signature" var to the one called "notifypm". I think this is the problem... In my board it gives the value "1" to the language variable, and because of this code in the "includes/usercp_register.php" I get that error:
Code: [Download] [Hide] [Select]
    if ( !empty($_POST['language']) )
    {
        if ( preg_match('/^[a-z_]+$/i', $_POST['language']) )
        {
            $user_lang = htmlspecialchars($_POST['language']);
        }
        else
        {
            $error = true;
            $error_msg = $_POST['language'] . ' ' . $lang['Fields_empty'] . 'linea 376';
        }
    }
    else
    {
        $user_lang = $board_config['default_lang'];
    }


Any coder can find a solution??

Thanks in advance!!


Edited

I did it I found the error:

Open includes /usercp_avatar.php

Find
Code: [Download] [Hide] [Select]
function display_avatar_gallery($mode, &$category, &$user_id, &$email, &$current_email, &$coppa, &$username, &$email, &$new_password, &$cur_password, &$password_confirm, &$icq, &$aim, &$msn, &$yim, &$skype, &$website, &$location, &$user_flag, &$occupation, &$interests, &$signature, &$viewemail, &$notifypm, &$popup_pm, &$notifyreply, &$attachsig, &$setbm, &$allowhtml, &$allowbbcode, &$allowsmilies, &$showavatars, &$showsignatures, &$allowswearywords, &$hideonline, &$style, &$language, &$timezone, &$time_mode, &$dst_time_lag, &$dateformat, &$profile_view_popup, &$session_id, &$birthday, &$gender)


In line Find
Code: [Download] [Hide] [Select]
&$interests,


In line after add
Code: [Download] [Hide] [Select]
&$phone, &$selfdes,


Find
Code: [Download] [Hide] [Select]
    $params = array('coppa', 'user_id', 'username', 'email', 'current_email', 'cur_password', 'new_password', 'password_confirm', 'icq', 'aim', 'msn', 'yim', 'skype', 'website', 'location', 'user_flag', 'occupation', 'interests', 'signature', 'viewemail', 'notifypm', 'popup_pm', 'notifyreply', 'attachsig', 'setbm', 'allowhtml', 'allowbbcode', 'allowsmilies', 'showavatars', 'showsignatures', 'allowswearywords', 'hideonline', 'style', 'language', 'timezone', 'time_mode', 'dst_time_lag', 'dateformat', 'profile_view_popup', 'birthday', 'gender');


In line Finde
Code: [Download] [Hide] [Select]
'interests',


In line after add
Code: [Download] [Hide] [Select]
'phone', 'selfdes',


That's is!!
 




____________
Icy Phoenix Latest 2.0 (working pending)
Style: Aphrodite and MG_Themes
Site: Spanish Stephen King fan forum
Mods: Medal System Mod. BBAntispam 1.2. Several own BBcodes.
 
XusquiSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Avatar Gallery 
 
thanks a lot, you have resolved my problem.  
 



 
PsicoByteSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Respuesta: Problem with avatar gallery 
 
Glad to help you!!!
 




____________
Icy Phoenix Latest 2.0 (working pending)
Style: Aphrodite and MG_Themes
Site: Spanish Stephen King fan forum
Mods: Medal System Mod. BBAntispam 1.2. Several own BBcodes.
 
XusquiSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem with avatar gallery 
 
Great work Xusqui, I have missed it.

I'll move this to bugs section.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron