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

phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
...habe ich doch glatt mal gemacht.nickvergessen hat geschrieben:mach doch einfach nen Bugreport.
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()
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
Code: Alles auswählen
move_uploaded_file(../GALLERY_ROOT_PATH
ich babe alle dateien so editiert wie in der anleitung nur habe ich in der datei viewonline.php diese zeile nicht gefundennickvergessen 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?
Code: Alles auswählen
case 'report':
$location = $user->lang['REPORTING_POST'];
$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
break;
Code: Alles auswählen
case 'index':
$location = $user->lang['INDEX'];
$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
break;
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;
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)
ja da hat sich irgendwie dieser code eingeschlichennickvergessen hat geschrieben:in der includes/constants.php fehlt anscheinend was.
Code: Alles auswählen
include_once($phpbb_root_path . 'gallery/includes/constants.' . $phpEx);
Code: Alles auswählen
// Additional tables
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()
Code: Alles auswählen
Deine hochgeladene Datei ist entweder zu gross oder defekt