|
Page 1 of 1
|
Xusqui
Joined: August 2006
Posts: 211
Location: C?rdoba
|
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.
|
#1 Sat 23 Sep, 2006 20:06 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
casimedicos
Joined: August 2006
Posts: 241
Location: Galicia (Spain)
|
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
|
#2 Sat 23 Sep, 2006 20:47 |
|
Xusqui
Joined: August 2006
Posts: 211
Location: C?rdoba
|
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.
|
#3 Sat 23 Sep, 2006 21:37 |
|
casimedicos
Joined: August 2006
Posts: 241
Location: Galicia (Spain)
|
Re: Problem with avatar gallery
display the error but the avatar is changed
|
#4 Sat 23 Sep, 2006 21:45 |
|
Xusqui
Joined: August 2006
Posts: 211
Location: C?rdoba
|
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.
|
#5 Sat 23 Sep, 2006 22:38 |
|
Xusqui
Joined: August 2006
Posts: 211
Location: C?rdoba
|
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:
<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:
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
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
In line after add
Find
$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
In line after add
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.
|
#6 Sun 24 Sep, 2006 09:41 |
|
PsicoByte
Joined: September 2006
Posts: 2
|
Re: Problem With Avatar Gallery
thanks a lot, you have resolved my problem.
|
#7 Sun 24 Sep, 2006 17:59 |
|
Xusqui
Joined: August 2006
Posts: 211
Location: C?rdoba
|
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.
|
#8 Sun 24 Sep, 2006 20:19 |
|
Mighty Gorgon
Luca Libralato
Joined: August 2006
Posts: 7191
Location: Borgo San Michele
|
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
|
#9 Mon 02 Oct, 2006 01:14 |
|
|
Page 1 of 1
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
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
|
|
|
|