PDA

View Full Version : Fehler beim Kopieren von W?rteb?cher (bug?)


Delazar
02-13-2008, 07:09 PM
Beim erstellen eine Kopie eines Wörtebuchs, taucht oben diese Zeile:

Warning: array_map() [function.array-map]: Argument #2 schould be an array in /admincp/gal_admin.php on line 1504

Ist es ein Bug???

Gruß
Delazar

Morgan
02-13-2008, 11:26 PM
Looks like you don't have any permissions set for the dictionary you are trying to copy. Go to the ACP -> Geek Auto-Linker -> Permissions, and for every Usergroup and every Dictionary, set the permissions as you prefer, and then afterwards do the copy.

Delazar
02-14-2008, 07:25 PM
Danke das Funktioniert jetzt, aber jetzt habe ich ein weiteres Problem.
Ich habe wörterbücher erstellt und jedem eine Kategorie zugewiesen, dass klaptt auch alles so weit. Aber bei den letzten wörter obwohl ich Auto Link und Aktiviere anklicke, nach dem Speichern sieht es so aus (sie Bild) er stellt alles auf Deaktiviert. Warum?
vB 3.7
GAL 6.0.4


Gruß
Delazar

PS: Super Support hier ;)

Edit: Wenn ich die Abkürzungen anfasse und separat speichere geht es, wenn ich es über die Übersicht mache (wie im Bild) dann bekomme ich diesen Effekt wie auf dem Bild. Es scheint ein Bug zu sein.

Morgan
02-21-2008, 09:44 PM
Not sure, cannot duplicate, does the gal database table need to be repaired?

Delazar
02-22-2008, 06:54 AM
Hallo Morgan,

ich habe die Tabellen repariert. aber habe immer noch den gleichen Effekt.
Es wäre Super wenn du mal auf dem Server draufgehst und selber mal testest.
Wenn du das machen möchtest, gib bescheid und ich werde dir per PM die Zugangsdaten schicken.

Gruß
Delazar

Morgan
02-24-2008, 06:55 AM
I'm not seeing anything with the code. What happens if you make changes to an individual keyword instead of trying to make change from the ACP -> Geek Auto-Linker -> Display page? Maybe you have a lot of keywords whereby you are running out of allowable queries.

Delazar
02-24-2008, 09:12 AM
I'm not seeing anything with the code. What happens if you make changes to an individual keyword instead of trying to make change from the ACP -> Geek Auto-Linker -> Display page? Maybe you have a lot of keywords whereby you are running out of allowable queries.
Wenn ich die einzeln Speichere geht es ohne Probleme, über Display übersicht eben nicht!

Gruß
Delazar

Morgan
02-24-2008, 10:21 AM
Grab the GAL package again and FTP the following file, overwriting the one on the server, and see if that has any effect:

/forum/geek/gal/includes/gal_class_admin.php

Delazar
02-24-2008, 01:00 PM
Grab the GAL package again and FTP the following file, overwriting the one on the server, and see if that has any effect:

/forum/geek/gal/includes/gal_class_admin.php


