Joomla.it Forum
Joomla! 1.5.x (versione con supporto terminato) => Joomla! 1.5 => I Template di Joomla 1.5.x => : alexthemaster 30 Nov 2011, 23:25:17
-
Ciao a tutti
ho preso un sito in joomla e l'ho travasato da un server sul mio configurando il db e tutto.
Il sito funziona ma ho problemi con il template mi compaiono queste scritte
Notice: Undefined variable: tmp in /home/www/sitojoomla/templates/ja_sanidineii_light/ja_menus/Base.class.php on line 87 Notice: Trying to get property of non-object in /home/www/sitojoomla/templates/ja_sanidineii_light/ja_menus/Base.class.php on line 87 Notice: Undefined variable: tmp in /home/www/sitojoomla/templates/ja_sanidineii_light/ja_menus/Base.class.php on line 87 Notice: Trying to get property of non-object in /home/www/sitojoomla/templates/ja_sanidineii_light/ja_menus/Base.class.php on line 87 Notice: Undefined variable: tmp in /home/www/sitojoomla/templates/ja_sanidineii_light/ja_menus/Base.class.php on line 87 Notice: Trying to get property of non-object in /home/www/sitojoomla/templates/ja_sanidineii_light/ja_menus/Base.class.php on line 87
la parte di codice incriminata č questa
// Handle SSL links
84 $iParams = $this->createParameterObject($v->params);
85 $iSecure = $iParams->def('secure', 0);
86 if ($v->home == 1) {
87 $tmp->url = str_replace(array($tmp->route.'/', $tmp->route), '', JRoute::_( $tmp->url ));
88 } elseif (strcasecmp(substr($v->url, 0, 4), 'http') && (strpos($v->link, 'index.php?') !==false)) {
90 $v->url = JRoute::_($v->url, true, $iSecure);
91 } else {
92 $v->url = str_replace('&', '&', $v->url);
93 }
con questo errore non mi carica bene neanche i css quindi molte scritte le vedo errate.
Sapete darmi qualche info?
grazie
-
ciao
benvenuto nel forum
travaso non č acqua che si travasa :D .
prova a farci capire come hai fatto il travaso.
-
Ciao conti1
e grazie per il benvenuto.
Allora ho scaricato tutto il sito sul mio pc e l'ho uppato sul server modificando il configuration.php opportunamente. Poi ho caricato sul phpmyadmin il db ma prima di fare ciņ ho fatto un trova/sostituisci con il percorso relativo e assoluto vecchio sostituendolo con il nuovo ed ho cambiato tutti i puntamenti www.vecchiosito.com (http://www.vecchiosito.com) con www.nuovosito.com (http://www.nuovosito.com).
Fatto ciņ funziona tutto riesco a vedere bene il sito e a muovermi da tutte le parti senza intoppi. l'unica cosa che non va sono questi errori che secondo me non mi fanno caricare i css a dovere.
Notice: Undefined variable: tmp in /home/www/miosito/templates/ja_sanidineii_light/ja_menus/Base.class.php on line 87 Notice: Trying to get property of non-object in /home/www/miosito/templates/ja_sanidineii_light/ja_menus/Base.class.php on line 87 Notice: Undefined variable: tmp in /home/www/miosito/templates/ja_sanidineii_light/ja_menus/Base.class.php on line 87 Notice: Trying to get property of non-object in /home/www/miosito/templates/ja_sanidineii_light/ja_menus/Base.class.php on line 87 Notice: Undefined variable: tmp in /home/www/miosito/templates/ja_sanidineii_light/ja_menus/Base.class.php on line 87 Notice: Trying to get property of non-object in /home/www/miosito/templates/ja_sanidineii_light/ja_menus/Base.class.php on line 87
e
Notice: Undefined property: stdClass::$id in /home/www/miosito/plugins/content/cptags.php on line 96 Notice: Undefined property: stdClass::$id in /home/www/miosito/plugins/content/cptags.php on line 99 Notice: Undefined property: stdClass::$id in /home/www/miosito/plugins/content/cptags.php on line 96 Notice: Undefined property: stdClass::$id in /home/www/miosito/plugins/content/cptags.php on line 99 Notice: Undefined property: stdClass::$id in /home/www/miosito/plugins/content/cptags.php on line 96 Notice: Undefined property: stdClass::$id in /home/www/miosito/plugins/content/cptags.php on line 99 Notice: Undefined property: stdClass::$id in /home/www/miosito/plugins/content/cptags.php on line 96 Notice: Undefined property: stdClass::$id in /home/www/miosito/plugins/content/cptags.php on line 99 Notice: Undefined property: stdClass::$id in /home/www/miosito/plugins/content/cptags.php on line 96 Notice: Undefined property: stdClass::$id in /home/www/miosito/plugins/content/cptags.php on line 99 Notice: Undefined property: stdClass::$id in /home/www/miosito/plugins/content/cptags.php on line 96 Notice: Undefined property: stdClass::$id in /home/www/miosito/plugins/content/cptags.php on line 99
per il resto il sito funziona....
il vecchio server era
PHP creato il: Linux 2.6.22-gentoo-r8-xbc64 #1 SMP Thu Oct 11 10:46:36 Local time zone must be set--see zic x86_64 Versione database: 5.0.84-log Collation Database: utf8_general_ci Versione PHP: 5.2.11-pl0-gentoo Server Web: Apache Server web per interfaccia PHP: apache2handler Versione di Joomla!: Joomla! 1.5.8 Production/Stable [ Wohnaiki ] 10-November-2008 23:00 GMT User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0
il nuovo
PHP creato il: Linux 2.6.38.2-grsec-xxxx-grs-ipv6-64 #2 SMP Thu Aug 25 16:40:22 UTC 2011 x86_64 Versione database: 5.1.54-1ubuntu4 Collation Database: utf8_general_ci Versione PHP: 5.2.10-2ubuntu6 Server Web: Apache/2.2.17 (Ubuntu) Server web per interfaccia PHP: apache2handler Versione di Joomla!: Joomla! 1.5.8 Production/Stable [ Wohnaiki ] 10-November-2008 23:00 GMT User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0
cosa potrebbe essere?
grazie
ps
il file cptag contiene
98 // in case we are under PHP 4
99 $GLOBALS['botCpTagsContentId'] = $row->id;
100 $GLOBALS['botCpTagsParams'] = & $this->_params;
101 $GLOBALS['botCpTagsCe'] = & $this->_ce;
102
103 switch ($tags_position) {
104 case 0 : // bottom
105 $row->text .= showTags($ce, $this->_cid, $params, $tag_in_meta) ;
106 break;
case 1 : // top