View Full Version : Can't view images after domain change
July 22nd, 2005, 11:17 AM
I recently changed domain names and made all the necessary changes under Settings: Edit Options and Settings: Edit Config. However, when trying to make changes under Settings: Edit Integration, I get the following error upon saving and cannot save the URL changes:
Warning: fopen(config-int.php): failed to open stream: Permission denied in /home2/site/public_html/classifieds/adm-misc.php on line 1051
Warning: fwrite(): supplied argument is not a valid stream resource in /home2/site/public_html/classifieds/adm-misc.php on line 1052
Warning: fclose(): supplied argument is not a valid stream resource in /home2/site/public_html/classifieds/adm-misc.php on line 1053
Any ideas??? I'm using vB3 integration. It all worked fine before the domain change.
July 22nd, 2005, 11:44 AM
Was able to manually change config-int.php and FTP it to the server, but images still do not show up. It appears as the site loads in the browser that it is still trying to access my old domain name when it tries to load the images.
July 22nd, 2005, 02:03 PM
Hello for one I suggest you change the permissions on the config files to 666 as install suggests otherwise you dont have permissions to edit them.
Also under your global options you must change the url and server paths to the correct ones for the new domain.
July 22nd, 2005, 08:43 PM
OK, I changed the permissions on the config files to 666. That solved the errors above, but images still do not show up.
>> Also under your global options you must change the url and server paths to
>> the correct ones for the new domain.
Where are these "global options" settings? I've changed everything in the admin under Settings - Edit Options, Edit Config, and Edit Integration to point to the new domain. Am I missing some settings somewhere else??
Thanks for the assistance!
July 22nd, 2005, 09:11 PM
have you transfered the data directory?
Looks to me like you have an htaccess file that is blocking the images possibly cause its set to the wrong domain ;)
July 23rd, 2005, 06:52 AM
For those who run into this issue in the future, I downloaded my entire site and did a full text search for my old domain name. I found the problem in xpostdb.php located in my forums/modules directory. Once I changed the domain in that file, all works well.
July 23rd, 2005, 07:49 AM
so non photopost related
September 25th, 2005, 09:41 AM
Actually, that file was for my vbadvanced portal frontpage. I had to make the domain change there to have images from most recent classified ads show on the home page. The overall image problem stemmed from an htaccess file in the classifieds/data directory.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.