PDA

View Full Version : Need Help ASAP


Brexen
04-26-2012, 08:31 PM
Hi there,

I am helping a friend install his forum as I have alot more experience of vbulletin. However there seems to be an issue with the images showing up. I think I know why but unfortunately I can't seem to overcome it.

http://screensnapr.com/e/oxQR9R.png

None of the images are showing. I have checked the FTP and all the images are there as they should be.

http://screensnapr.com/e/iAFqKX.png

Now I believe the reason the images are not registering correctly is due to the forum path containing /public_html/ rather than the default /.

To try and correct this. I have changed the forum path in the config.php file to this.

http://screensnapr.com/e/2SGjhb.png

However this has no effect on the images. I am cluless what else could be causing this.

Any Ideas?

kh99
04-26-2012, 08:35 PM
If you view the html source, what does it say in the img tags for the src?

Brexen
04-26-2012, 08:40 PM
If you view the html source, what does it say in the img tags for the src?

It says this;

<a name="top" href="forum.php" class="logo-image"><img src="images/misc/vbulletin4_logo.png" alt="Tactical Hax - The Latest and Greatest in Hacking! - Powered by vBulletin" /></a></div>

kh99
04-26-2012, 08:43 PM
Hmm...is there a <base> tag on the page?

Brexen
04-26-2012, 08:45 PM
Hmm...is there a <base> tag on the page?

Yes there is;

<base href="http://www.tacticalhax.com/" /><!--[if IE]></base><![endif]-->
<meta name="generator" content="vBulletin 4.1.12" />

kh99
04-26-2012, 08:50 PM
And that public_html folder is where the vbulletin files are? I'm stumped too.

Do you have an .htaccess file?

What happens if you enter http://www.tacticalhax.com/images/misc/vbulletin4_logo.png in the browser?

Brexen
04-26-2012, 08:51 PM
And that public_html folder is where the vbulletin files are? I'm stumped too.

Do you have an .htaccess file?

Currently there is one on there. But it shouldn't make a difference because it's only restricting IPs from viewing the site.


AuthName "Admin's only"
AuthType Basic
<Limit GET POST>
order deny,allow
deny from all
allow from My IP
</limit>


Obviously my IP is replaced with my actual IP xD

I'm hopping in the bath. I shall be back in about 30 mins though. I'm just as stumped as you.

kh99
04-26-2012, 08:57 PM
So if you just put http://www.tacticalhax.com/images/misc/vbulletin4_logo.png in the browser what happens? And can you check the web server access or error logs to see what it says?

Brexen
04-26-2012, 09:00 PM
When I put that url. The logo shows fine;

http://screensnapr.com/e/M9Qi5D.png

There is no error log on the server and the access logs is just a massive list of all the files uploaded to his server.

http://screensnapr.com/e/Y5H4tZ.png

back in 20 mins

--------------- Added 1335479059 at 1335479059 ---------------

Still no luck. I honestly have no clue what the issue is. It's a fresh install, so it can't be any modifications =/

--------------- Added 1335479743 at 1335479743 ---------------

Okay an update. It seems to be working on Internet Explorer but not FireFox. I have no idea why.

I need a few testers.

Go to www.tacticalhax.com and tell me if you see the images.

kh99
04-26-2012, 09:41 PM
That's strange. It seems with that base tag and src in the img tag that it should load the same file you're able to load in the browser. Did you try a different browser? Maybe use something like Firefox with Firebug to see what the browser's trying to load when you load the page.

Otherwise I'm out of ideas.

ETA: Just read your post above. There may be some Firefox setting telling it not to load the images by default. Do you get images on other sites?

Brexen
04-26-2012, 09:48 PM
That's strange. It seems with that base tag and src in the img tag that it should load the same file you're able to load in the browser. Did you try a different browser? Maybe use something like Firefox with Firebug to see what the browser's trying to load when you load the page.

Otherwise I'm out of ideas.

ETA: Just read your post above. There may be some Firefox setting telling it not to load the images by default. Do you get images on other sites?

Every other site including my own. I have no idea what's happening anymore.

It must be just my browser playing up. What page do you get when you load the site on FF?

and also I keep getting random database errors when I refresh forum.php

God, this is turning into a nightmare lol

kh99
04-26-2012, 10:09 PM
Looks fine to me using FF, and I didn't see any errors. Of course there's not much there so there's not much to do but reload the page a few times.

Lynne
04-26-2012, 10:14 PM
I see the images just fine in firefox.

ForceHSS
04-26-2012, 10:25 PM
looks like its your browser is the problem not the forums change back the config file to default and any other changes you made so it is all back to a default install

Brexen
04-28-2012, 10:51 AM
Stupid Me. It turns out I had the block images from TacticalHax ticked;

http://screensnapr.com/e/Tv2SHB.png

All working great now. Sorry for being such a waste of time.