[Solved]: images in coppermine 1.3.0 don't show up [Solved]: images in coppermine 1.3.0 don't show up
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved]: images in coppermine 1.3.0 don't show up

Started by uberhip, June 27, 2004, 12:44:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

uberhip

Howdy, I installed 1.2 through fantastico and then dowloaded and upgraded to 1.3, I followed the upgrade instructions step by step.
When my site is visited the pictures show up as an x in IE on a pc and as a ? in safari on a mac. Please take a look, any help would be greatly appreciated.

http://www.elgatovolando.com/copp

Thank You!

Joachim Müller

right-click on the broken images - properties. Copy the full pic url (e.g. http://www.elgatodelvuelo.com/copp/themes/igames/images/box_left_icon.gif ) and paste it into your browser's address bar - you get the error
QuoteForbidden
You don't have permission to access /copp/themes/igames/images/box_left_icon.gif on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
This means: the file is there, but the surfer doesn't have the permissions to view it. Make sure to CHMOD your folder /themes/igames/images so the the file can be accessed - usually 644. If this is alien to you, contact your webhost.

GauGau

uberhip

thank you very much!! It was my damn hotlink protection, I kept changing the the permissions and it looked good on the back end, even at 777 it would not let me view them, took off hotlink protection, booyah!! Thanks again!!!

Carrie

Okay I have tried chmoding everything I could think of and I did the upgrade as it ws supposed to be done. (I have done this on a couple of places) my gallery is here http://www.funeralofhearts.com/gallery

I have no problem seeing any of the pictures and what-not but others are. I think this has something more to then with chmod permissions. Anyway can anyone see my gallery? Also has anyone else had this sort of problem.

(No I am not using Hot Link Protection)

Joachim Müller

I can see the pics on your gallery just fine, no unexpected behaviour.

GauGau

Casper

It all seems to work well for me as well. 

Nice clean theme and fast site, I like it. ;)
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Carrie

Thanks guys :), seriously though some of my members still cannot see it, so I am thinking of just reinstalling the gallery....do any of you think it might work? And then chmod what I am supposed to and stuff? Hmmm

Yeah I have no problems seeing my Gallery and I have tried from different computers, but other people have said this:

"I also have problems with the gallery..problems with the pics loading. And for some reason, when I go to the gallery, then try to go to other sites, pics won't load at all. I have to do a little ctrl alt del crap to get it to work again. =/ "

&

"I can only see a few pictures and the rest don't load."

&

"I have no problem with the gallery on my computer at home but the gallery doesn't work on my computer at work - and at home I have a cable modem - at work there's a T1! I dont' know if this will give you any clues Carrie - maybe it has something to do with firewalls? I probably have a firewall at work . . . "

This is what is posted here on my forums. So anyway.....

Carrie

#7
Opps maybe I should've made another thread? I don't know. ACK! Anyway I made a test gallery with a fresh install of 1.3 and the people who complained about not being able to see it, said that now they could. The test gallery is here: http://www.funeralofhearts.com/gallery2

Hmmm I have no idea what to do. I don't want to have to move all the files and lose all my information! (Comments, members etc.)

Joachim Müller

Try re-uploading all files from your local hard disk to your webserver for your "regular" gallery, maybe this is just another case of file-corruption on upload.
Also, I suggest running udpate.php on your "regular" gallery to make sure all db entries are correct.
You could create a duplicate of your "regular" gallery by creating a mySQL dump (with phpMyAdmin), change the table prefix in the whole dump file to the one from your fresh install and run the dump in phpMyAdmin again to make the second install's gallery identical to the first one. The only issue left would then be the pics stored in another location; you could either go to the coppermine config of your second install and change the path to the albums and userpics folder there temporarily, or (even better) add a symlink to your gallery2 folder that let's the albums folder point to your old install. This way, you wouldn't have to re-upload everything and all your comments, ratings etc. would remain intact. Then advice some users who experienced problems to browse to http://www.funeralofhearts.com/gallery2  to check.

GauGau

Carrie

Ok I did the update thingy and this is what it said:

