Joomla.it Forum

Joomla! 1.0.x (versione con supporto terminato) => Le voci di Joomla.it (solo per versione Joomla 1.0.x) => Segnalazione Bug Joomla 1.0.x => : mdiema 22 Sep 2005, 10:19:37

: problema con il componente contatti
: mdiema 22 Sep 2005, 10:19:37
Ciao a tutti,
innamzi tutto grazie per l'ottimo e veloce lavoro di joomla versione italiana.
L'ho appena installato in locale ma ho problemi con il componente dei contatti sia nel sito che nel pannello di amministrazione. Appena clicco su contatti mi esce tutta questa sfilza di errori:

126) ) { // always encode "\t", which is *not* required $h2 = floor($dec/16); $h1 = floor($dec%16); $c = $escape.$hex["$h2"].$hex["$h1"]; } if ( (strlen($newline) + strlen($c)) >= $line_max ) { // CRLF is not counted $output .= $newline.$escape.$eol; // soft line break; " =\r\n" is okay $newline = " "; } $newline .= $c; } // end of for $output .= $newline; if ($jproperties[$key] = quoted_printable_encode($number); } // UNTESTED !!! function setPhoto($type, $photo) { // $type = "GIF" | "JPEG" $this->properties["PHOTO;TYPE=$type;ENCODING=BASE64"] = base64_encode($photo); } function setFormattedName($name) { $this->properties["FN"] = quoted_printable_encode($name); } function setName($family="", $first="", $additional="", $prefix="", $suffix="") { $this->properties["N"] = "$family;$first;$additional;$prefix;$suffix"; $this->filename = "$first%20$family.vcf"; if ($this->properties["FN"]=="") $this->setFormattedName(trim("$prefix $first $additional $family $suffix")); } function setBirthday($date) { // $date format is YYYY-MM-DD $this->properties["BDAY"] = $date; } function setAddress($postoffice="", $extended="", $street="", $city="", $region="", $zip="", $country="", $type="HOME;POSTAL") { // $type may be DOM | INTL | POSTAL | PARCEL | HOME | WORK or any combination of these: e.g. "WORK;PARCEL;POSTAL" $key = "ADR"; if ($type!="") $key.= ";$type"; $key.= ";ENCODING=QUOTED-PRINTABLE"; $this->properties[$key] = encode($name).";".encode($extended).";".encode($street).";".encode($city).";".encode($region).";".encode($zip).";".encode($country); if ($this->properties["LABEL;$type;ENCODING=QUOTED-PRINTABLE"] == "") { //$this->setLabel($postoffice, $extended, $street, $city, $region, $zip, $country, $type); } } function setLabel($postoffice="", $extended="", $street="", $city="", $region="", $zip="", $country="", $type="HOME;POSTAL") { $label = ""; if ($postoffice!="") $label.= "$postoffice\r\n"; if ($extended!="") $label.= "$extended\r\n"; if ($street!="") $label.= "$street\r\n"; if ($zip!="") $label.= "$zip "; if ($city!="") $label.= "$city\r\n"; if ($region!="") $label.= "$region\r\n"; if ($country!="") $country.= "$country\r\n"; $this->properties["LABEL;$type;ENCODING=QUOTED-PRINTABLE"] = quoted_printable_encode($label); } function setEmail($address) { $this->properties["EMAIL;INTERNET"] = $address; } function setNote($note) { $this->properties["NOTE;ENCODING=QUOTED-PRINTABLE"] = quoted_printable_encode($note); } function setURL($url, $type="") { // $type may be WORK | HOME $key = "URL"; if ($type!="") $key.= ";$type"; $this->properties[$key] = $url; } function getVCard() { $text = "BEGIN:VCARD\r\n"; $text.= "VERSION:2.1\r\n"; foreach($this->properties as $key => $value) { $text.= "$key:$value\r\n"; } $text.= "REV:".date("Y-m-d")."T".date("H:i:s")."Z\r\n"; $text.= "MAILER:PHP vCard class by Kai Blankenhorn\r\n"; $text.= "END:VCARD\r\n"; return $text; } function getFileName() { return $this->filename; } } // USAGE EXAMPLE /* $v = new vCard(); $v->setPhoneNumber("+49 23 456789", "PREF;HOME;VOICE"); $v->setName("Mustermann", "Thomas", "", "Herr"); $v->setBirthday("1960-07-31"); $v->setAddress("", "", "Musterstrasse 20", "Musterstadt", "", "98765", "Deutschland"); $v->setEmail("thomas.mustermann@thomas-mustermann.de"); $v->setNote("You can take some notes here.\r\nMultiple lines are supported via \\r\\n."); $v->setURL("http://www.thomas-mustermann.de", "WORK"); $output = $v->getVCard(); $filename = $v->getFileName(); Header("Content-Disposition: attachment; filename=$filename"); Header("Content-Length: ".strlen($output)); Header("Connection: close"); Header("Content-Type: text/x-vCard; name=$filename"); echo $output; */ ?>
Fatal error: Class mambovcard: Cannot inherit from undefined class vcard in /srv/www/htdocs/components/com_contact/contact.class.php on line 90

Cosa significa?
: Re: problema con il componente contatti
: mdiema 22 Sep 2005, 11:36:32
Ho scaricato la versione italiana che c'è sulla home di joomla.it e l'ho installata. Non ho fatto una migrazione. Sto usanto Linux Suse 9.3. Ho fatto i passaggi di installazione come al solito (l'ho fatto già numerose volte) e ho controllato i permessi (tutti 777).
Grazie!
: Re: problema con il componente contatti
: mdiema 22 Sep 2005, 12:20:38
Grazie Vamba per l'aiuto!
Non è che può anche essere qualche impostazione di Apache o Php?
: Re: problema con il componente contatti
: alexred 22 Sep 2005, 12:41:55
possibile

ho messo proprio adesso online una demo qui

www.mamboserver.com/joomla

e funziona  ???
Il vamba ha le password del sito di mamboserver.com !!!
E ci ha installato dentro Joomla!
Questo si che è temerario   :o
: Re: problema con il componente contatti
: virtus 23 Sep 2005, 16:30:31
uuuuuuuu  Spiritosoneeeeeee... mi son sbagliato  uffa  :-[
Su questo lapsus Freud avrebbe da dire molte cose! ;D ;D ;D
Scherzi a parte, complimenti per il lavoro che state portando avanti
: Re: problema con il componente contatti
: ste 23 Sep 2005, 16:33:44
Virtus!!! ora che ti ho beccato non mi sfuggi  ;D
che ne dici di aiutarci con l'help?
: Re: problema con il componente contatti
: virtus 23 Sep 2005, 16:52:07
Virtus!!! ora che ti ho beccato non mi sfuggi  ;D
che ne dici di aiutarci con l'help?
Lascia stare che è un momentaccio Stefania
: Re: problema con il componente contatti
: ste 23 Sep 2005, 16:58:20
:( almeno c'ho provato....
: Re: problema con il componente contatti
: virtus 23 Sep 2005, 16:59:56
:( almeno c'ho provato....
Non essere triste  :D
: Re: problema con il componente contatti
: GiorgioBlu 27 Sep 2005, 15:49:56
possibile

ho messo proprio adesso online una demo qui

www.mamboitalia.com/joomla

e funziona  ???


Ciao, sto facendo delle prove e anche con Joomla_1.0.1_stabile_italiana_rev.3 mi da il problema nel componente Contatti.

Il test è fatto offline e l'installazione è pulita con tutti i parametri richiesti da Joomla :(

 ???  ora se riesco faccio una prova anch'io on-line
: Re: problema con il componente contatti
: 4joomla 29 Sep 2005, 14:12:39
Vi metto al corrente dei miei test circa il funzionamento del componente contatti.

su webserver Linux con PHP 4.2.2:

joomla 1.0.1 = non va
mambo 4.5.2.3 ita = non va
mambo 4.5.1 ita = va

Nei prossimi giorni aggiornero' la versione di PHP, tanto per vedere se ci sono cambiamenti.

ciao  :)
: Re: problema con il componente contatti
: 4joomla 29 Sep 2005, 15:26:03
Gia' e' vero...dimenticato...la rev 3.
Scusate l'imprecisione. :-[

Con PHP 4.4.0 il componente contatti di joomla 1.0.1 rev 3 funziona perfettamente. ;D

ciao  :)
: Re: problema con il componente contatti
: mdiema 29 Sep 2005, 17:11:17
Io ho php 4.3.0 e il componente contatti non va.
4joomla, come faccio ad aggiornare la versione di php? ???
: Re: problema con il componente contatti
: 4joomla 30 Sep 2005, 10:06:43
Io ho php 4.3.0 e il componente contatti non va.
4joomla, come faccio ad aggiornare la versione di php? ???

Beh dipende...credo che sia un argomento un poco OT.

Io ho un server in lan e lo aggiorno come mi pare, lo stesso per il server web e per quello di test sul notebook.

Dipende dalla distribuzione Linux e soprattutto se hai accesso al server con privilegi di root; se hai i priviligi dipende se trovi un pacchetto adatto (rpm, deb) o se devi compilare, sul vecchio RH7.2 ho dovuto fare cosi', per il FreeBSD su notebook ci sono i ports.

Insomma dipende ma su Internet ci sono tutte le risposte.

ciao :)
: Re: problema con il componente contatti
: 4joomla 30 Sep 2005, 10:10:25
Su questo sito e' riportata nel box Statistiche la versione di PHP in uso (la 4.3.10) e finora e' quella piu' bassa con cui il componente "contatti" funziona.

ciao :)
: Re: problema con il componente contatti
: mdiema 30 Sep 2005, 16:08:16
La mia distribuzione è Suse 9.3. Ho trovato php5 da compilare, ma per le mie modeste capacità è troppo complicato. Ho trovato anche gli rpm e li ho installati ma è successo che non andava più niente. Sicuramente ho dimenticato qualche particolare... :-\, oppure non è ancora compatibile del tutto.

comunque non importa perché tra poco installerò joomla direttante nel web e lavorerò lì.
Grazie!  :)
: Re: problema con il componente contatti
: 4joomla 03 Oct 2005, 11:59:17
Come minimo dovresti sostituire in httpd.conf:

LoadModule php4_module        libexec/libphp4.so

con:

LoadModule php5_module        libexec/libphp5.so

...sempre che l'installazione non lo abbia fatto da se'.

ciao :)
: Re: problema con il componente contatti
: mdiema 19 Oct 2005, 13:59:43
Ciao a tutti,
Complimenti!!! Con la versione joombla 1.0.3 il componente contatti funziona BENISSIMO!! :D

Grazie per l'ottimo lavoro :)