Seite 174 von 343

Verfasst: 25.12.2008 14:53
von Dinseprinz
nickvergessen hat geschrieben:mach doch einfach nen Bugreport.
...habe ich doch glatt mal gemacht. :wink:

Verfasst: 27.12.2008 03:04
von schustrik
wenn ich bilder im ACP hochladen will bekomme ich folgende fehlermeldung

Code: Alles auswählen

SQL ERROR [ mysqli ]

Duplicate entry '2' for key 1 [1062]

SQL

INSERT INTO phpbb_gallery_users (user_id, user_images) VALUES (2, 0)

BACKTRACE

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

FILE: includes/acp/acp_gallery.php
LINE: 396
CALL: dbal_mysqli->sql_query()

FILE: includes/acp/acp_gallery.php
LINE: 90
CALL: acp_gallery->import()

FILE: includes/functions_module.php
LINE: 507
CALL: acp_gallery->main()

FILE: adm/index.php
LINE: 75
CALL: p_master->load_active()
kann mir da jemand helfen?

Verfasst: 27.12.2008 03:13
von schustrik
und wenn ich bilder im forum hochlade bekomme ich folgende meldung und die bilder tauchen auch nciht in der galley auf

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file /gallery/posting.php on line 482: move_uploaded_file(../GALLERY_ROOT_PATHimages/upload/5526503759c6786e86de187231dac5c3.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /gallery/posting.php on line 482: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpVjKBYS' to '../GALLERY_ROOT_PATHimages/upload/5526503759c6786e86de187231dac5c3.jpg'
[phpBB Debug] PHP Notice: in file /gallery/posting.php on line 485: getimagesize(../GALLERY_ROOT_PATHimages/upload/5526503759c6786e86de187231dac5c3.jpg) [function.getimagesize]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /gallery/posting.php on line 502: imagecreatefromjpeg(../GALLERY_ROOT_PATHimages/upload/5526503759c6786e86de187231dac5c3.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /gallery/posting.php on line 548: filesize() [function.filesize]: stat failed for ../GALLERY_ROOT_PATHimages/upload/5526503759c6786e86de187231dac5c3.jpg
[phpBB Debug] PHP Notice: in file /gallery/posting.php on line 558: imagecreatefromjpeg(../GALLERY_ROOT_PATHimages/upload/5526503759c6786e86de187231dac5c3.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web32/html/phpBB3/includes/functions.php:3184) in /home/www/web32/html/phpBB3/includes/functions.php on line 3765

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web32/html/phpBB3/includes/functions.php:3184) in /home/www/web32/html/phpBB3/includes/functions.php on line 3767

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web32/html/phpBB3/includes/functions.php:3184) in /home/www/web32/html/phpBB3/includes/functions.php on line 3768

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web32/html/phpBB3/includes/functions.php:3184) in /home/www/web32/html/phpBB3/includes/functions.php on line 3769


Verfasst: 27.12.2008 12:41
von nickvergessen
Sieht so aus, als hast du nciht alle Dateien vollständig editiert:

Code: Alles auswählen

