Page 1 of 1

Album Mod not showing pics (SOLVED)

PostPosted: Fri Feb 16, 2007 8:53 pm
Author: Pogue Moran
Your phpBB Version: 2.0.22
phpBB Type: phpBB / IMPortal
MODs: Yes
Your knowledge: Basic Knowledge
Board URL: http://www.xbox360gamingworld.com/forum2

PHP Version: 5
MySQL Version:


What was done before the problem appeared?
added a few unrelated mods


What was done to try to solve the problem?
Checked chmod on the upload, disabled subcategories, tried deleting cgi-bin for album mod, tried reuploading album files and sqls, cleared the cache, checked GD info. Used the download button and the pics work offline.



De.scription and Message

I've searched the knowledge base, searched the forum tried reuploading the files. Checked the chmod, checked all the usual options. For some reason the pics in the album mod aren't working it just shows a link with no picture even when I click the link or go to larger view. Tried reinstalling sql and files. Having the damnedest luck getting this working correctly. I don't know what changed on it.

Re: Album Mod not showing pics

PostPosted: Sat Feb 17, 2007 8:03 pm
Author: Pogue Moran
Tried uploading new pics still no luck. Album mod works on my site on the boards im currently using without integramod. Don't know whats wrong here.

Re: Album Mod not showing pics

PostPosted: Sat Feb 17, 2007 8:35 pm
Author: Teelk
Are the files actually being uploaded? Check the upload directory and see if there's anything in it. If not, and the CHMODs are correct, then there's an issue with the album uploader itself.

Do you have Nuffload enabled? If so, turn it off and check if uploading works. Also, set Enable Perl uploader to no.

Re: Album Mod not showing pics

PostPosted: Sat Feb 17, 2007 8:40 pm
Author: Pogue Moran
"Teelk";p="22088" wrote:Are the files actually being uploaded? Check the upload directory and see if there's anything in it. If not, and the CHMODs are correct, then there's an issue with the album uploader itself.

Do you have Nuffload enabled? If so, turn it off and check if uploading works. Also, set Enable Perl uploader to no.


That's the problem teelk I've tried all this. I used the download button to download the pics I've uploaded and they open up fine when I extract the zip. Also some of the pics came from my current site I just copied the database insert codes and moved the pics over to the new directory. I've turned off nuffload and still nothing changed. The pics are actually there as I ftped in and saw them but for some reason they're not showing. I had this problem once before and I just overwrote the tpl files with my previous ones from my backups but that isn't working this time.

Re: Album Mod not showing pics

PostPosted: Sat Feb 17, 2007 8:56 pm
Author: Teelk
Ok, so it's not an upload problem. Do you have a link to your site so I can check it out. PM it to me if you don't want it public.

Re: Album Mod not showing pics

PostPosted: Sat Feb 17, 2007 9:19 pm
Author: Teelk
The only thing I can think of is that GD isn't working. Try playing with those settings.

Re: Album Mod not showing pics

PostPosted: Sat Feb 17, 2007 9:44 pm
Author: Pogue Moran
"Teelk";p="22094" wrote:The only thing I can think of is that GD isn't working. Try playing with those settings.


I tried playing with them gd seems to be working fine on my other parallel forum where i use the album mod it just doesnt seem to be working with IM I'll have to keep trying things I dont want to have to replace all my im settings again

Re: Album Mod not showing pics

PostPosted: Sun Feb 18, 2007 1:21 am
Author: Pogue Moran
Teelk its not just me having that problem. I tried going to a personal gallery of a few of the users on this site and this site's photo album isnt even displaying the pics right. Something is very very wrong...

http://www.integramod.com/forum/album.p ... user_id=61

there's an example

Re: Album Mod not showing pics

PostPosted: Sun Feb 18, 2007 11:57 am
Author: Helter
the photos dont exist here. Somehow during one of the updates, the album pics did not get transfered. I just uploaded one to my personal gallery and it works fine

PostPosted: Mon Feb 19, 2007 4:10 am
Author: tmotley
Wow, I tried adding a picture to Jason Sanborn's album assuming it wouldn't let me. It did. There's now an image in Jason Sanborn's album of my head on Rocky Balboa's body and I can't delete it... <img>

PostPosted: Mon Feb 19, 2007 4:13 am
Author: tmotley
However, if I try to view my own album I get this message:

