- Posts: 7
- Thank you received: 0
×
Blue Eagle 5 v1.6.2 has been Released for Kunena 5.2 (20 Jan 2021)
The Kunena team has announce the arrival of Kunena template Blue Eagle 5 v1.6.2 which is now available for download. This version addresses most of the issues that were discovered in development.
REQUIREMENTS
Blue Eagle 1.6.x requires Kunena 5.2.x to work with
Question Fatal Error Mi Avatar
12 years 1 week ago #1
by jjdiapa
Fatal Error Mi Avatar was created by jjdiapa
Hola!
Estoy preparando mi proyecto e instale Kunena.
Lo configuro, edito mi la información de mi perfil y cuando voy a Mi Avatar me sale este error:
Fatal error: Call to undefined function get_dirs() in /web/sites/vhbu3/1/189/117717/public/www/components/com_kunena/template/default/plugin/myprofile/myprofile_avatar_upload.php on line 264
y ahí
ya me he quedado pillao.
Gracias de antemano
Salu2
Estoy preparando mi proyecto e instale Kunena.
Lo configuro, edito mi la información de mi perfil y cuando voy a Mi Avatar me sale este error:
Fatal error: Call to undefined function get_dirs() in /web/sites/vhbu3/1/189/117717/public/www/components/com_kunena/template/default/plugin/myprofile/myprofile_avatar_upload.php on line 264
y ahí


Gracias de antemano
Salu2
Please Log in or Create an account to join the conversation.
- johnnydement
-
- Offline
- Elite Member
- I'm back
12 years 1 week ago #2
by johnnydement
Replied by johnnydement on topic Re:Fatal Error Mi Avatar
Corregido en el SVN
en la próxima release "deberia" estar arreglado
en la próxima release "deberia" estar arreglado

Please Log in or Create an account to join the conversation.
12 years 1 week ago #3
by jjdiapa
Replied by jjdiapa on topic Re:Fatal Error Mi Avatar
Perdona mi ignorancia, pero... que es SVN???
Entonces no podemos hacer nada de momento?
Salu2

Entonces no podemos hacer nada de momento?
Salu2
Please Log in or Create an account to join the conversation.
12 years 1 week ago - 12 years 1 week ago #4
by JoniJnm
Replied by JoniJnm on topic Re:Fatal Error Mi Avatar
SVN es donde se van subiendo, por así decir, los archivos nuevos; cuando haya un número amplio de mejoras, se juntan todos los archivo, y sale una nueva realease.
Lo que puedes hacer, por si te urge arreglarlo, en el archivo donde da el error, cortar la función get_dirs, y copiarla arriba del todo, después de <?php. Esto es lo que tienes que cortar y pegar (está en la linea 589):
Lo que puedes hacer, por si te urge arreglarlo, en el archivo donde da el error, cortar la función get_dirs, y copiarla arriba del todo, después de <?php. Esto es lo que tienes que cortar y pegar (está en la linea 589):
function get_dirs($directory, $select_name, $selected = "")
{
$filelist = array();
if ($dir = @opendir($directory))
{
while (($file = readdir($dir)) !== false)
{
if ($file != ".." && $file != ".")
{
if (is_dir($directory . "/" . $file))
{
if (!($file[0] == '.')) {
$filelist[] = $file;
}
}
}
}
closedir($dir);
}
if ($selected)
$selected = str_replace("%20", " ", $selected);
echo "<select name=\"$select_name\" id=\"avatar_category_select\" onchange=\"switch_avatar_category(this.options[this.selectedIndex].value)\">\n";
echo "<option value=\"default\"";
if ($selected == "") {
echo " selected=\"selected\"";
}
echo ">"._KUNENA_DEFAULT_GALLERY."</option>\n";
asort($filelist);
while (list($key, $val) = each($filelist))
{
echo '<option value="'.$val.'"';
if ($selected == $val) {
echo " selected=\"selected\"";
}
echo ">$val</option>\n";
}
echo "</select>\n";
}
Last edit: 12 years 1 week ago by JoniJnm.
Please Log in or Create an account to join the conversation.
12 years 1 week ago #5
by jjdiapa
ufff... pues nada, ahora sale esto:
Fatal error: Call to undefined function display_avatar_gallery() in /web/sites/vhbu3/1/189/117717/public/www/components/com_kunena/template/default/plugin/myprofile/myprofile_avatar_upload.php on line 331

Salu2
Replied by jjdiapa on topic Re:Fatal Error Mi Avatar

Fatal error: Call to undefined function display_avatar_gallery() in /web/sites/vhbu3/1/189/117717/public/www/components/com_kunena/template/default/plugin/myprofile/myprofile_avatar_upload.php on line 331

Salu2
Please Log in or Create an account to join the conversation.
12 years 1 week ago #6
by JoniJnm
Replied by JoniJnm on topic Re:Fatal Error Mi Avatar
Sube entonces, también, esa función. Está en el mismo archivo
Please Log in or Create an account to join the conversation.
12 years 1 week ago #7
by jjdiapa
Replied by jjdiapa on topic Re:Fatal Error Mi Avatar SOLUCIONADO
Solucionado!
Gracias, gracias, gracias!!!
Eres un genio
Salu2
Gracias, gracias, gracias!!!

Eres un genio
Salu2
Please Log in or Create an account to join the conversation.
Forum Access
- Not Allowed: to create new topic.
- Not Allowed: to reply.
- Not Allowed: to edit your message.
Moderators: ssh
Time to create page: 0.104 seconds