CREATE TABLE IF NOT EXISTS cpg11d_filetypes ( extension char(7) NOT NULL default '', mime char(30) default NULL, content char(15) default NULL, KEY extension (extension) ) TYPE=MyISAM COMMENT='Used to store the file extensions' OK
ALTER TABLE `cpg130_filetypes` DROP INDEX `EXTENSION`, ADD PRIMARY KEY ( `extension` ) Already Done
INSERT INTO cpg11d_filetypes VALUES ('jpg', 'image/jpg', 'image') OK
INSERT INTO cpg11d_filetypes VALUES ('jpe', 'image/jpe', 'image') OK
INSERT INTO cpg11d_filetypes VALUES ('gif', 'image/gif', 'image') OK
INSERT INTO cpg11d_filetypes VALUES ('png', 'image/png', 'image') OK
INSERT INTO cpg11d_filetypes VALUES ('psd', 'image/psd', 'image') OK
INSERT INTO cpg11d_filetypes VALUES ('bmp', 'image/bmp', 'image') OK
INSERT INTO cpg11d_filetypes VALUES ('jpc', 'image/jpc', 'image') OK
INSERT INTO cpg11d_filetypes VALUES ('jp2', 'image/jp2', 'image') OK
INSERT INTO cpg11d_filetypes VALUES ('jpx', 'image/jpx', 'image') OK
INSERT INTO cpg11d_filetypes VALUES ('jb2', 'image/jb2', 'image') OK
INSERT INTO cpg11d_filetypes VALUES ('swc', 'image/swc', 'image') OK
INSERT INTO cpg11d_filetypes VALUES ('iff', 'image/iff', 'image') OK
UPDATE cpg11d_config SET value='ALL' WHERE name='allowed_img_types' OK
INSERT INTO cpg11d_filetypes VALUES ('asf', 'video/x-ms-asf', 'movie') OK
INSERT INTO cpg11d_filetypes VALUES ('asx', 'video/x-ms-asx', 'movie') OK
INSERT INTO cpg11d_filetypes VALUES ('mpg', 'video/mpeg', 'movie') OK
INSERT INTO cpg11d_filetypes VALUES ('mpeg', 'video/mpeg', 'movie') OK
INSERT INTO cpg11d_filetypes VALUES ('wmv', 'video/x-ms-wmv', 'movie') OK
INSERT INTO cpg11d_filetypes VALUES ('swf', 'application/x-shockwave-flash', 'movie') OK
INSERT INTO cpg11d_filetypes VALUES ('avi', 'video/avi', 'movie') OK
INSERT INTO cpg11d_filetypes VALUES ('mov', 'video/quicktime', 'movie') OK
INSERT INTO cpg11d_config VALUES ('allowed_mov_types', 'ALL') Already Done
INSERT INTO cpg11d_filetypes VALUES ('mp3', 'audio/mpeg3', 'audio') OK
INSERT INTO cpg11d_filetypes VALUES ('midi', 'audio/midi', 'audio') OK
INSERT INTO cpg11d_filetypes VALUES ('mid', 'audio/midi', 'audio') OK
INSERT INTO cpg11d_filetypes VALUES ('wma', 'audio/x-ms-wma', 'audio') OK
INSERT INTO cpg11d_filetypes VALUES ('wav', 'audio/wav', 'audio') OK
INSERT INTO cpg11d_filetypes VALUES ('ogg', 'audio/ogg', 'audio') OK
INSERT INTO cpg11d_config VALUES ('allowed_snd_types', 'ALL') Already Done
INSERT INTO cpg11d_filetypes VALUES ('ram', 'audio/x-pn-realaudio', 'document') OK
INSERT INTO cpg11d_filetypes VALUES ('ra', 'audio/x-realaudio', 'document') OK
INSERT INTO cpg11d_filetypes VALUES ('rm', 'audio/x-realmedia', 'document') OK
INSERT INTO cpg11d_filetypes VALUES ('tiff', 'image/tiff', 'document') OK
INSERT INTO cpg11d_filetypes VALUES ('tif', 'image/tif', 'document') OK
INSERT INTO cpg11d_filetypes VALUES ('doc', 'application/msword', 'document') OK
INSERT INTO cpg11d_filetypes VALUES ('txt', 'text/plain', 'document') OK
INSERT INTO cpg11d_filetypes VALUES ('rtf', 'text/richtext', 'document') OK
INSERT INTO cpg11d_filetypes VALUES ('pdf', 'application/pdf', 'document') OK
INSERT INTO cpg11d_filetypes VALUES ('xls', 'application/excel', 'document') OK
INSERT INTO cpg11d_filetypes VALUES ('pps', 'application/powerpoint', 'document') OK
INSERT INTO cpg11d_filetypes VALUES ('ppt', 'application/powerpoint', 'document') OK
INSERT INTO cpg11d_filetypes VALUES ('zip', 'application/zip', 'document') OK
INSERT INTO cpg11d_filetypes VALUES ('rar', 'application/rar', 'document') OK
INSERT INTO cpg11d_filetypes VALUES ('gz', 'application/gz', 'document') OK
INSERT INTO cpg11d_filetypes VALUES ('mdb', 'application/msaccess', 'document') OK
INSERT INTO cpg11d_config VALUES ('allowed_doc_types', 'ALL') Already Done
ALTER TABLE cpg11d_comments add msg_raw_ip tinytext Already Done
ALTER TABLE cpg11d_comments add msg_hdr_ip tinytext Already Done
ALTER TABLE cpg11d_pictures add pic_raw_ip tinytext Already Done
ALTER TABLE cpg11d_pictures add pic_hdr_ip tinytext Already Done
INSERT INTO cpg11d_config VALUES ('thumb_use', 'any') Already Done
INSERT INTO cpg11d_config VALUES ('show_private', '0') Already Done
INSERT INTO cpg11d_config VALUES ('first_level', '1') Already Done
INSERT INTO cpg11d_config VALUES ('display_film_strip', '1') Already Done
INSERT INTO cpg11d_config VALUES ('max_film_strip_items', '5') Already Done
INSERT INTO cpg11d_config VALUES ('comment_email_notification', '0') Already Done
INSERT INTO cpg11d_config VALUES ('read_iptc_data', '0') Already Done
INSERT INTO cpg11d_config VALUES ('display_uploader', '0') Already Done
INSERT INTO cpg11d_config VALUES ('offline', '0') Already Done
INSERT INTO cpg11d_config VALUES ('reg_notify_admin_email', '0') Already Done
INSERT INTO cpg11d_config VALUES ('disable_comment_flood_protect', '0') Already Done
INSERT INTO cpg11d_config VALUES ('upl_notify_admin_email', '0') Already Done
INSERT INTO cpg11d_config VALUES ('language_list', '0') Already Done
INSERT INTO cpg11d_config VALUES ('language_flags', '0') Already Done
INSERT INTO cpg11d_config VALUES ('theme_list', '0') Already Done
INSERT INTO cpg11d_config VALUES ('language_reset', '1') Already Done
INSERT INTO cpg11d_config VALUES ('theme_reset', '1') Already Done
INSERT INTO cpg11d_config VALUES ('offline', '0') Already Done
INSERT INTO cpg11d_config VALUES ('allow_memberlist', '0') Already Done
INSERT INTO cpg11d_config VALUES ('display_faq', '0') Already Done
INSERT INTO cpg11d_config VALUES ('views_in_thumbview', '1') Already Done
INSERT INTO cpg11d_config VALUES ('show_bbcode_help', '1') Already Done
INSERT INTO cpg11d_config VALUES ('log_ecards', '0') Already Done
INSERT INTO cpg11d_config VALUES ('email_comment_notification', '0') Already Done
INSERT INTO cpg11d_config VALUES ('enable_zipdownload', '1') Already Done
INSERT INTO cpg11d_config VALUES ('debug_notice', '0') Already Done
INSERT INTO cpg11d_config VALUES ('slideshow_interval', '5000') Already Done
ALTER TABLE `cpg11d_categories` ADD `thumb` INT NOT NULL AFTER `parent`  Already Done
ALTER TABLE `cpg11d_albums` ADD `keyword` VARCHAR( 50 ) NOT NULL  Already Done
CREATE TABLE cpg11d_banned ( ban_id int(11) NOT NULL auto_increment, user_id int(11) DEFAULT NULL, ip_addr tinytext DEFAULT NULL, expiry datetime DEFAULT NULL, PRIMARY KEY (ban_id) ) TYPE=MyISAM Already Done
CREATE TABLE cpg11d_exif ( `filename` varchar(255) NOT NULL default '', `exifData` text NOT NULL, UNIQUE KEY `filename` (`filename`) ) TYPE=MyISAM Already Done
CREATE TABLE cpg11d_ecards ( eid int(11) NOT NULL auto_increment, sender_name varchar(50) NOT NULL default '', sender_email text NOT NULL, recipient_name varchar(50) NOT NULL default '', recipient_email text NOT NULL, link text NOT NULL, date tinytext NOT NULL, sender_ip tinytext NOT NULL, PRIMARY KEY (eid) ) TYPE=MyISAM COMMENT='Used to log ecards' Already Done
ALTER TABLE `cpg11d_usergroups` ADD `upload_form_config` TINYINT(4) DEFAULT '3' NOT NULL Already Done
ALTER TABLE `cpg11d_usergroups` ADD `custom_user_upload` TINYINT(4) DEFAULT '0' NOT NULL Already Done
ALTER TABLE `cpg11d_usergroups` ADD `num_file_upload` TINYINT(4) DEFAULT '5' NOT NULL Already Done
ALTER TABLE `cpg11d_usergroups` ADD `num_URI_upload` TINYINT(4) DEFAULT '3' NOT NULL Already Done
CREATE TABLE IF NOT EXISTS `cpg11d_temp_data` ( `unique_ID` CHAR( 8 ) NOT NULL , `encoded_string` BLOB NOT NULL , `timestamp` INT( 11 ) UNSIGNED NOT NULL , PRIMARY KEY ( `unique_ID` ) ) TYPE = MYISAM COMMENT = 'Holds temporary file data for multiple file uploads' OK
UPDATE `cpg11d_config` SET value='classic' WHERE (name='theme' AND value='default') OK
DELETE FROM `cpg11d_filetypes` WHERE mime='text/html' OK
ALTER TABLE `cpg11d_users` CHANGE user_lang user_group_list varchar(255) NOT NULL default '' Already Done


So then I uploaded the files and certain people still can't see all the albums and what not. *bah* So I might try the other thing you mentioned. ERGH! :(