Back to top

Autore Topic: AGGIORNAMENTO 1.0.9  (Letto 5916 volte)

Offline barbara_c

  • Appassionato
  • ***
  • Post: 243
    • Mostra profilo
AGGIORNAMENTO 1.0.9
« il: 06 Giu 2006, 11:42:39 »
AIUTO!!!! HO AGGIORNATO LA VERSIONE 1.0.9 DI JOOMLA   :'(
ESCE SOLO QUESTO IN PRIMA PAGINA AIUTO :'( :'( :'(
XCHè??

ASE ); } else { return ''; } } } $_VERSION = new joomlaVersion(); $version = $_VERSION->PRODUCT .' '. $_VERSION->RELEASE .'.'. $_VERSION->DEV_LEVEL .' ' . $_VERSION->DEV_STATUS .' [ '.$_VERSION->CODENAME .' ] '. $_VERSION->RELDATE .' ' . $_VERSION->RELTIME .' '. $_VERSION->RELTZ; ?> continue; } if ($k[0] == '_') { // internal field continue; } $xml .= '<' . $k . '> return 1; } } ?>$string; } } ?> PHP 4 if ( _JOS_FEED_ENCODING ) { // handling for utf-8 feed if ( _JOS_SITE_ENCODING ) { // utf-8 page $encoding = ''; } else { // non utf-8 page $encoding = 'utf8_decode'; } } else { // handling for non utf-8 feed if ( _JOS_SITE_ENCODING ) { // utf-8 page $encoding = 'utf8_encode'; } else { // non utf-8 page $encoding = 'html_entity_decode'; } } } if ( $encoding ) { $text = $encoding( $text ); } $text = str_replace('&apos;', "'", $text); return $text; } } /** * Sorts an Array of objects */ function SortArrayObjects_cmp( &$a, &$b ) { global $csort_cmp; if ( $a->$csort_cmp['key'] > $b->$csort_cmp['key'] ) { return $csort_cmp['direction']; } if ( $a->$csort_cmp['key'] < $b->$csort_cmp['key'] ) { return -1 * $csort_cmp['direction']; } return 0; } /** * Sorts an Array of objects * sort_direction [1 = Ascending] [-1 = Descending] */ function SortArrayObjects( &$a, $k, $sort_direction=1 ) { global $csort_cmp; $csort_cmp = array( 'key' => $k, 'direction' => $sort_direction ); usort( $a, 'SortArrayObjects_cmp' ); unset( $csort_cmp ); } /** * Sends mail to admin */ function mosSendAdminMail( $adminName, $adminEmail, $email, $type, $title, $author ) { global $mosConfig_mailfrom, $mosConfig_fromname, $mosConfig_live_site; $subject = _MAIL_SUB." '$type'"; $message = _MAIL_MSG; eval ("\$message = \"$message\";"); mosMail($mosConfig_mailfrom, $mosConfig_fromname, $adminEmail, $subject, $message); } /* * Includes pathway file */ function mosPathWay() { global $mosConfig_absolute_path; $Itemid = intval( mosGetParam( $_REQUEST, 'Itemid', '' ) ); require_once ( $mosConfig_absolute_path . '/includes/pathway.php' ); } /** * Displays a not authorised message * * If the user is not logged in then an addition message is displayed. */ function mosNotAuth() { global $my; echo _NOT_AUTH; if ($my->id < 1) { echo "
" . _DO_LOGIN; } } /** * Replaces & with & for xhtml compliance * * Needed to handle unicode conflicts due to unicode conflicts */ function ampReplace( $text ) { $text = str_replace( '&&', '*--*', $text ); $text = str_replace( '&#', '*-*', $text ); $text = str_replace( '&', '&', $text ); $text = preg_replace( '|&(?![\w]+;)|', '&', $text ); $text = str_replace( '*-*', '&#', $text ); $text = str_replace( '*--*', '&&', $text ); return $text; } /** * Prepares results from search for display * @param string The source string * @param int Number of chars to trim * @param string The searchword to select around * @return string */ function mosPrepareSearchContent( $text, $length=200, $searchword ) { // strips tags won't remove the actual jscript $text = preg_replace( "']*>.*?'si", "", $text ); $text = preg_replace( '/{.+?}/', '', $text); //$text = preg_replace( '/]*>([^<]+)<\/a>/is','\2', $text ); // replace line breaking tags with whitespace $text = preg_replace( "'<(br[^/>]*?/|hr[^/>]*?/|/(div|h[1-6]|li|p|td))>'si", ' ', $text ); $text = mosSmartSubstr( strip_tags( $text ), $length, $searchword ); return $text; } /** * returns substring of characters around a searchword * @param string The source string * @param int Number of chars to return * @param string The searchword to select around * @return string */ function mosSmartSubstr($text, $length=200, $searchword) { $wordpos = strpos(strtolower($text), strtolower($searchword)); $halfside = intval($wordpos - $length/2 - strlen($searchword)); if ($wordpos && $halfside > 0) { return '...' . substr($text, $halfside, $length) . '...'; } else { return substr( $text, 0, $length); } } /** * Chmods files and directories recursively to given permissions. Available from 1.0.0 up. * @param path The starting file or directory (no trailing slash) * @param filemode Integer value to chmod files. NULL = dont chmod files. * @param dirmode Integer value to chmod directories. NULL = dont chmod directories. * @return TRUE=all succeeded FALSE=one or more chmods failed */ function mosChmodRecursive($path, $filemode=NULL, $dirmode=NULL) { $ret = TRUE; if (is_dir($path)) { $dh = opendir($path); while ($file = readdir($dh)) { if ($file != '.' && $file != '..') { $fullpath = $path.'/'.$file; if (is_dir($fullpath)) { if (!mosChmodRecursive($fullpath, $filemode, $dirmode)) $ret = FALSE; } else { if (isset($filemode)) if (!@chmod($fullpath, $filemode)) $ret = FALSE; } // if } // if } // while closedir($dh); if (isset($dirmode)) if (!@chmod($path, $dirmode)) $ret = FALSE; } else { if (isset($filemode)) $ret = @chmod($path, $filemode); } // if return $ret; } // mosChmodRecursive /** * Chmods files and directories recursively to mos global permissions. Available from 1.0.0 up. * @param path The starting file or directory (no trailing slash) * @param filemode Integer value to chmod files. NULL = dont chmod files. * @param dirmode Integer value to chmod directories. NULL = dont chmod directories. * @return TRUE=all succeeded FALSE=one or more chmods failed */ function mosChmod($path) { global $mosConfig_fileperms, $mosConfig_dirperms; $filemode = NULL; if ($mosConfig_fileperms != '') $filemode = octdec($mosConfig_fileperms); $dirmode = NULL; if ($mosConfig_dirperms != '') $dirmode = octdec($mosConfig_dirperms); if (isset($filemode) || isset($dirmode)) return mosChmodRecursive($path, $filemode, $dirmode); return TRUE; } // mosChmod /** * Function to convert array to integer values * @param array * @param int A default value to assign if $array is not an array * @return array */ function mosArrayToInts( &$array, $default=null ) { if (is_array( $array )) { $n = count( $array ); for ($i = 0; $i < $n; $i++) { $array[$i] = intval( $array[$i] ); } } else { if (is_null( $default )) { return array(); } else { return array( $default ); } } } /** * Utility class for helping with patTemplate */ class patHTML { /** * Converts a named array to an array or named rows suitable to option lists * @param array The source array[key] = value * @param mixed A value or array of selected values * @param string The name for the value field * @param string The name for selected attribute (use 'checked' for radio of box lists) */ function selectArray( &$source, $selected=null, $valueName='value', $selectedAttr='selected' ) { if (!is_array( $selected )) { $selected = array( $selected ); } foreach ($source as $i => $row) { if (is_object( $row )) { $source[$i]->selected = in_array( $row->$valueName, $selected ) ? $selectedAttr . '="true"' : ''; } else { $source[$i]['selected'] = in_array( $row[$valueName], $selected ) ? $selectedAttr . '="true"' : ''; } } } /** * Converts a named array to an array or named rows suitable to checkbox or radio lists * @param array The source array[key] = value * @param mixed A value or array of selected values * @param string The name for the value field */ function checkArray( &$source, $selected=null, $valueName='value' ) { patHTML::selectArray( $source, $selected, $valueName, 'checked' ); } /** * @param mixed The value for the option * @param string The text for the option * @param string The name of the value parameter (default is value) * @param string The name of the text parameter (default is text) */ function makeOption( $value, $text, $valueName='value', $textName='text' ) { return array( $valueName => $value, $textName => $text ); } /** * Writes a radio pair * @param object Template object * @param string The template name * @param string The field name * @param int The value of the field * @param array Array of options * @param string Optional template variable name */ function radioSet( &$tmpl, $template, $name, $value, $a, $varname=null ) { patHTML::checkArray( $a, $value ); $tmpl->addVar( 'radio-set', 'name', $name ); $tmpl->addRows( 'radio-set', $a ); $tmpl->parseIntoVar( 'radio-set', $template, is_null( $varname ) ? $name : $varname ); } /** * Writes a radio pair * @param object Template object * @param string The template name * @param string The field name * @param int The value of the field * @param string Optional template variable name */ function yesNoRadio( &$tmpl, $template, $name, $value, $varname=null ) { $a = array( patHTML::makeOption( 0, 'No' ), patHTML::makeOption( 1, 'Si' ) ); patHTML::radioSet( $tmpl, $template, $name, $value, $a, $varname ); } } /** * Provides a secure hash based on a seed * @param string Seed string * @return string */ function mosHash( $seed ) { return md5( $GLOBALS['mosConfig_secret'] . md5( $seed ) ); } /** * Format a backtrace
« Ultima modifica: 06 Giu 2006, 12:26:21 da alexred »

Offline ste

  • Instancabile
  • ******
  • Post: 8774
  • Sesso: Femmina
    • Mostra profilo
Re: AGGIORNAMENTO 1.0.9
« Risposta #1 il: 06 Giu 2006, 12:03:32 »
Ciao Barbara, puoi dare maggiori indicazioni?
Che versione avevi prima? quale programma ftp hai utilizzato? Avevi fatto un backup prima di aggiornare?
« Ultima modifica: 06 Giu 2006, 12:27:12 da alexred »
TTI - Team Traduzione Italiano di Joomla.it - Guide su Joomla

Offline alexred

  • Fuori controllo
  • *
  • Post: 25672
  • Sesso: Maschio
  • Esperto in ozio relaxed
    • Mostra profilo
Re: AGGIORNAMENTO 1.0.9
« Risposta #2 il: 06 Giu 2006, 12:07:31 »
ciao Barbara, ci puoi fornire il link dove esce questo errore ?
« Ultima modifica: 06 Giu 2006, 12:27:29 da alexred »

Offline barbara_c

  • Appassionato
  • ***
  • Post: 243
    • Mostra profilo
Re: AGGIORNAMENTO 1.0.9
« Risposta #3 il: 06 Giu 2006, 12:23:36 »
allarme rientrato
aggiornamento da joomla 1.0.8 a 1.0.9
ftp smartftpclient 2.0

in pratica ho downloadato tutto il contenuto dei nuovi file
e al www.nomesito.it mi usciva quell'errore anche nella parte administrator

allora ho rifatto l'upload dei file ed è rientrato tutto quanto

probabilmente l'ftp si sarà dimenticato di uploadare qualche file  :-\
mi spiace di aver dato "codesto tanto allarme" :'(
« Ultima modifica: 06 Giu 2006, 12:27:45 da alexred »

Offline alexred

  • Fuori controllo
  • *
  • Post: 25672
  • Sesso: Maschio
  • Esperto in ozio relaxed
    • Mostra profilo
Re: AGGIORNAMENTO 1.0.9
« Risposta #4 il: 06 Giu 2006, 12:25:52 »
Brava Barbara, tutto è bene quel che finisce bene  ;)
« Ultima modifica: 06 Giu 2006, 12:28:00 da alexred »

Offline barbara_c

  • Appassionato
  • ***
  • Post: 243
    • Mostra profilo
Re: AGGIORNAMENTO 1.0.9
« Risposta #5 il: 06 Giu 2006, 12:27:25 »
Touchè

Offline ste

  • Instancabile
  • ******
  • Post: 8774
  • Sesso: Femmina
    • Mostra profilo
Re: AGGIORNAMENTO 1.0.9
« Risposta #6 il: 06 Giu 2006, 12:29:11 »
Ottimo  :)
TTI - Team Traduzione Italiano di Joomla.it - Guide su Joomla