Sorry, the administrators of this board donot allowed you to create your personal gallery

PostPosted: Mon Feb 19, 2007 4:16 am
Author: tmotley
I cannot upload if I use the address:

http://www.integramod.com/forum/album.php?user_id=61

However, I can upload to Jason's album if I use the address:

http://www.integramod.com/forum/album.p ... user_id=61

PostPosted: Mon Feb 19, 2007 5:01 am
Author: tmotley
Okay, a setting must be incorrectly done because I can upload to other users' personal albums by clicking on Simple View. I still can't access my own though.

Re: Album Mod not showing pics

PostPosted: Mon Feb 19, 2007 8:17 am
Author: Pogue Moran
hmm i still have no idea why this isn't working anymore for me all the settings are correct on my site and I've reuploaded the original IM 141 files for the photo album. What are the SQL edits for the album so I can clear the tables and try again?

Re: Album Mod not showing pics

PostPosted: Mon Feb 19, 2007 8:54 am
Author: Helter
these are all im aware of

CREATE TABLE `phpbb_album` (
`pic_id` int(11) unsigned NOT NULL auto_increment,
`pic_filename` varchar(255) NOT NULL default '',
`pic_thumbnail` varchar(255) NULL default '',
`pic_title` varchar(255) NOT NULL default '',
`pic_desc` text,
`pic_user_id` mediumint(8) NOT NULL default '0',
`pic_username` varchar(32) NULL default '',
`pic_user_ip` varchar(8) NOT NULL default '0',
`pic_time` int(11) unsigned NOT NULL default '0',
`pic_cat_id` mediumint(8) unsigned NOT NULL default '1',
`pic_view_count` int(11) unsigned NOT NULL default '0',
`pic_lock` tinyint(3) NOT NULL default '0',
`pic_approval` tinyint(3) NOT NULL default '1',
PRIMARY KEY (`pic_id`),
KEY `pic_cat_id` (`pic_cat_id`),
KEY `pic_user_id` (`pic_user_id`),
KEY `pic_time` (`pic_time`)
);

CREATE TABLE `phpbb_album_cat` (
`cat_id` mediumint(8) unsigned NOT NULL auto_increment,
`cat_title` varchar(255) NOT NULL default '',
`cat_desc` text,
`cat_order` mediumint(8) NOT NULL default '0',
`cat_view_level` tinyint(3) NOT NULL default '-1',
`cat_upload_level` tinyint(3) NOT NULL default '0',
`cat_rate_level` tinyint(3) NOT NULL default '0',
`cat_comment_level` tinyint(3) NOT NULL default '0',
`cat_edit_level` tinyint(3) NOT NULL default '0',
`cat_delete_level` tinyint(3) NOT NULL default '2',
`cat_view_groups` varchar(255) NULL default '',
`cat_upload_groups` varchar(255) NULL default '',
`cat_rate_groups` varchar(255) NULL default '',
`cat_comment_groups` varchar(255) NULL default '',
`cat_edit_groups` varchar(255) NULL default '',
`cat_delete_groups` varchar(255) NULL default '',
`cat_moderator_groups` varchar(255) NULL default '',
`cat_approval` tinyint(3) NOT NULL default '0',
`cat_parent` mediumint(8) unsigned default '0',
`cat_user_id` mediumint(8) unsigned default '0',
PRIMARY KEY (`cat_id`),
KEY `cat_order` (`cat_order`)
);

CREATE TABLE `phpbb_album_comment` (
`comment_id` int(11) unsigned NOT NULL auto_increment,
`comment_pic_id` int(11) unsigned NOT NULL default '0',
`comment_cat_id` int(11) NOT NULL default '0',
`comment_user_id` mediumint(8) NOT NULL default '0',
`comment_username` varchar(32) NULL default '',
`comment_user_ip` varchar(8) NOT NULL default '',
`comment_time` int(11) unsigned NOT NULL default '0',
`comment_text` text,
`comment_edit_time` int(11) unsigned NULL default '0',
`comment_edit_count` smallint(5) unsigned NOT NULL default '0',
`comment_edit_user_id` mediumint(8) NULL default '0',
PRIMARY KEY (`comment_id`),
KEY `comment_pic_id` (`comment_pic_id`),
KEY `comment_user_id` (`comment_user_id`),
KEY `comment_user_ip` (`comment_user_ip`),
KEY `comment_time` (`comment_time`)
);

