coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: whisky on October 12, 2005, 03:21:28 PM

Title: Images vanished after Domain switch
Post by: whisky on October 12, 2005, 03:21:28 PM
Hi,
   I switched the domain name that I have associated with my account with my hosting provider and after that when I goto the new domain my Gallery is there but no image shows up. Why is this so? How can this problem be solved? Please help me out...

the Gallery is at http://www.evilpeshawar.com/Gallery/

Thanks in advance!
Title: Re: Images vanished after Domain switch
Post by: Casper on October 12, 2005, 03:41:04 PM
I tried to view the images direct, and got a 'you don't have permission' error.

Look into your htaccess files.
Title: Re: Images vanished after Domain switch
Post by: whisky on October 12, 2005, 06:48:57 PM
Thanks for the prompt reply. I tried to replace the old domain inside the .htaccess file with the new one but it didn't help. When I try to open the pictures from File Manager in Cpanel, they still don't show. Although they are there  :(
Title: Re: Images vanished after Domain switch
Post by: Nibbler on October 12, 2005, 06:50:20 PM
Temporarily rename the .htaccess file and see if that affects anything.
Title: Re: Images vanished after Domain switch
Post by: whisky on October 12, 2005, 06:52:24 PM
Yeah that worked! Thanks Nibbler. Do I really need the .htaccess file?
Title: Re: Images vanished after Domain switch
Post by: Nibbler on October 12, 2005, 07:43:34 PM
Post the contents of the file here and we can tell you if you need it or not. Remove any sensitive information if necessary.
Title: Re: Images vanished after Domain switch
Post by: whisky on October 14, 2005, 07:41:18 PM
I deleted the old file and a new file with the same name was created automatically. Everything's fine now :D