Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Question Fatal Error Mi Avatar

More
17 years 2 months ago #3552 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
17 years 2 months ago #3563 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
17 years 2 months ago #3638 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
17 years 2 months ago - 17 years 2 months ago #3670 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: 17 years 2 months ago by JoniJnm.

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

More
17 years 2 months ago #3681 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
17 years 2 months ago #3897 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.

Moderators: ssh
Time to create page: 0.262 seconds