View Full Version : Manually Changing image paths.. how to?
orbitx92
11-20-2004, 02:13 PM
I recieved a "page cannot be displayed" error when i ran the install script, and now on my homepage, my images are not showing up, my avatar shows up, but the post icons do not, how can i change this?
Brian
11-20-2004, 02:16 PM
I just updated the code in the install file for that yesterday. If you'd like, you can download the files from here again and upload the new vbacmps_install.php file to your admincp directory. Then when you go to it in your browser you should see an option to update your image paths. If that still times out, you can try opening the file and looking for "$perpage = 50;". Change 50 to a lower number (I'd suggest 10 to be safe) and then try running the script again. If that still doesn't work, you'll need to manually update the paths in your 'Post Icon Manager' and 'Smilie Manager' in your Admin CP.
russbo
11-22-2004, 02:52 AM
Well, I've got a bizarre image thing going on here, at http://x.russbo.com/vb/index.php, whereby the calls from the index page are looking for domain/forum/forum/images etc, instead of domain/forum/images. Got no idea how this happened, all else seems to be working fine, so far...
Any suggestions as to how this got "doubled"? My forum folder is "vb", this is a typical image call http://x.russbo.com/vb/vb/images/statusicon/subforum_old.gif
There should be only one "vb"
Thanks!
rich
PS: I'm also getting this error: Warning: Invalid argument supplied for foreach() in /Library/WebServer/Documents/vb/admincp/vba_cmps_admin.php on line 238
Not sure if it's related
Brian
11-22-2004, 11:19 AM
It looks like you modified your image paths incorrectly. Make sure they are pointing to /vb/images/whatever or have the full URL.
As for the foreach error, did you run the install file? It looks like you're missing your vBa settinggroups, so you may need to uninstall and then reinstall.
russbo
11-22-2004, 11:42 AM
I tried both /vb/images/whatever, and the full http:, neither one worked. I did run the install file, first the complete install (got an errror at the end), then ran the install templates only. Eventually got rid of the "foreach" error.
Modifying the image paths is not doing it. Is there a modification somewhere of the files that display the forum index, and rewrite the calls to the images????
Brian
11-22-2004, 11:49 AM
Go to your Style Manager under "Styles & Templates" in your Admin CP. Choose to modify All Style Options. On this page, you will see a section for "Image Paths". Here you must change the path for each image directory (Title Image, Button Images Folder, Miscellaneous Images Folder, etc) to the full path (ex - /forum/images or http://yoursite.com/forum/images).
You must do this for each of your styles, otherwise your images will not show up!
You're modifying the paths as instructed in that part of the readme file, right? As long as you are adding the correct URL then there's no reason why they wouldn't show up.
russbo
11-22-2004, 12:17 PM
That did it. I reverted back to /vb/images, and I guess that killed the images. Putting the complete http://x.russbo.com/vb address fixed it. (which is what I had put initially, as per your instructions. Yes, I most definitely screwed up...)
Thanks man. Appreciate the extremely quick response.
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.