coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: jms1989 on October 05, 2008, 11:26:07 PM

Title: So I moved my gallery from a dir to a subdomain and now my images don't work...
Post by: jms1989 on October 05, 2008, 11:26:07 PM
So I moved my gallery from a dir to a subdomain and now my images don't work, so what could I do? Explanation follows.

I added a subdomain for my gallery the other night and today when I went to configure my gallery to use it, all the images in my gallery wont load. The theme images, similies, etc, work but not my thumbs, mid-size images, and full size images. When I open the page info in FF, clicked the media tab, and looked to see it they load and they do. Directly viewing the images work too but not in the browser. Hmm,  ???.

The origianal url was http://www.michaelsweb.uni.cc/gallery/ and now its located at http://gallery.michaelsweb.uni.cc/ . The physical location of the gallery didn't change, my web panel just added a directive to point the domain to the subfolder. I've tried changing the url of the gallery to the new domain but they still won't load. If I look as the source of the page, I can see that the images don't rely on the old url. I also don't use a .htaccess file on the gallery either. Its not making any since, please help me.

Thanks in advance,
jms1989
Title: Re: So I moved my gallery from a dir to a subdomain and now my images don't work...
Post by: Nibbler on October 05, 2008, 11:34:14 PM
Fix your hotlink protection so that it works with the new domain name.
Title: Re: So I moved my gallery from a dir to a subdomain and now my images don't work
Post by: jms1989 on October 05, 2008, 11:46:13 PM
I don't have any hotlink protection.
Title: Re: So I moved my gallery from a dir to a subdomain and now my images don't work...
Post by: Nibbler on October 06, 2008, 12:18:32 AM
Yes, you do. Talk to your webhost.
Title: Re: So I moved my gallery from a dir to a subdomain and now my images don't work
Post by: jms1989 on October 06, 2008, 02:27:29 AM
Well, I found the pesky file. A .htaccess in my /albums/ folder. I don't remember placing it there, oh well. I added my new domain to the file, so it works now. Meh, this thread can be marked a solved.
Title: Re: So I moved my gallery from a dir to a subdomain and now my images don't work
Post by: Joachim Müller on October 06, 2008, 08:35:17 AM
Quote from: jms1989 on October 06, 2008, 02:27:29 AM
Meh, this thread can be marked a solved.
You could have done that for yourself by clicking on the little check icon in your initial posting, see http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631. Did that for you.