CREATE TABLE `phpbb_album_config` (
`config_name` varchar(255) NOT NULL default '',
`config_value` varchar(255) NOT NULL default '',
PRIMARY KEY (`config_name`)
);

CREATE TABLE `phpbb_album_rate` (
`rate_pic_id` int(11) unsigned NOT NULL default '0',
`rate_user_id` mediumint(8) NOT NULL default '0',
`rate_user_ip` char(8) NOT NULL default '',
`rate_point` tinyint(3) unsigned NOT NULL default '0',
`rate_hon_point` tinyint(3) NOT NULL default '0',
KEY `rate_pic_id` (`rate_pic_id`),
KEY `rate_user_id` (`rate_user_id`),
KEY `rate_user_ip` (`rate_user_ip`),
KEY `rate_point` (`rate_point`)
);

INSERT INTO `phpbb_album_config` VALUES ('max_pics', '1024');
INSERT INTO `phpbb_album_config` VALUES ('user_pics_limit', '-1');
INSERT INTO `phpbb_album_config` VALUES ('mod_pics_limit', '-1');
INSERT INTO `phpbb_album_config` VALUES ('max_file_size', '128000');
INSERT INTO `phpbb_album_config` VALUES ('max_width', '1024');
INSERT INTO `phpbb_album_config` VALUES ('max_height', '768');
INSERT INTO `phpbb_album_config` VALUES ('rows_per_page', '5');
INSERT INTO `phpbb_album_config` VALUES ('cols_per_page', '4');
INSERT INTO `phpbb_album_config` VALUES ('fullpic_popup', '0');
INSERT INTO `phpbb_album_config` VALUES ('thumbnail_quality', '75');
INSERT INTO `phpbb_album_config` VALUES ('thumbnail_size', '125');
INSERT INTO `phpbb_album_config` VALUES ('thumbnail_cache', '1');
INSERT INTO `phpbb_album_config` VALUES ('sort_method', 'pic_time');
INSERT INTO `phpbb_album_config` VALUES ('sort_order', 'DESC');
INSERT INTO `phpbb_album_config` VALUES ('jpg_allowed', '1');
INSERT INTO `phpbb_album_config` VALUES ('png_allowed', '1');
INSERT INTO `phpbb_album_config` VALUES ('gif_allowed', '1');
INSERT INTO `phpbb_album_config` VALUES ('desc_length', '512');
INSERT INTO `phpbb_album_config` VALUES ('hotlink_prevent', '0');
INSERT INTO `phpbb_album_config` VALUES ('hotlink_allowed', 'mightygorgon.com');
INSERT INTO `phpbb_album_config` VALUES ('personal_gallery', '0');
INSERT INTO `phpbb_album_config` VALUES ('personal_gallery_private', '0');
INSERT INTO `phpbb_album_config` VALUES ('personal_gallery_limit', '-1');
INSERT INTO `phpbb_album_config` VALUES ('personal_gallery_view', '-1');
INSERT INTO `phpbb_album_config` VALUES ('rate', '1');
INSERT INTO `phpbb_album_config` VALUES ('rate_scale', '10');
INSERT INTO `phpbb_album_config` VALUES ('comment', '1');
INSERT INTO `phpbb_album_config` VALUES ('gd_version', '2');
INSERT INTO `phpbb_album_config` VALUES ('album_version', '.0.53');
INSERT INTO `phpbb_album_config` VALUES ('fap_version', '1.2.3');
INSERT INTO `phpbb_album_config` VALUES ('show_index_thumb', '0');
INSERT INTO `phpbb_album_config` VALUES ('show_index_total_pics', '1');
INSERT INTO `phpbb_album_config` VALUES ('show_index_total_comments', '1');
INSERT INTO `phpbb_album_config` VALUES ('show_index_comments', '0');
INSERT INTO `phpbb_album_config` VALUES ('show_index_last_comment', '1');
INSERT INTO `phpbb_album_config` VALUES ('show_index_last_pic', '1');
INSERT INTO `phpbb_album_config` VALUES ('show_index_pics', '0');
INSERT INTO `phpbb_album_config` VALUES ('show_recent_in_subcats', '1');
INSERT INTO `phpbb_album_config` VALUES ('show_recent_instead_of_nopics', '1');
INSERT INTO `phpbb_album_config` VALUES ('line_break_subcats', '1');
INSERT INTO `phpbb_album_config` VALUES ('show_index_subcats', '1');
INSERT INTO `phpbb_album_config` VALUES ('personal_allow_gallery_mod', '0');
INSERT INTO `phpbb_album_config` VALUES ('personal_allow_sub_categories', '0');
INSERT INTO `phpbb_album_config` VALUES ('personal_sub_category_limit', '-1');
INSERT INTO `phpbb_album_config` VALUES ('personal_show_subcats_in_index', '0');
INSERT INTO `phpbb_album_config` VALUES ('personal_show_recent_in_subcats', '0');
INSERT INTO `phpbb_album_config` VALUES ('personal_show_recent_instead_of_nopics', '0');
INSERT INTO `phpbb_album_config` VALUES ('show_personal_gallery_link', '1');
INSERT INTO `phpbb_album_config` VALUES ('album_category_sorting', 'cat_order');
INSERT INTO `phpbb_album_config` VALUES ('album_category_sorting_direction', 'ASC');
INSERT INTO `phpbb_album_config` VALUES ('album_debug_mode', '0');
INSERT INTO `phpbb_album_config` VALUES ('show_all_in_personal_gallery', '1');
INSERT INTO `phpbb_album_config` VALUES ('new_pic_check_interval', '1M');
INSERT INTO `phpbb_album_config` VALUES ('index_enable_supercells', '0');
INSERT INTO `phpbb_album_config` VALUES ('email_notification', '0');
INSERT INTO `phpbb_album_config` VALUES ('show_download', '2');
INSERT INTO `phpbb_album_config` VALUES ('show_slideshow', '1');
INSERT INTO `phpbb_album_config` VALUES ('show_pic_size_on_thumb', '1');
INSERT INTO `phpbb_album_config` VALUES ('hon_rate_users', '0');
INSERT INTO `phpbb_album_config` VALUES ('hon_rate_where', '');
INSERT INTO `phpbb_album_config` VALUES ('hon_rate_sep', '1');
INSERT INTO `phpbb_album_config` VALUES ('hon_rate_times', '1');
INSERT INTO `phpbb_album_config` VALUES ('disp_watermark_at', '3');
INSERT INTO `phpbb_album_config` VALUES ('wut_users', '0');
INSERT INTO `phpbb_album_config` VALUES ('use_watermark', '0');
INSERT INTO `phpbb_album_config` VALUES ('rate_type', '2');
INSERT INTO `phpbb_album_config` VALUES ('disp_rand', '1');
INSERT INTO `phpbb_album_config` VALUES ('disp_mostv', '1');
INSERT INTO `phpbb_album_config` VALUES ('disp_high', '1');
INSERT INTO `phpbb_album_config` VALUES ('disp_late', '1');
INSERT INTO `phpbb_album_config` VALUES ('img_cols', '4');
INSERT INTO `phpbb_album_config` VALUES ('img_rows', '1');
INSERT INTO `phpbb_album_config` VALUES ('midthumb_use', '1');
INSERT INTO `phpbb_album_config` VALUES ('midthumb_height', '450');
INSERT INTO `phpbb_album_config` VALUES ('midthumb_width', '600');
INSERT INTO `phpbb_album_config` VALUES ('midthumb_cache', '1');
INSERT INTO `phpbb_album_config` VALUES ('max_files_to_upload', '1');
INSERT INTO `phpbb_album_config` VALUES ('max_pregenerated_fields', '1');
INSERT INTO `phpbb_album_config` VALUES ('dynamic_fields', '1');
INSERT INTO `phpbb_album_config` VALUES ('pregenerate_fields', '0');
INSERT INTO `phpbb_album_config` VALUES ('propercase_pic_title', '1');
INSERT INTO `phpbb_album_config` VALUES ('show_index_last_pic_lv', '0');
INSERT INTO `phpbb_album_config` VALUES ('personal_pics_approval', '0');
INSERT INTO `phpbb_album_config` VALUES ('show_img_no_gd', '0');
INSERT INTO `phpbb_album_config` VALUES ('dynamic_pic_resampling', '1');
INSERT INTO `phpbb_album_config` VALUES ('max_file_size_resampling', '1024000');
INSERT INTO `phpbb_album_config` VALUES ('switch_nuffload', '0');
INSERT INTO `phpbb_album_config` VALUES ('path_to_bin', './cgi-bin/');
INSERT INTO `phpbb_album_config` VALUES ('perl_uploader', '1');
INSERT INTO `phpbb_album_config` VALUES ('show_progress_bar', '1');
INSERT INTO `phpbb_album_config` VALUES ('close_on_finish', '1');
INSERT INTO `phpbb_album_config` VALUES ('max_pause', '5');
INSERT INTO `phpbb_album_config` VALUES ('simple_format', '0');
INSERT INTO `phpbb_album_config` VALUES ('multiple_uploads', '1');
INSERT INTO `phpbb_album_config` VALUES ('max_uploads', '5');
INSERT INTO `phpbb_album_config` VALUES ('zip_uploads', '1');
INSERT INTO `phpbb_album_config` VALUES ('resize_pic', '1');
INSERT INTO `phpbb_album_config` VALUES ('resize_width', '600');
INSERT INTO `phpbb_album_config` VALUES ('resize_height', '600');
INSERT INTO `phpbb_album_config` VALUES ('resize_quality', '70');
INSERT INTO `phpbb_album_config` VALUES ('show_pics_nav', '1');
INSERT INTO `phpbb_album_config` VALUES ('show_inline_copyright', '0');
INSERT INTO `phpbb_album_config` VALUES ('enable_nuffimage', '1');
INSERT INTO `phpbb_album_config` VALUES ('enable_sepia_bw', '0');
INSERT INTO `phpbb_album_config` VALUES ('personal_allow_avatar_gallery', '0');
INSERT INTO `phpbb_album_config` VALUES ('show_gif_mid_thumb', '1');
INSERT INTO `phpbb_album_config` VALUES ('slideshow_.script', '0');
INSERT INTO `phpbb_album_config` VALUES ('show_exif', '0');
INSERT INTO `phpbb_album_config` VALUES ('album_bbcode', '1');


