Information Pages unlimited - che versione?
Moderatore: mod Generali
Information Pages unlimited - che versione?
che versione usate della suddetta contrib? ho provato le ultime due... ma in fase di installazione mi danno un errore sql quando importo con phpmyadmin.
Voi che versione usate? Funzionano bene? Grazie a tutti!
Voi che versione usate? Funzionano bene? Grazie a tutti!
-
- membro Veteran
- Messaggi: 937
- Iscritto il: 21/03/2004, 1:00
- Località: Italia
- Contatta:
Re: Information Pages unlimited - che versione?
Ho appena installato la 2.03, funziona tutto.hsg26 ha scritto:che versione usate della suddetta contrib? ho provato le ultime due... ma in fase di installazione mi danno un errore sql quando importo con phpmyadmin.
Voi che versione usate? Funzionano bene? Grazie a tutti!
Ho avuto qualche problemino con ultimate seo url ma correggendo il bug è andato tutto a posto; il problema più noioso è stato sistemare la sitemap dato che inseriva nella stessa pagina tutte le pagine create nelle varie lingue, se ti serve poi ti mando il codice per sistemare queste due cose.
Ciao
l'errore è questo:
mah...
Codice: Seleziona tutto
Error
SQL query:
CREATE TABLE `information` (
`information_id` tinyint( 3 ) unsigned NOT NULL AUTO_INCREMENT ,
`information_group_id` int( 11 ) unsigned NOT NULL default '0',
`information_title` varchar( 255 ) NOT NULL default '',
`information_description` text NOT NULL ,
`parent_id` int( 11 ) default NULL ,
`sort_order` tinyint( 3 ) unsigned NOT NULL default '0',
`visible` enum( '1', '0' ) NOT NULL default '1',
`language_id` int( 11 ) NOT NULL default '0',
PRIMARY KEY ( `information_id` , `language_id` )
) ENGINE = MYISAM DEFAULT CHARSET = latin1;
MySQL said:
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1' at line 11
-
- membro Veteran
- Messaggi: 937
- Iscritto il: 21/03/2004, 1:00
- Località: Italia
- Contatta:
Questo è il dump della tabella che ho installato nel mio db:
La versione di Information Page Unlimited che uso io è la 2.03.
Ciao
Codice: Seleziona tutto
CREATE TABLE `information` (
`information_id` tinyint(3) unsigned NOT NULL auto_increment,
`information_group_id` int(11) unsigned NOT NULL default '0',
`information_title` varchar(255) NOT NULL default '',
`information_description` text NOT NULL,
`parent_id` int(11) default NULL,
`sort_order` tinyint(3) unsigned NOT NULL default '0',
`visible` enum('1','0') NOT NULL default '1',
`language_id` int(11) NOT NULL default '0',
PRIMARY KEY (`information_id`,`language_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
Ciao
sbaglio o c'è qualche differenza? perchè io per esempio vedo che alla fine c'è un auto increment... boh... io l'ho preso dallo zip che ho scaricato... strano.loris_ripa ha scritto:Questo è il dump della tabella che ho installato nel mio db:
La versione di Information Page Unlimited che uso io è la 2.03.Codice: Seleziona tutto
CREATE TABLE `information` ( `information_id` tinyint(3) unsigned NOT NULL auto_increment, `information_group_id` int(11) unsigned NOT NULL default '0', `information_title` varchar(255) NOT NULL default '', `information_description` text NOT NULL, `parent_id` int(11) default NULL, `sort_order` tinyint(3) unsigned NOT NULL default '0', `visible` enum('1','0') NOT NULL default '1', `language_id` int(11) NOT NULL default '0', PRIMARY KEY (`information_id`,`language_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
Ciao
-
- membro Veteran
- Messaggi: 937
- Iscritto il: 21/03/2004, 1:00
- Località: Italia
- Contatta:
Prova con questa, te l'ho esportata dal db con compatibilità per MySQL 3.23:hsg26 ha scritto:provato adesso... niente da fare... la mia versione di mysql cmq è: MySQL - 3.23.58
Codice: Seleziona tutto
CREATE TABLE `information` (
`information_id` tinyint(3) unsigned NOT NULL auto_increment,
`information_group_id` int(11) unsigned NOT NULL default '0',
`information_title` varchar(255) NOT NULL default '',
`information_description` text NOT NULL,
`parent_id` int(11) default NULL,
`sort_order` tinyint(3) unsigned NOT NULL default '0',
`visible` enum('1','0') NOT NULL default '1',
`language_id` int(11) NOT NULL default '0',
PRIMARY KEY (`information_id`,`language_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
-
- membro Veteran
- Messaggi: 937
- Iscritto il: 21/03/2004, 1:00
- Località: Italia
- Contatta:
si... ho ultimate, la 2.1d, l'ultima prima della possibilità di settare i nomi dei prodotti e delle categorie...loris_ripa ha scritto:Dai, non è necessariohsg26 ha scritto:posso inchinarmi? posso? E' ANDATAAAAAAAAAAAAAAAAAAAAAGrazie davvero, per avermi fatto un grande favore. Grazie!
![]()
![]()
![]()
Comunque come anticipato se hai installato o installerai Ultimate seo url e Sitemap ci sono dei bugs da correggere.
Ciao
quale file seoclass devo scaricare? o che modifiche devo fare?
-
- membro Veteran
- Messaggi: 937
- Iscritto il: 21/03/2004, 1:00
- Località: Italia
- Contatta:
Per prima cosa scaricati l'ultima versione corretta di seo.class.php che trovi nella pagina della contribution.hsg26 ha scritto:si... ho ultimate, la 2.1d, l'ultima prima della possibilità di settare i nomi dei prodotti e delle categorie...loris_ripa ha scritto:Dai, non è necessariohsg26 ha scritto:posso inchinarmi? posso? E' ANDATAAAAAAAAAAAAAAAAAAAAAGrazie davvero, per avermi fatto un grande favore. Grazie!
![]()
![]()
![]()
Comunque come anticipato se hai installato o installerai Ultimate seo url e Sitemap ci sono dei bugs da correggere.
Ciao
quale file seoclass devo scaricare? o che modifiche devo fare?
Dopodichè se il risultato nella barra degli indirizzi è questo:
catalog/-i-2.html
devi correggere una funzione in seo.class.php alla linea 1124:
Codice: Seleziona tutto
/**
* Function to get the informatin name. Use evaluated cache, per page cache, or database query in that order of precedent.
* @author Bobby Easland
* @version 1.1
* @param integer $iID
* @return string
*/
function get_information_name($iID){
switch(true){
case ($this->attributes['USE_SEO_CACHE_GLOBAL'] == 'true' && defined('INFO_NAME_' . $iID)):
$this->performance['CACHE_QUERY_SAVINGS']++;
$return = constant('INFO_NAME_' . $iID);
$this->cache['INFO'][$iID] = $return;
break;
case ($this->attributes['USE_SEO_CACHE_GLOBAL'] == 'true' && isset($this->cache['INFO'][$iID])):
$this->performance['CACHE_QUERY_SAVINGS']++;
$return = $this->cache['INFO'][$iID];
break;
default:
$this->performance['NUMBER_QUERIES']++;
$sql = "SELECT information_title as iName
FROM ".TABLE_INFORMATION."
WHERE information_id='".(int)$iID."'
AND language_id='".(int)$this->languages_id."'
LIMIT 1";
$result = $this->DB->FetchArray( $this->DB->Query( $sql ) );
$iName = $this->strip( $result['iName'] );
$this->cache['INFO'][$iID] = $iName;
$this->performance['QUERIES']['INFO'][] = $sql;
$return = $iName;
break;
} # end switch
return $return;
} # end function



Ciao
-
- membro Veteran
- Messaggi: 937
- Iscritto il: 21/03/2004, 1:00
- Località: Italia
- Contatta: