Page 13 of 26

Re: [REL] Gallery Block 1.2.2

Posted: 8. January 2009 11:08
by rudolfpietersma
When I click "Start" under install_gb/install.php nothing happens?

Re: [REL] Gallery Block 1.2.2

Posted: 8. January 2009 11:13
by rudolfpietersma
rudolfpietersma wrote:When I click "Start" under install_gb/install.php nothing happens?
Ooops, I'm stupid. I had to click on Install on the right :oops:

Rudolf.

Re: [REL] Gallery Block 1.2.2

Posted: 8. January 2009 11:21
by rudolfpietersma
So I installed the block. When I go to the portal page I get this:

Code: Select all

SQL ERROR [ mysqli ]

Unknown column 'i.image_reported' in 'where clause' [1054]

SQL

SELECT i.*, a.album_name, a.album_id, a.album_user_id FROM phpbb_gallery_images i LEFT JOIN phpbb_gallery_albums a ON i.image_album_id = a.album_id WHERE (i.image_album_id IN ('2', '8', '3', '4', '5', '6', '7', '12', '11', '10', '9', '13') AND i.image_status = 1 AND i.image_reported = 0) GROUP BY i.image_id ORDER BY i.image_time DESC LIMIT 1

BACKTRACE


FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/db/mysqli.php
LINE: 205
CALL: dbal_mysqli->sql_query()

FILE: includes/db/dbal.php
LINE: 170
CALL: dbal_mysqli->_sql_query_limit()

FILE: portal/includes/functions_album.php
LINE: 171
CALL: dbal->sql_query_limit()

FILE: portal/block/album.php
LINE: 42
CALL: gallery_images_block()

FILE: portal.php
LINE: 245
CALL: include('portal/block/album.php')

Re: [REL] Gallery Block 1.2.2

Posted: 8. January 2009 11:24
by rudolfpietersma
And when I unstall the Gallery Block MOD the Portal works perfectly again.

Re: [REL] Gallery Block 1.2.2

Posted: 8. January 2009 18:36
by Christian_N
Sorry for my bad English. :oops:
@jotne: For me it works without any problems, see here: http://www.phpbb-projekt.de/ or here: http://www.chantals-fanpage.de/ both with Gallery 0.4.1 and 1.2.2 Block Gallery.
On the testpage, it works with Gallery 0.4.2 and 1.2.3 Block Gallery, see: http://area51.phpbb-projekt.de/
So there can be no error in the moment reproduce. :roll:

@rudolfpietersma: Gallery Which version do you have installed?
If not the current, then upgrade to v0.4.1 then it should work without problems.

Greetings Chris

Re: [REL] Gallery Block 1.2.2

Posted: 8. January 2009 19:04
by jotne
It did work for me to, but something broke and I did have to reinstall a backup of the files, and now I can not get it to work anymore.
So for me it seems that some stuff are still around after uninstall.

Re: [REL] Gallery Block 1.2.2

Posted: 9. January 2009 14:39
by rudolfpietersma
Christian_N wrote:Sorry for my bad English. :oops:
@jotne: For me it works without any problems, see here: http://www.phpbb-projekt.de/ or here: http://www.chantals-fanpage.de/ both with Gallery 0.4.1 and 1.2.2 Block Gallery.
On the testpage, it works with Gallery 0.4.2 and 1.2.3 Block Gallery, see: http://area51.phpbb-projekt.de/
So there can be no error in the moment reproduce. :roll:

@rudolfpietersma: Gallery Which version do you have installed?
If not the current, then upgrade to v0.4.1 then it should work without problems.

Greetings Chris
OK I upgraded to 0.4.1, install went succesfully.
But now my Gallery has all red crosses and no images.

http://prikbord.ilovebrasil.com

Re: [REL] Gallery Block 1.2.2

Posted: 10. January 2009 01:24
by Christian_N
@jotne: Because of the blank page.
Attempts times in the portal/block/album.php the code

Code: Select all

if (!defined('IN_PHPBB') or !defined('IN_PORTAL'))
{
	exit;
}
to replace with this

Code: Select all

if (!defined('IN_PHPBB'))
{
	exit;
}

if (!defined('IN_PORTAL'))
{
	exit;
}

Does it work? :roll:

@rudolfpietersma:
Because also in the gallery does not appear, it is rather a problem of the Gallery MODs.
Please make your question on nickvergessen's site: http://www.flying-bits.org/viewforum.php?f=77

Greetings Chris

Re: [REL] Gallery Block 1.2.2

Posted: 11. January 2009 12:42
by jotne
@Christian_N

Page is still blank
Is there a way to degug this and see where it stops?

http://www.moldeck.no/index.php do still work
http://www.moldeck.no/portal.php (default page) gives only blank.

Block wird nicht angezeigt

Posted: 11. January 2009 13:07
by traveller23
Hallo zusammen,

Ich bin gerade dabei ein Portal für unseren Radclub zu erstellen. Ich hab die aktuelle phpbb3 Version und eine Galerie (die von nickvergessen) installiert. Im Forum wird diese auch angezeigt.

http://www.shiatsupeter.at/forum/phpBB3/portal.php

Jetzt hab ich den Gallery Block 1.2.2 installiert, das hat auch alles geklappt. Im ACP kann ich auch alle Einstellungen vornehmen. Aber es wird auf der Portalseite kein Block angezeigt. Ich hab zwar schon alles gecheckt, und es sollte auch funktionieren, aber wahrscheinlich ist es nur eine Kleinigkeit die ich übersehen habe.

Woran könnte das liegen? Bei welcher Datei soll ich nochmals genau schauen?

Danke!

Re: [REL] Gallery Block 1.2.2

Posted: 11. January 2009 13:15
by rudolfpietersma
Christian_N wrote:@rudolfpietersma:
Because also in the gallery does not appear, it is rather a problem of the Gallery MODs.
Please make your question on nickvergessen's site: http://www.flying-bits.org/viewforum.php?f=77

Greetings Chris
Tnx Chris,
Just to inform you. When I upgraded I missed the part to copy the images over to the "new" folders. It's working now!!

Cheers,
Rudolf.

Re: [REL] Gallery Block 1.2.2

Posted: 11. January 2009 13:37
by Christian_N
@jotne: Sorry, I can not continue to help as a blank page it is difficult to find the mistake. :-(

@traveller23: Du hast noch nicht mal das Portal richtig installiert, zu erkennen an die seitlichen Boxen, es sollte eigentlich so aussehen: portal.php?style=1
Bitte gehe vom Portal die Anleitung noch mal Schritt für Schritt durch und prüfe ob alle Änderungen gemacht hast und auch hochgeladen hast, danach nochmal die vom Gallery Block. Ganz zum schluß damit die Änderungen auch übernommen werden, nicht vergessen den Cache zu leeren im ACP, siehe KB: knowledge/kb_show.php?style=1&id=29

@rudolf: I'm pleased that it now works. :-)

Re: [REL] Gallery Block 1.2.2

Posted: 11. January 2009 14:55
by traveller23
Habs grad gemerkt, war eh ein bisserl komisch, das es so "clean" aussah, sieht aber gar ned so schlecht aus. :) Danke!

Hab auch tatsächlich beim nochmaligen Überpürfen der Portaldateiänderungen was gefunden und grad hochgespielt. Allerdings hat sich in der Portalanzeige noch nichts geändert, cache etc. hab ich erneuert.
Muß ich nochmals installieren? Und wenn ja, muß ich dazu das "alte" Modul vorher löschen?

Edit: Das Portalproblem dürfte gelöst sein, die stylesheet.css wurde im theme komischerweise beim hochladen nicht übernommen. (sicher 20mal probiert) durch löschen und wiederraufladen hats dann geklappt. Ich vermutet das das mit dem Gallery_block auch so ist. Ich such mal. :)

Re: [REL] Gallery Block 1.2.2

Posted: 11. January 2009 16:04
by traveller23
Klappt jetzt wunderbar! Problem lag an meinem Webserver, der die einzelne Dateien beim hochladen nicht überschrieben hat.

Danke für eure Hilfen, es ist immerwieder unglaublich auf was man alles achten muß beim Website rumbastln. :D

Re: [REL] Gallery Block 1.2.2

Posted: 11. January 2009 16:30
by jotne
It is this line that makes the trouble:

Code: Select all

include($phpbb_root_path . 'portal/block/album.'.$phpEx);
If I add only this in portal.php it goes blank.

Where do this file point and what does it do.
Is there a way to edit this and make it shorter to find whats wrong.