If you have smartors album with any personal albums, you will have to run this file to migrate them to fap

Re: Album Mod not showing pics

PostPosted: Mon Feb 19, 2007 8:58 am
Author: Pogue Moran
I'll try this when I get home. At first thought I think that might be my problem as I had phpbb plus which I don't think used FAP. My albums were done in the smartor album. However, this didn't explain why the new images I uploaded wouldn't show up even though they're there in the directory and if I hit the download button I can download and view them. My GD is on along with all the other settings the only thing that doesn't work is the show japanese characters. Everything else is set to on on the GD info page of FAP

Re: Album Mod not showing pics

PostPosted: Mon Feb 19, 2007 9:13 pm
Author: Pogue Moran
I just tried using this with a fresh pic and i reuploaded all the original album files I still can't get it to view the pics right. I've done the file mods. The picture is there when I try to download it so it uploads right but for some reason its not showing the pics on the page and just shows the text. this is driving me crazy. Here's my GD info on the admin page

GD Info:
Version: bundled (2.0.28 compatible)
Freetype Fonts Support: Yes
Freetype Link Type: with freetype
T1lib Support: Yes
Gif Read Support: Yes
Gif Create Support: Yes
Jpg/Jpeg Support: Yes
Png Support: Yes
WBMP Support: Yes
XBM Support: Yes
Japanese Font Support: No

It should work! Maybe something changed when i used those premod files for the advanced color management. I'm at a loss as to why the album just isnt working on my site.

I've also noticed that the pic link when i paste it in the browser just takes me to a white page with the link on it like

http://www.xbox360gamingworld.com/forum ... p?pic_id=1

Re: Album Mod not showing pics

PostPosted: Mon Feb 19, 2007 11:16 pm
Author: Pogue Moran
Okay Teelk I've isolated the problem. I overwrote the includes directory from im141 over with my current directory and after reuploading my files from the current directory I have narrowed the problem down to the functions_categories_heirarchy.php file. I think its one of the edits I did in Ajaxed that is causing the problem I will further narrow the problem down and let you know

Re: Album Mod not showing pics

PostPosted: Thu Feb 22, 2007 4:17 pm
Author: Pogue Moran
can you mark this topic as solved?

PostPosted: Fri Feb 23, 2007 9:00 am
Author: tekguru
HS did we have that in the old IM140? That is do we need to run the migration .script?