Joomla.it Forum
Joomla! 3 => Joomla! 3 => : conteblu 23 Mar 2013, 19:55:46
-
Ciao a tutti, ho un problema con Adsmanager. Non riesco a installarlo. Ho seguito tutte le istruzioni contenute nel file, l'ho scompattato ma nulla da fare. Ho cercato anche nel forum una soluzione ma non c'è.
Ho provato cambiando il server locale da Wampserver a Xampp ma niente da fare. Ho provato con Joomla 2.5 e non va nemmeno lì.
Mi viene dato questo errore:
1067 Invalid default value for 'special' SQL=CREATE TABLE IF NOT EXISTS `u16xo_adsmanager_config` ( `id` int(10) unsigned NOT NULL auto_increment, `version` text NOT NULL, `ads_per_page` int(10) unsigned NOT NULL default '20', `max_image_size` int(10) unsigned NOT NULL default '102400', `max_width` int(4) NOT NULL default '450', `max_height` int(4) NOT NULL default '300', `max_width_t` int(4) NOT NULL default '150', `max_height_t` int(4) NOT NULL default '100', `root_allowed` tinyint(4) NOT NULL default '1', `nb_images` int(4) NOT NULL default '2', `show_contact` tinyint(4) NOT NULL default '1', `send_email_on_new` tinyint(4) NOT NULL default '1', `send_email_on_update` tinyint(4) NOT NULL default '1', `auto_publish` tinyint(4) NOT NULL default '1', `tag` text NOT NULL, `fronttext` text NOT NULL, `comprofiler` tinyint(4) NOT NULL default '0', `email_display` tinyint(4) NOT NULL default '0', `rules_text` text NOT NULL, `display_expand` tinyint(4) NOT NULL default '1', `display_last` tinyint(4) NOT NULL default '2', `display_fullname` tinyint(4) NOT NULL default '2', `expiration` tinyint(1) NOT NULL default '1', `ad_duration` int(4) NOT NULL default '30', `recall` tinyint(1) NOT NULL default '1', `recall_time` int(4) NOT NULL default '7', `recall_text` text NOT NULL, `image_display` varchar(50) NOT NULL default 'default', `cat_max_width` int(4) NOT NULL default '150', `cat_max_height` int(4) NOT NULL default '150', `cat_max_width_t` int(4) NOT NULL default '30', `cat_max_height_t` int(4) NOT NULL default '30', `submission_type` int(4) NOT NULL default '30', `nb_ads_by_user` int(4) NOT NULL default '-1', `allow_attachement` tinyint(1) NOT NULL default '0', `allow_contact_by_pms` tinyint(1) NOT NULL default '0', `show_rss` tinyint(1) NOT NULL default '0', `nbcats` int(4) NOT NULL default '1', `show_new` tinyint(1) NOT NULL default '1', `nbdays_new` int(10) NOT NULL default '5', `show_hot` tinyint(1) NOT NULL default '1', `nbhits` int(10) NOT NULL default '100', `bannedwords` TEXT DEFAULT NULL, `replaceword` TEXT DEFAULT NULL, `after_expiration` TEXT DEFAULT NULL, `archive_catid` int(10) NOT NULL default '1', `metadata_description` text, `metadata_keywords` text, `autocomplete` tinyint(1) default '0', `jquery` tinyint(1) default '1', `jqueryui` tinyint(1) default '1', `disable_post` tinyint(1) NOT NULL default '0', `nb_last_cols` int(10) NOT NULL default '3', `nb_last_rows` int(10) NOT NULL default '1', `display_general_menu` tinyint(1) NOT NULL default '1', `display_list_sort` tinyint(1) NOT NULL default '1', `display_list_search` tinyint(1) NOT NULL default '1', `display_inner_pathway` tinyint(1) NOT NULL default '1', `display_front` tinyint(1) NOT NULL default '1', `send_email_on_new_to_user` tinyint(4) NOT NULL default '1', `send_email_on_update_to_user` tinyint(4) NOT NULL default '0', `send_email_on_validation_to_user` tinyint(4) NOT NULL default '1', `new_text` text NOT NULL, `update_text` text NOT NULL, `admin_new_text` text NOT NULL, `admin_update_text` text NOT NULL, `waiting_validation_text` text NOT NULL, `validation_text` text NOT NULL, `expiration_text` text NOT NULL, `new_subject` text NOT NULL, `update_subject` text NOT NULL, `admin_new_subject` text NOT NULL, `admin_update_subject` text NOT NULL, `waiting_validation_subject` text NOT NULL, `validation_subject` text NOT NULL, `expiration_subject` text NOT NULL, `recall_subject` text NOT NULL, `params` text DEFAULT NULL, `special` text DEFAULT NULL PRIMARY KEY (`id`) ) DEFAULT CHARACTER SET utf8;
Se conoscete un'altra buona estensione per realizzare un sito di annunci con registrazione per il pubblico fatemi sapere.
Grazie per qualunque aiuto!
Gabriele
-
Grazie al suggerimento di un utente sul forum internazionale ho sostituito una parte del file install.sql contenuto in adsmanager.zip così:
da
`special` text DEFAULT NULL PRIMARY KEY (`id`) ) DEFAULT CHARACTER SET utf8;
a
`special` text DEFAULT NULL, PRIMARY KEY (`id`) ) DEFAULT CHARACTER SET utf8;
La mancanza di una virgola nel file fornito dal produttore impediva la corretta installazione su Joomla.
Ora però che sono riuscito a installare adsmanager sorge un problema nella pagina principale del componente proprio nel frontend del sito.
Infatti la pagina presenta queste strane indicazioni:
Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\stregagatta\components\com_adsmanager\lib\route.php on line 77
Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\stregagatta\components\com_adsmanager\lib\route.php on line 170
Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\stregagatta\components\com_adsmanager\lib\route.php on line 175
Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\stregagatta\components\com_adsmanager\lib\route.php on line 77
Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\stregagatta\components\com_adsmanager\lib\route.php on line 170
Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\stregagatta\components\com_adsmanager\lib\route.php on line 175
Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\stregagatta\components\com_adsmanager\lib\route.php on line 77
Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\stregagatta\components\com_adsmanager\lib\route.php on line 170
Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\stregagatta\components\com_adsmanager\lib\route.php on line 175
Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\stregagatta\components\com_adsmanager\lib\route.php on line 77
Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\stregagatta\components\com_adsmanager\lib\route.php on line 170
Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\stregagatta\components\com_adsmanager\lib\route.php on line 175
Per chiarezza inserisco uno screenshot del problema visualizzato.
Grazie a chi potrà darmi un suggerimento
[allegato eliminato automaticamente dopo un anno]
-
ciao,
dovrebbe essere la configurazione safe mode di xampp, esegui questi semplici passi e verifica...
apri il file C:\Programmi\xampp\apache\bin\php.ini e modifica la riga da
safe_mode = Off
a
safe_mode = On
-
Grazie, ho provato ma non cambia nulla...
-
pulito la cache di joomla si?!
-
si si