Offline barbara_c

  • Appassionato
  • ***
  • Post: 243
    • Mostra profilo
Re: AGGIORNAMENTO 1.0.9
« Risposta #7 il: 06 Giu 2006, 12:48:16 »
che vita è senza prendere colpi!!! :D

sempre così noiosa grigia

........meglio così  ;)


cmq attenti oggi è 06-06-06

Offline ste

  • Instancabile
  • ******
  • Post: 8774
  • Sesso: Femmina
    • Mostra profilo
Re: AGGIORNAMENTO 1.0.9
« Risposta #8 il: 06 Giu 2006, 12:53:24 »
cmq attenti oggi è 06-06-06
Aaaaaaaaaaaah chissà che succederà oggi! una data così non può che essere speciale......

PS: come programma ftp consiglio Filezilla, io mi trovo bene...
TTI - Team Traduzione Italiano di Joomla.it - Guide su Joomla

Offline madmat

  • Team Joomla.it
  • Abituale
  • *******
  • Post: 1446
  • Sesso: Maschio
  • potrebbe esser peggio ... potrebbe piovere
    • Mostra profilo
Re: AGGIORNAMENTO 1.0.9
« Risposta #9 il: 06 Giu 2006, 15:33:54 »
ho provato ad aggiornare ma mi è saltato il bridge per il login form joomla-SMF  :'(