Leider immer noch das gleiche Problem :(
Ich habe zur zeit 100 Keywörter. Davon, die ersten 78 gehen und die restliche 22 nicht. Ich habe auch keine doppelte Keywörter.

Gruß
Delazar

Morgan
02-26-2008, 11:03 PM
In the gal_admin.php file find:

foreach($catid AS $key => $value)

And beforehand add the following:

echo "<br /><br />\n\nCATID<br /><br />\n\n";
print_r($catid);
echo "<br /><br />\n\nASGAL<br /><br />\n\n";
print_r($asgal);
echo "<br /><br />\n\nDCATID<br /><br />\n\n";
print_r($dcatid);
echo "<br /><br />\n\nASDIC<br /><br />\n\n";
print_r($asdic);
echo "<br /><br />\n\nSTATUS<br /><br />\n\n";
print_r($status);
echo "<br /><br />\n\nDELIT<br /><br />\n\n";
print_r($delit);
exit();

Then go to save and copy-paste here what you see on screen.

Afterwards you can remove that edit.

Delazar
02-27-2008, 06:15 AM
Hier die Ausgabe:

CATID

Array ( [88] => 1 [115] => 1 [63] => 1 [46] => 1 [27] => 1 [48] => 1 [66] => 1 [96] => 1 [108] => 1 [3] => 1 [29] => 1 [68] => 1 [64] => 1 [91] => 1 [61] => 1 [47] => 1 [52] => 1 [45] => 1 [53] => 1 [40] => 1 [39] => 1 [49] => 1 [50] => 1 [51] => 1 [62] => 1 [67] => 1 [28] => 1 [106] => 1 [107] => 1 [37] => 1 [36] => 1 [105] => 1 [69] => 1 [110] => 1 [90] => 1 [55] => 1 [31] => 1 [109] => 1 [2] => 1 [89] => 1 [73] => 1 [70] => 1 [72] => 1 [71] => 1 [65] => 1 [93] => 1 [112] => 1 [34] => 1 [33] => 1 [94] => 1 [111] => 1 [92] => 1 [25] => 1 [60] => 1 [59] => 1 [57] => 1 [58] => 1 [78] => 1 [80] => 1 [104] => 2 [7] => 3 [101] => 4 [95] => 4 [10] => 4 [100] => 4 [8] => 4 [12] => 4 [97] => 4 [6] => 4 [102] => 4 [5] => 4 [54] => 4 [42] => 4 [11] => 4 [9] => 4 [44] => 4 [85] => 4 [82] => 4 [84] => 4 [15] => 4 [81] => 4 [83] => 4 [99] => 4 [43] => 4 [20] => 5 [18] => 5 [16] => 5 [19] => 5 [114] => 5 [116] => 5 )

ASGAL

Array ( [88] => 1 [115] => 1 [63] => 1 [46] => 1 [27] => 1 [48] => 1 [66] => 1 [96] => 1 [108] => 1 [3] => 1 [29] => 1 [68] => 1 [64] => 1 [91] => 1 [61] => 1 [47] => 1 [52] => 1 [45] => 1 [53] => 1 [40] => 1 [39] => 1 [49] => 1 [50] => 1 [51] => 1 [62] => 1 [67] => 1 [28] => 1 [106] => 1 [107] => 1 [37] => 1 [36] => 1 [105] => 1 [69] => 1 [110] => 1 [90] => 1 [55] => 1 [31] => 1 [109] => 1 [2] => 1 [89] => 1 [73] => 1 [70] => 1 [72] => 1 [71] => 1 [65] => 1 [93] => 1 [112] => 1 [34] => 1 [33] => 1 [94] => 1 [111] => 1 [92] => 1 [25] => 1 [60] => 1 [59] => 1 [57] => 1 [58] => 1 [78] => 1 [80] => 1 [104] => 1 [7] => 1 [101] => 1 [95] => 1 [10] => 1 [100] => 1 [8] => 1 [12] => 1 [97] => 1 [6] => 1 [102] => 1 [5] => 1 [54] => 1 [42] => 1 [11] => 1 [9] => 1 [44] => 1 [85] => 1 [82] => 1 [84] => 1 [15] => 1 [87] => 1 [13] => 1 [113] => 1 [98] => 1 [86] => 1 [23] => 1 [22] => 1 [21] => 1 [24] => 1 [17] => 1 [103] => 1 )

DCATID

Array ( [88] => 1 [115] => 1 [63] => 1 [46] => 1 [27] => 1 [48] => 1 [66] => 1 [96] => 1 [108] => 1 [3] => 1 [29] => 1 [68] => 1 [64] => 1 [91] => 1 [61] => 1 [47] => 1 [52] => 1 [45] => 1 [53] => 1 [40] => 1 [39] => 1 [49] => 1 [50] => 1 [51] => 1 [62] => 1 [67] => 1 [28] => 1 [106] => 1 [107] => 1 [37] => 1 [36] => 1 [105] => 1 [69] => 1 [110] => 1 [90] => 1 [55] => 1 [31] => 1 [109] => 1 [2] => 1 [89] => 1 [73] => 1 [70] => 1 [72] => 1 [71] => 1 [65] => 1 [93] => 1 [112] => 1 [34] => 1 [33] => 1 [94] => 1 [111] => 1 [92] => 1 [25] => 1 [60] => 1 [59] => 1 [57] => 1 [58] => 1 [78] => 1 [80] => 1 [104] => 2 [7] => 1 [101] => 6 [95] => 6 [10] => 6 [100] => 6 [8] => 6 [12] => 6 [97] => 6 [6] => 6 [102] => 6 [5] => 6 [54] => 6 [42] => 6 [11] => 6 [9] => 6 [44] => 6 [85] => 6 [82] => 6 [84] => 6 [15] => 6 [81] => 6 [83] => 6 [99] => 6 [43] => 6 [20] => 7 [18] => 7 [16] => 7 [19] => 7 [114] => 7 [116] => 7 )

ASDIC

Array ( [88] => 1 [115] => 1 [63] => 1 [46] => 1 [27] => 1 [48] => 1 [66] => 1 [96] => 1 [108] => 1 [3] => 1 [29] => 1 [68] => 1 [64] => 1 [91] => 1 [61] => 1 [47] => 1 [52] => 1 [45] => 1 [53] => 1 [40] => 1 [39] => 1 [49] => 1 [50] => 1 [51] => 1 [62] => 1 [67] => 1 [28] => 1 [106] => 1 [107] => 1 [37] => 1 [36] => 1 [105] => 1 [69] => 1 [110] => 1 [90] => 1 [55] => 1 [31] => 1 [109] => 1 [2] => 1 [89] => 1 [73] => 1 [70] => 1 [72] => 1 [71] => 1 [65] => 1 [93] => 1 [112] => 1 [34] => 1 [33] => 1 [94] => 1 [111] => 1 [92] => 1 [25] => 1 [60] => 1 [59] => 1 [57] => 1 [58] => 1 [78] => 1 [80] => 1 [104] => 1 [7] => 1 [101] => 1 [95] => 1 [10] => 1 [100] => 1 [8] => 1 [12] => 1 [97] => 1 [6] => 1 [102] => 1 [5] => 1 [54] => 1 [42] => 1 [11] => 1 [9] => 1 [44] => 1 [85] => 1 [82] => 1 [84] => 1 [87] => 1 [13] => 1 [113] => 1 [98] => 1 [86] => 1 [23] => 1 [22] => 1 [21] => 1 [24] => 1 [17] => 1 [103] => 1 )

STATUS

Array ( [88] => 1 [115] => 1 [63] => 1 [46] => 1 [27] => 1 [48] => 1 [66] => 1 [96] => 1 [108] => 1 [3] => 1 [29] => 1 [68] => 1 [64] => 1 [91] => 1 [61] => 1 [47] => 1 [52] => 1 [45] => 1 [53] => 1 [40] => 1 [39] => 1 [49] => 1 [50] => 1 [51] => 1 [62] => 1 [67] => 1 [28] => 1 [106] => 1 [107] => 1 [37] => 1 [36] => 1 [105] => 1 [69] => 1 [110] => 1 [90] => 1 [55] => 1 [31] => 1 [109] => 1 [2] => 1 [89] => 1 [73] => 1 [70] => 1 [72] => 1 [71] => 1 [65] => 1 [93] => 1 [112] => 1 [34] => 1 [33] => 1 [94] => 1 [111] => 1 [92] => 1 [25] => 1 [60] => 1 [59] => 1 [57] => 1 [58] => 1 [78] => 1 [80] => 1 [104] => 1 [7] => 1 [101] => 1 [95] => 1 [10] => 1 [100] => 1 [8] => 1 [12] => 1 [97] => 1 [6] => 1 [102] => 1 [5] => 1 [54] => 1 [42] => 1 [11] => 1 [9] => 1 [44] => 1 [85] => 1 [82] => 1 [84] => 1 [15] => 1 [81] => 1 [83] => 1 [99] => 1 [43] => 1 [20] => 1 [18] => 1 [16] => 1 [19] => 1 [114] => 1 [116] => 1 )

DELIT

Array ( )

Und danke für deine Mühe

Gruß
Delazar

Morgan
02-28-2008, 09:29 PM
How many keywords to you have again? I count 90 from the content in post eleven. Also, what is post_max_size set to on your PHP info page?

Delazar
02-29-2008, 06:13 AM
Folgende Daten.

Keywords: 100
post_max_size: 80MB

Gruß
Delazar

Morgan
03-02-2008, 04:51 AM
Pfft, I'm out of ideas. If you want me to investigate further, PM me both FTP login information and admin level ACP access.

Morgan
03-02-2008, 01:18 PM
There doesn't seem to be any rhyme or reason to it. I've looked at the code, ran some tests, but don't see the problem. The code looks fine so IMO there might be some server setting that is limiting the amount of data that can be posted. Perhaps LimitRequestBody, LimitRequestFields, LimitRequestFieldSize, LimitRequestLine and/or possibly some other server settings. Even when $_POST data is echoed to the screen, not all key/value pairs are present. Shoot your host and/or sysadmin an email, asking them why $_POST data is truncated, as server administration is not my area of expertise.

Delazar
03-02-2008, 02:43 PM
Ok Danke erstmal.

Ich habe dem Admin eine Mail geschrieben.
Wenn ich die Lösung habe, werde ich hier Posten damit die Anderen es leichter haben.

Gruß
Delazar

Delazar
03-03-2008, 10:27 AM
ok.
Nachdem ich die Werte von "suhosin.ini" verdoppelt habe, läuft es jetzt ohne Probleme.

Gruß
Delazar