Hi Adnan.
Sorry i have read the thread wrong, here are the table you ask for.
--
-- Struktur-dump for tabellen `fusion_photos`
--
DROP TABLE IF EXISTS `fusion_photos`;
CREATE TABLE IF NOT EXISTS `fusion_photos` (
`photo_id` smallint(5) unsigned NOT NULL auto_increment,
`album_id` smallint(5) unsigned NOT NULL default '0',
`photo_title` varchar(100) NOT NULL default '',
`photo_description` text NOT NULL,
`photo_filename` varchar(100) NOT NULL default '',
`photo_thumb1` varchar(100) NOT NULL default '',
`photo_thumb2` varchar(100) NOT NULL default '',
`photo_datestamp` int(10) unsigned NOT NULL default '0',
`photo_user` smallint(5) unsigned NOT NULL default '0',
`photo_views` smallint(5) unsigned NOT NULL default '0',
`photo_order` smallint(5) unsigned NOT NULL default '0',
`photo_allow_comments` tinyint(1) unsigned NOT NULL default '1',
`photo_allow_ratings` tinyint(1) unsigned NOT NULL default '1',
PRIMARY KEY (`photo_id`)
) TYPE=MyISAM AUTO_INCREMENT=18 ;
--
-- Data dump for tabellen `fusion_photos`
--
INSERT INTO `fusion_photos` (`photo_id`, `album_id`, `photo_title`, `photo_description`, `photo_filename`, `photo_thumb1`, `photo_thumb2`, `photo_datestamp`, `photo_user`, `photo_views`, `photo_order`, `photo_allow_comments`, `photo_allow_ratings`) VALUES
(8, 16, 'IMG5.JPG', '', 'IMG5.JPG', 'img5_t1.jpg', '', 1174246189, 1, 0, 5, 1, 1),
(14, 12, '247', '', '247_portal.jpg', '247_portal_t1.jpg', '247_portal_t2.jpg', 1174246306, 1, 0, 1, 1, 1),
(10, 16, 'IMG3.JPG', '', 'IMG3.JPG', 'img3_t1.jpg', '', 1174246190, 1, 0, 4, 1, 1),
(11, 16, 'IMG2.JPG', '', 'IMG2.JPG', 'img2_t1.jpg', '', 1174246190, 1, 0, 3, 1, 1),
(12, 16, 'IMG1.JPG', '', 'IMG1.JPG', 'img1_t1.jpg', '', 1174246190, 1, 0, 2, 1, 1),
(13, 16, 'IMG0.JPG', '', 'IMG0.JPG', 'img0_t1.jpg', 'img0_t2.jpg', 1174246190, 1, 0, 1, 1, 1),
(16, 12, '248', '', '248.jpg', '248_t1.jpg', '248_t2.jpg', 1174246342, 1, 0, 2, 1, 1),
(17, 12, 'Aphrodite', '', 'aphrodite.jpg', 'aphrodite_t1.jpg', 'aphrodite_t2.jpg', 1174246387, 1, 0, 3, 1, 1);
I have include the insert into and there i can se the error (wht havent i look for this before?) Silly me.
When i upload the fotos some files dosn't become a photo_thumb2
why i dont know, and when i changes taht in my DB and makes the files i work just great..
could the error be placed i the images? or do i have to look in the admin/photo.
I can see that the rights on some files when upload are 644 and some are 755..
Edited by offenbach on 19-03-2007 05:56 |