ho rimesso la 108!  ::)
Il tasto RICERCA non provoca impotenza

Offline ste

  • Instancabile
  • ******
  • Post: 8774
  • Sesso: Femmina
    • Mostra profilo
Re: AGGIORNAMENTO 1.0.9
« Risposta #10 il: 06 Giu 2006, 15:36:56 »
Ciao mat  ;)
probabilmente non dovevi sovrascrivere il file login.php che c'è nella cartella Modules
TTI - Team Traduzione Italiano di Joomla.it - Guide su Joomla

Offline Probos

  • Nuovo arrivato
  • *
  • Post: 23
    • Mostra profilo
Re: AGGIORNAMENTO 1.0.9
« Risposta #11 il: 06 Giu 2006, 15:36:56 »
Si mi ricordano qualcosa...oggi è il mio compleanno...data di nascita 6676... :o :o :o

Offline miki89

  • Abituale
  • ****
  • Post: 1163
  • Sesso: Maschio
  • Michele
    • Mostra profilo
Re: AGGIORNAMENTO 1.0.9
« Risposta #12 il: 06 Giu 2006, 15:43:06 »
dovevi nascere 10 anni prima ;D

Offline giak

  • Team Joomla.it
  • Abituale
  • *******
  • Post: 1259
  • Sesso: Maschio
    • Mostra profilo
Re: AGGIORNAMENTO 1.0.9
« Risposta #13 il: 06 Giu 2006, 15:45:18 »
lasciare la 1.0.8 e attendere la 1.5 puo' creare noie per qualche piccolo bugs? dalla vostra recenzione ho letto che si tratta di piccoli aggiornamenti.

p.s.
il colpo me venuto quando ho visto il nuovo avatar di alex!  ;D ;D lo avesse messo la ste...
webmaster
www.egiakweb.net
 Developer pgDesigner - Datamodel designer for PostgreSQL pgdesigner.sourceforge.net  I belive! Free as in Freedom www.gnu.org

Offline ste

  • Instancabile
  • ******
  • Post: 8774
  • Sesso: Femmina
    • Mostra profilo
Re: AGGIORNAMENTO 1.0.9
« Risposta #14 il: 06 Giu 2006, 15:50:33 »
Si mi ricordano qualcosa...oggi è il mio compleanno...data di nascita 6676... :o :o :o
Auguriiiiiiiiiiiiiiiiiiiiiiii

TTI - Team Traduzione Italiano di Joomla.it - Guide su Joomla

 



Web Design Bolzano Kreatif