Projekt - IALE: Unterschied zwischen den Versionen
Aus Wikizone
| Zeile 10: | Zeile 10: | ||
Fehler Meldung beim Testimport: | Fehler Meldung beim Testimport: | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | SQL Fehler beim Importieren: | ||
| + | |||
| + | |||
| + | open up /lists/admin/connect.php | ||
| + | |||
| + | |||
| + | Search for the following code (around line 1131 in my version): | ||
| + | |||
| + | ''function cleanCommaList($list) { | ||
| + | |||
| + | return join(',',cleanArray(split(',',$list))); | ||
| + | |||
| + | }'' | ||
| + | |||
| + | |||
| + | Version 2.10.10 has a new function called cleanCommaList() in connect.php. This is to remove null values in the attributes array, but it apparently doesn't work. Taking code from an earlier patch (bug 15182), replace the existing cleanCommaList function (line 1131 in connect.php) with this: | ||
| + | |||
| + | |||
| + | #function cleanCommaList($list) { | ||
| + | |||
| + | # return join(',',cleanArray(split(',',$list))); | ||
| + | |||
| + | #} | ||
| + | |||
| + | '' | ||
| + | function cleanCommaList($list) { | ||
| + | |||
| + | foreach ($list as $key=>$value) { | ||
| + | |||
| + | if(!$value) { | ||
| + | |||
| + | array_splice($list, $key, 1); //Remove null value from array | ||
| + | |||
| + | } | ||
| + | |||
| + | }'' | ||
| + | return $list; | ||
| + | } | ||
Version vom 3. Dezember 2012, 09:44 Uhr
Besonderheiten
- Eigene Extension für Telecash Connect Schnittstelle
- JavaScript Validierung mit jQuery Validate Plugin
phpList für Newsletterversand
- Änderungen beim Update evenetuell wieder anpassen :
die Index-Seiten werden auf Wunsch des Kunden nich angezeigt, also keine Anmeldung und Abmeldung möglich, Umleitung per htaccess auf die Hauptseite
Fehler Meldung beim Testimport:
SQL Fehler beim Importieren:
open up /lists/admin/connect.php
Search for the following code (around line 1131 in my version):
function cleanCommaList($list) {
return join(',',cleanArray(split(',',$list)));
}
Version 2.10.10 has a new function called cleanCommaList() in connect.php. This is to remove null values in the attributes array, but it apparently doesn't work. Taking code from an earlier patch (bug 15182), replace the existing cleanCommaList function (line 1131 in connect.php) with this:
- function cleanCommaList($list) {
- return join(',',cleanArray(split(',',$list)));
- }
function cleanCommaList($list) {
foreach ($list as $key=>$value) {
if(!$value) {
array_splice($list, $key, 1); //Remove null value from array
}
} return $list;
}