Kunena 6.2.5 & module Kunena Latest 6.0.7 released

The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

Question Fatal Error Mi Avatar

More
15 years 1 month ago #1 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í :ohmy: :ohmy: ya me he quedado pillao.
Gracias de antemano
Salu2

Please Log in or Create an account to join the conversation.

More
15 years 1 month ago #2 by johnnydement
Corregido en el SVN

en la próxima release "deberia" estar arreglado ;)

Please Log in or Create an account to join the conversation.

More
15 years 1 month ago #3 by jjdiapa
Replied by jjdiapa on topic Re:Fatal Error Mi Avatar
Perdona mi ignorancia, pero... que es SVN???:unsure:
Entonces no podemos hacer nada de momento?
Salu2

Please Log in or Create an account to join the conversation.

More
15 years 1 month ago - 15 years 1 month 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):
Code:
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: 15 years 1 month ago by JoniJnm.

Please Log in or Create an account to join the conversation.

More
15 years 1 month ago #5 by jjdiapa
Replied by jjdiapa on topic Re:Fatal Error Mi Avatar
:blush: 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
:unsure:
Salu2

Please Log in or Create an account to join the conversation.

More
15 years 1 month 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.

More
15 years 1 month ago #7 by jjdiapa
Solucionado!
Gracias, gracias, gracias!!!:laugh:
Eres un genio
Salu2

Please Log in or Create an account to join the conversation.

Moderators: ssh
Time to create page: 0.560 seconds