Hi,
ich habe den Shop installiert (rustys files, nutze 4images 1.7.1), und alles x-mal auf Übertragungsfehler gecheckt - aber nichts gefunden. Ich kann jetzt nach der installation die site aufrufen, komme aber nicht über die index.php hinaus, da bei jedem Aufruf (z.B. categories.php) ein parse error kommt: >unexpected T_String in line 230<
Line 230 sieht aber ganz ok aus, ohne ein einsames ' oder so etwas... Bitte, kann mir jemand helfen????
DANKE!!!!
I have the Shop installed (rustys files, using 4images 1.7.1) double-checked everything precisely whithout having found any mistake. Now, after installation, I can call the site,, but unfortunately I have to remain on the index.php, as with any call (i.e. to categories.php) there is a parse-error: <unexpected T_String on line 230<
This line looks quite ok to me, no single or lonely ' or something like that... Please, can somebody help me????
THANKS!!!
these are the lines 228 - 243:
//Shop
if ($user_info['user_level'] != GUEST && $image_row['price_1'] != 0) {
//This is line 230!!!
$warenkorb_url = $self_url;
$warenkorb_url .= (!empty($mode)) ? ((preg_match("/\?/", $warenkorb_url)) ? "&" : "?")."mode=".$mode : "";
$warenkorb_url .= preg_match("/\?/", $warenkorb_url) ? "&" : "?";
if (check_warenkorb($image_row['image_id'])) {
$warenkorb_url .= "action=removefromwarenkorb&id=".$image_row['image_id'];
$warenkorb_button = "<a href=\"".$site_sess->url($warenkorb_url)."\"><img src=\"".get_gallery_image("warenkorb_no_kl.gif")."\" border=\"0\" align=\"\" alt=\"Remove item from shopping cart\" /></a>";
$warenkorb_button_kl = "<a href=\"".$site_sess->url($warenkorb_url)."\"><img src=\"".get_gallery_image("warenkorb_no_kl.gif")."\" border=\"0\" align=\"\" alt=\" Remove item from shopping cart \" /></a>";
}
else {
$warenkorb_url .= "action=addtowarenkorb&id=".$image_row['image_id'];
$warenkorb_button = "<a href=\"".$site_sess->url($warenkorb_url)."\"><img src=\"".get_gallery_image("warenkorb_yes_kl.gif")."\" border=\"0\" align=\"\" alt=\" Add to shopping cart\" /></a>";
$warenkorb_button_kl = "<a href=\"".$site_sess->url($warenkorb_url)."\"><img src=\"".get_gallery_image("warenkorb_yes_kl.gif")."\" border=\"0\" align=\"\" alt=\" Add to shopping cart\" /></a>";
}
}