WebSite X5Help Center

 
Mario S.
Mario S.
User

PROBLEMA CARRELLO  it

Auteur : Mario S.
Visité 1419, Followers 1, Partagé 0  
Mots-clés :: carrello

il sito è in rete. tutto ok e funzionante. ma qnd provo il carrello, all'invio dell'ordine, mi appare questo errore " . $ud[0] . ":" . $ud[1] . "\n"; $imUserDataCSVH[] = $ud[0]; $imUserDataCSV[] = $ud[1]; $i++; } $imUserDataCSV = implode(";",$imUserDataCSVH) . "\n" . implode(";",$imUserDataCSV); $imOrderData = str_replace("\'", "'", $_POST["imOrderData"]); $imOrderData = explode("||",$imOrderData); $imOrderDataTxt = ""; $imOrderDataHTML = ""; $imOrderDataCSV = ""; $i = 0; if(is_array($imOrderData)) { foreach($imOrderData as $od) { $od = explode("::",$od); if(count($od) == 6) $imOpt = 1; } $imOrderDataHTML = "" . $imLocale[1] . "" . $imLocale[2] . "" . ($imOpt ? "" . $imLocale[3] . "" : "") . "" . $imLocale[4] . "" . $imLocale[5] . "\n"; $imOrderDataCSV = $imLocale[0] . ";" . $imLocale[1] . ";" . ($imOpt ? $imLocale[2] . ";" : "") . $imLocale[3] . ";" . $imLocale[4] . ";" . $imLocale[5]; foreach($imOrderData as $od) { $od = explode("::",$od); switch(count($od)) { case 6: $imOrderDataCSV .= "\n" . implode(";",$od); $imOrderDataTxt .= $od[0] . " - " . $od[1] . " - " . $od[2] . " " . $od[3] . " x " . $od[4] . " " . $od[5] . "\n"; $imOrderDataHTML .= "" . $od[0] . " - " . $od[1] . "" . $od[2] . "" . $od[3] . "" . $od[4] . "" . $od[5] . "\n"; break; case 5: $imOrderDataCSV .= "\n" . $od[0] . ";" . $od[1] . ";" . ($imOpt ? ";" : "") . $od[2] . ";" . $od[3] . ";" . $od[4]; $imOrderDataTxt .= $od[0] . " - " . $od[1] . " " . $od[2] . " x " . $od[3] . " " . $od[4] . "\n"; $imOrderDataHTML .= "" . $od[0] . " - " . $od[1] . "" . ($imOpt ? "" : "") . "" . $od[2] . "" . $od[3] . "" . $od[4] . "\n"; break; case 2: $imOrderDataCSV .= "\n" . $od[0] . ";;;" . ($imOpt ? ";" : "") . ";" . $od[1]; $imOrderDataTxt .= $od[0] . ": " . $od[1] . "\n"; $imOrderDataHTML .= "" . $od[0] . "" . $od[1] . "\n"; break; } $i++; } $imOrderDataHTML .= ""; } // Template $htmHead = ""; $htmFoot .= " "; //Send email to owner $htmMsg = $htmHead . "" . $imOrderNo . "" . $htmFoot . " " . $htmHead . $imOrderDataHTML . $htmFoot . " " . $htmHead . $imUserDataHTML . $htmFoot . " " . ""; $oEmail = new imEMail(($imForceSender ? $_POST["imUserMail"] : "***"),"***",$imOrderNo,"iso-8859-1"); $oEmail->setText($imOrderNo . "\n\n" . $imOrderDataTxt . "\n\n\n" . $imUserDataTxt . "\n\n\n"); $oEmail->setHTML(" " . $htmMsg . " "); $oEmail->send(); //Send email to user $htmMsg = $htmHead . "" . $imOrderNo . "" . str_replace("\r\n"," ",$PayMsg[$_POST["imShipment"]]) . "" . $htmFoot . " " . $htmHead . $imOrderDataHTML . $htmFoot . " " . $htmHead . $imUserDataHTML . $htmFoot; $oEmail = new imEMail("***",$_POST["imUserMail"],$imOrderNo,"iso-8859-1"); $oEmail->setText($imOrderNo . "\n" . $PayMsg[$_POST["imShipment"]] . "\n\n" . $imOrderDataTxt . "\n\n\n" . $imUserDataTxt); $oEmail->setHTML(" " . $htmMsg . " "); $oEmail->send(); @header("Location: ../impayment.html"); ?>

Posté le
2 RéPONSES - 1 CORRECT
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

ciao, 

... non hai il supporto PHP attivo nel tuo Sito; ...contatta il server e stipula un contratto integrativo, sempre se è previsto, altrimenti cambia Host... 

(sarebbe da cambiare anche il programma, siamo alla v.10, col quale è offerto un anno gratuitamente su ONE.COM, adatto al nostro programma)Wink

.

bye, KolAsim

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
Mario S.
Mario S.
User
Auteur

GRAZIE MILLE

Lire plus
Posté le de Mario S.