Modul catGallery - Upload Galerie

Addons, die speziell für BlackCat CMS entwickelt wurden/werden
Benutzeravatar
creativecat
Beiträge: 1430
Registriert: Mi 6. Feb 2013, 12:41
Kontaktdaten:

Modul catGallery - Upload Galerie

Beitrag von creativecat »

Ich habe nun auch catGallery komplett überarbeitet und schon mal auf eine Klassen class.catgallery.php umgestellt.

Würde mich wieder über Tests freuen (diesmal bevor ich die 1.0 rausgebe ;-) ):
https://github.com/BlackCatDevelopment/ ... lackCatCMS

Bei mir funktioniert aktuell alles einwandfrei, aber man weiß ja nie :oops:

Mit der 1.1 könnte es noch Probleme geben, da genau wie bei MultiColumn noch einmalig mysql_real_escape_string genutzt wird. Ich muss mir dafür zunächst noch die neue Datenbank-Klasse anschauen und dann werde ich beide Module dazu kompatibel machen.

Ansonsten steht nun aber die Struktur und nach dieser Veröffentlichung sind auch in Zukunft Updates möglich.

Genau wie bei MultiColumn kann catGallery auch schon mit Modul Varianten. Hier habe ich auch schon mal eine weitere simple eingepflegt.
Benutzeravatar
Morpheus
Beiträge: 1050
Registriert: Do 8. Aug 2013, 10:49
Kontaktdaten:

Re: Modul catGallery - Upload Galerie

Beitrag von Morpheus »

Code: Alles auswählen

Würde mich wieder über Tests freuen (diesmal bevor ich die 1.0 rausgebe ;-) ):
Jawohl ;)

Guckst Du mein Testsystem, Daten hast Du ja ;)

- Bilder verschoben in anderen Templates

Frage:
Wie bekommt man den weißen Textkasten weg, wenn man nix da haben will? (immer im ersten Bild!)
Keiner ist unnütz, er kann immer noch als schlechtes Beispiel dienen!
Benutzeravatar
creativecat
Beiträge: 1430
Registriert: Mi 6. Feb 2013, 12:41
Kontaktdaten:

Re: Modul catGallery - Upload Galerie

Beitrag von creativecat »

Jetzt sollte es klappen, oder?
Benutzeravatar
Morpheus
Beiträge: 1050
Registriert: Do 8. Aug 2013, 10:49
Kontaktdaten:

Re: Modul catGallery - Upload Galerie

Beitrag von Morpheus »

Jepp, und was war´s?

Problem vor der Tastatur? :mrgreen:
Keiner ist unnütz, er kann immer noch als schlechtes Beispiel dienen!
Benutzeravatar
creativecat
Beiträge: 1430
Registriert: Mi 6. Feb 2013, 12:41
Kontaktdaten:

Re: Modul catGallery - Upload Galerie

Beitrag von creativecat »

Ne, da waren ein paar Definitionen im CSS bzw im JS, die nicht perfekt waren ;-)

zB war ein margin-top: -2em gesetzt und ähnliches ;-)

Das sind ja meist eigentlich vereinfachte Templates, die ich irgendwo schon so ähnlich verwendet habe... manchmal bleibt da dann doch noch Müll über, den ich dann erst noch entfernen muss ;-)
Benutzeravatar
florian
Beiträge: 75
Registriert: Mo 12. Aug 2013, 09:47
Wohnort: Leipzig
Kontaktdaten:

Re: Modul catGallery - Upload Galerie

Beitrag von florian »

Hallo,

mit BC 1.1 funktioniert das Modul leider nicht.

Installation klappt noch, aber dann: Neue Seite vom Typ catGallery anlegen wirft eine Riesenfehlermeldung:
Uncaught AJAX Error.
<br />
<b>Warning</b>: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): A link to the server could not be established in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): A link to the server could not be established in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): A link to the server could not be established in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): A link to the server could not be established in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): A link to the server could not be established in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): A link to the server could not be established in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): A link to the server could not be established in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): A link to the server could not be established in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): A link to the server could not be established in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): A link to the server could not be established in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): A link to the server could not be established in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): A link to the server could not be established in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): A link to the server could not be established in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): A link to the server could not be established in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): A link to the server could not be established in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string(): A link to the server could not be established in <b>/var/.../modules/cc_catgallery/class.catgallery.php</b> on line <b>847</b><br />
{"message":"Seite wurde erfolgreich angelegt","url":"\/\/...\/backend\/pages\/modify.php?page_id=13","success":true}
Die SEite wird dann zwar trotzdem angelegt, aber sobald diese zum Bearbeiten angeklickt wird, verschwindet oben die Symbolleiste, stattdessen steht dort
Warning: Illegal string offset 'section_id' in /.../modules/cc_catgallery/class.catgallery.php on line 129
Im Bearbeitungsfenster rechts
Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /var/.../modules/cc_catgallery/class.catgallery.php on line 847