move_uploaded_file(../GALLERY_ROOT_PATH

Das andere muss ich mir nochmal genauer angucken, sieht so aus, als würdest du kein Bild zum hochladen ausgewählt haben?

Verfasst: 27.12.2008 15:53
von schustrik
nickvergessen hat geschrieben:Sieht so aus, als hast du nciht alle Dateien vollständig editiert:

Code: Alles auswählen

move_uploaded_file(../GALLERY_ROOT_PATH

Das andere muss ich mir nochmal genauer angucken, sieht so aus, als würdest du kein Bild zum hochladen ausgewählt haben?
ich babe alle dateien so editiert wie in der anleitung nur habe ich in der datei viewonline.php diese zeile nicht gefunden

Code: Alles auswählen

		case 'report':
			$location = $user->lang['REPORTING_POST'];
			$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
		break;
und dann habe ich nach diesen zeilen

Code: Alles auswählen

case 'index':
                        $location = $user->lang['INDEX'];
                        $location_url = append_sid("{$phpbb_root_path}index.$phpEx");
                break;
diesen code eingefügt

Code: Alles auswählen

		case $gallery_root_path:
			$location = $user->lang['GALLERY'];
			$location_url = append_sid("{$phpbb_root_path}{$gallery_root_path}index.$phpEx");

			@$album_data[0]['album_name'];
			$album_id = $row['session_album_id'];

			preg_match('#^([a-z/]+)#i', $row['session_page'], $gallery_page);
			if ($album_id && gallery_acl_check('i_view', $album_id))
			{
				switch ($gallery_page[1])
				{
					case $gallery_root_path . 'album':
						$location_url = append_sid("{$phpbb_root_path}{$gallery_root_path}album.$phpEx", 'album_id=' . $album_id);
						$location = sprintf($user->lang['VIEWING_ALBUM'], $album_data[$album_id]['album_name']);
					break;
					case $gallery_root_path . 'image_page':
					case $gallery_root_path . 'image':
						$location_url = append_sid("{$phpbb_root_path}{$gallery_root_path}album.$phpEx", 'album_id=' . $album_id);
						$location = sprintf($user->lang['VIEWING_IMAGE'], $album_data[$album_id]['album_name']);
					break;
					case $gallery_root_path . 'posting':
						preg_match('#mode=([a-z]+)#', $row['session_page'], $on_page);
						$on_page = (sizeof($on_page)) ? $on_page[1] : '';

						switch ($on_page)
						{
							case 'comment':
								$location = sprintf($user->lang['COMMENT_IMAGE'], $album_data[$album_id]['album_name']);
							break;

							default:
								$location = sprintf($user->lang['VIEWING_ALBUM'], $album_data[$album_id]['album_name']);

							break;
						}
						$location_url = append_sid("{$phpbb_root_path}{$gallery_root_path}album.$phpEx", 'album_id=' . $album_id);
					break;
				}
			}
			else
			{
				preg_match('#mode=([a-z]+)#', $row['session_page'], $on_page);
				$on_page = (sizeof($on_page)) ? $on_page[1] : '';
				if (($on_page == 'personal') && (gallery_acl_check('i_view', '-3')))
				{
					$location = $user->lang['PERSONAL_ALBUMS'];
					$location_url = append_sid("{$phpbb_root_path}{$gallery_root_path}index.$phpEx", 'mode=personal');
				}
			}
		break;

und bilder habe ich ausgewählt zum hochladen
wenn ich nun im ACP unter MODs Bilder Importieren anklicke bekomme ich folgende fehlermeldung

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file /includes/acp/acp_gallery.php on line 149: opendir(./../GALLERY_ROOT_PATHimages/import/) [function.opendir]: failed to open dir: No such file or directory
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gallery.php on line 151: readdir(): supplied argument is not a valid Directory resource
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gallery.php on line 164: closedir(): supplied argument is not a valid Directory resource
[phpBB Debug] PHP Notice: in file /adm/index.php on line 151: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 155: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)

nun bin ich etwas ratlos :oops: :cry:

Verfasst: 27.12.2008 16:47
von nickvergessen
in der includes/constants.php fehlt anscheinend was.

Verfasst: 27.12.2008 16:53
von schustrik
nickvergessen hat geschrieben:in der includes/constants.php fehlt anscheinend was.
ja da hat sich irgendwie dieser code eingeschlichen

Code: Alles auswählen

include_once($phpbb_root_path . 'gallery/includes/constants.' . $phpEx); 
ganz untern unter

Code: Alles auswählen

// Additional tables 
wenn ich nun im ACP bilder Uploade kommt wieder dieser fehler

Code: Alles auswählen

Allgemeiner Fehler
SQL ERROR [ mysqli ]

Duplicate entry '2' for key 1 [1062]

SQL

INSERT INTO phpbb_gallery_users (user_id, user_images) VALUES (2, 0)

BACKTRACE

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

FILE: includes/acp/acp_gallery.php
LINE: 396
CALL: dbal_mysqli->sql_query()

FILE: includes/acp/acp_gallery.php
LINE: 90
CALL: acp_gallery->import()

FILE: includes/functions_module.php
LINE: 507
CALL: acp_gallery->main()

FILE: adm/index.php
LINE: 75
CALL: p_master->load_active()
und wenn ich nun als normaler user bilder hochlade dann kommt kein fehler aber dann steht da

Code: Alles auswählen

Deine hochgeladene Datei ist entweder zu gross oder defekt
hmmmmmm

Verfasst: 28.12.2008 17:49
von schustrik
hab da mal noch ne frage

ich möchte damit meine bider in der gallery auch so aufgehen in einem neuen fenster wie hier

http://www.flying-bits.org/gallery/index.php

wie geht das?

Verfasst: 28.12.2008 18:07
von schustrik
habe noch 2 kleine problemchen :) wäre nett wenn jemand mir helfen könnte,

wenn ich bei mir auf bild bewerten klicke komme ich einfach zu der seite wo ich ein bild komentieren kann , wo kann man den da bewerten?


ich habe im ACP bei gallery einstellungen angeklickt das ich keine bilder anklicken kann und keine exifs angezeigt werden soll aber unter dem bild steht immer noch wie di ebilder heisen usw... kann man es so einrichten das unter denbildern nix steht auser vieleicht BEWERTEN und KOMENTIEREN?

Verfasst: 28.12.2008 18:11
von Dinseprinz
Nabend,

die SlideShow geht, nachdem ein paar neue Bilder hochgeladen wurden schon wieder nicht vernünftig. In Prosilver steht immer "Image 1 von 5" und in Subsilver2 immer "Image 1 von 7".

Ich hatte die Galerie ganz neu aufgesetzt und nun schon wieder das leidige Problem. Oh Mann ich dreh noch durch. :-?