Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Images not showing up in new installation  (Read 11431 times)

0 Members and 1 Guest are viewing this topic.

DNTME

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Images not showing up in new installation
« on: February 17, 2018, 02:26:53 am »

Hello;
I just installed Coppermine (1.5.46) using Softaculous. First, and only, installation of Coppermine on this site. The problem I have is that the images will not show up. The titles and file name do show. Looking in the Album/Userpics/10001 folder I see that the image is there. Additionally, when looking at the HTML source I see that the "src" command seems to be correct (<img src="albums/userpics/10001/thumb_Master_of_the_Obvious.jpg" ). I also looked to see that the DB actually exists. All the folders leading to and including the 10001 folder have permission 755 and the image itself is 644. The site is  http://dntme.com/Coppermine/index.php  It does the same in Firefox and IE. I'm using Win 10 Pro.

Thanks for any help.
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Images not showing up in new installation
« Reply #1 on: February 17, 2018, 03:28:44 am »

The installation directory/files permissions are setup wrong. Do not rely on hosting 1-click installers to install most packages correctly.
http://documentation.coppermine-gallery.net/en/install.htm
[edit:]
On closer look, permissions may be okay ... there may be an .htaccess file placed somewhere there that is disallowing access to image files. Not even the Coppermine Photo Gallery logo is showing up. Any image file access gets a 403 error (not allowed). It's not a Coppermine issue ... the same thing is happening on the rest of your site.
« Last Edit: February 17, 2018, 04:13:51 am by ron4mac »
Logged

DNTME

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Images not showing up in new installation
« Reply #2 on: February 18, 2018, 09:14:59 am »

Thank you very much. I was so concentrated on the Coppermine problem I had not even checked out any other portions of the overall site. Anyway, I went right to the root .htaccess file and found this in it ... RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC].  Not sure why it's in there but it is, obviously, related to the picture formats. Deleted it and all is fine now. I saved it in case something comes up to where it, or some variant, is needed.

Thanks again for you help.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 19 queries.