Warning: mysql_real_escape_string(): A link to the server could not be established in /var/.../modules/cc_catgallery/class.catgallery.php on line 847

Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /var/.../modules/cc_catgallery/class.catgallery.php on line 847

Warning: mysql_real_escape_string(): A link to the server could not be established in /var/.../modules/cc_catgallery/class.catgallery.php on line 847

Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /var/.../modules/cc_catgallery/class.catgallery.php on line 847

Warning: mysql_real_escape_string(): A link to the server could not be established in /var/.../modules/cc_catgallery/class.catgallery.php on line 847
Na, und wenn dann trotzdem Bilder hinzufügen und hochladen geklickt wird, isses endgültig vorbei... siehe Screenshot :shock:

Das ist insofern ungünstig, alsdass damit die Auswahl an wirklich uneingeschränkt funktionierenden Galeriemodulen für BC - hm - überschaubar ist... zumal die WB-FolderGallery 1.21 und die MiniGallery auch nicht wirklich rund laufen :(
Dateianhänge
2014-12-04_184937.jpg
2014-12-04_184937.jpg (357.47 KiB) 8074 mal betrachtet
Benutzeravatar
creativecat
Beiträge: 1430
Registriert: Mi 6. Feb 2013, 12:41
Kontaktdaten:

Re: Modul catGallery - Upload Galerie

Beitrag von creativecat »

Ja, das sind Funktionen, die von PHP nicht mehr unterstützt werden. Ich muss da dringend mal drüber! Aber die Zeit *heul*
Ich werde am Wochenende einen Hoffix raushauen ;-)
Benutzeravatar
shadowcat
Administrator
Beiträge: 5283
Registriert: Di 5. Feb 2013, 10:36
Kontaktdaten:

Re: Modul catGallery - Upload Galerie

Beitrag von shadowcat »

Die blackGallery steht als nächstes auf meiner ToDo-Liste.
My software never has bugs, it just develops random features.
If it’s not broken, keep fixing it until it is
Benutzeravatar
creativecat
Beiträge: 1430
Registriert: Mi 6. Feb 2013, 12:41
Kontaktdaten:

Re: Modul catGallery - Upload Galerie

Beitrag von creativecat »

Wer testen möchte, hier eine aktuelle Version:
Idealerweise zunächst neu installieren (update.php fehlt noch und es muss mindestens eine Attribut in der Datenbank angepasst werden).

Sollte alle oben genannten Fehler eigentlich ausmerzen und einwandfrei mit 1.1 arbeiten. Allerdings hatte ich noch wenig Zeit zum Testen.
Dateianhänge
catGallery_for_BlackCatCMS-master.zip
(123.81 KiB) 246-mal heruntergeladen
Benutzeravatar
Morpheus
Beiträge: 1050
Registriert: Do 8. Aug 2013, 10:49
Kontaktdaten:

Re: Modul catGallery - Upload Galerie

Beitrag von Morpheus »

Getestet, aber nicht weit gekommen ;)

- Installation -> OK
- Seite erstellen kommt mit folgender Optimierungsbeschreibung:

Code: Alles auswählen

Internal Server Error [500].

Aus der Nummer kommt man auch nicht mehr mit OK klicken raus!
Nach aktuallisieren der Seite ist die Seite aber trotzdem angelegt.
- beim hochladen eines Bildes bekommt man dann:

Code: Alles auswählen

Es ist leider ein Problem beim Bearbeiten Ihrer Anfrage aufgetreten!

Fehlermeldung:
Es wurde keine gültige ID übermittelt.

Wir bitten um Entschuldigung! 
Mehr konnte ich dann nicht testen. ;)

Umgebung ist eine frische Blackcat 1.1 mit angepasster Path-Angabe in der config.php
Keiner ist unnütz, er kann immer noch als schlechtes Beispiel dienen!
Antworten