View previous topic :: View next topic |
Author |
Message |
blursotong
Joined: 01 Feb 2004 Posts: 7
|
Posted: Fri Jun 04, 2004 4:45 am Post subject: Images don't load for some people, and do for others |
|
|
Interesting situation here..
1. recently, i tried close my blog for awhile, so i created a index.htm file which a brief intro saying my site is down for awhile.... but when i deleted that .htm file...some ppl said it still appears
2. Some people have problems seeing the pictures in the post as well...i.e. the images saved in the b2 images folder
3.i did try to password protect my blog at one stage... and some ppl still say that is up, when it has been taken down alredi.
4. Links to some pictures redirects to a forbidden 403 error msg...umm think its 403....pretty sure....
i've been trying to solve this problem for a week!! its nothing to fo with cookies or temp internet files, tried deleting those.....funny thing is... it works fine on some people's copmuter
my blog: http://angela.blursotong.com/ipw-web/b2/ |
|
Back to top |
|
 |
stevem
Joined: 15 Mar 2003 Posts: 369
|
Posted: Fri Jun 04, 2004 4:52 pm Post subject: |
|
|
It's because you haven't given the correct image address in b2config.php
Code: | #$fileupload_realpath = '/home/your/site/b2/images';
$fileupload_realpath = '/home/example/public_html/images';
# enter the URL of that directory (it's used to generate the links to the pictures)
$fileupload_url = 'http://example.com/images'; |
Your images are shown as http://blursotong.com/ipw-web/b2/images/0406b7.jpg whereas they really are at http://angela.blursotong.com/ipw-web/b2/images/0406b7.jpg You've forgotten angela. Click on the links above to see the difference. |
|
Back to top |
|
 |
blursotong
Joined: 01 Feb 2004 Posts: 7
|
Posted: Fri Jun 04, 2004 5:13 pm Post subject: |
|
|
I already changed the config file, and it;s still not working...
regarding your reply...
i clicked on both links, and the pictures load.......
but it's hard to check, coz my comp is fine with the pics...but it cant be seen on other ppls comps.....ive just tried my roomates, and it still doesnt work....
don't think tats the problem.... |
|
Back to top |
|
 |
stevem
Joined: 15 Mar 2003 Posts: 369
|
Posted: Fri Jun 04, 2004 5:30 pm Post subject: |
|
|
If you press Ctrl-F5 in IE that http://blursotong.com/ipw-web/b2/images/0406b7.jpg do you get an error message? I get a 404 not found message here.
Are you absolutely sure that the 2 paths needed in config.php agree? The problem may be that you are using a subdomain angela.blursotong.com rather than a folder blursotong.com/angela and this complication needs to be shown in the paths. |
|
Back to top |
|
 |
blursotong
Joined: 01 Feb 2004 Posts: 7
|
Posted: Fri Jun 04, 2004 5:36 pm Post subject: |
|
|
The thing is...... it worked before all this time....
but when i tried banning ips, password protected and uploading that index.htm file when everything seemed to be going wrong....
after i removed all those above...
the pics were giving me problems...
i can see it on my comp, but everyone else can't...maybe 1 or 2 who still can see... but the other 35 ppl can't.. if u go to my blog.u can actually see a poll on the left |
|
Back to top |
|
 |
stevem
Joined: 15 Mar 2003 Posts: 369
|
Posted: Fri Jun 04, 2004 5:53 pm Post subject: |
|
|
If you look at the source of your index.php it says
Code: | <IMG alt="" src="http://blursotong.com/ipw-web/b2/images/0406b7.jpg" border=0> | but the image is not there because it should say: Code: | <IMG alt="" src="http://angela.blursotong.com/ipw-web/b2/images/0406b7.jpg" border=0> |
or perhaps the images are being uploaded to the wrong place. Either way the solution is to make sure b2config.php is correct. What does it say (you can put xxxx if you don't want to show the complete paths)?
If the fileupload path is wrong you will need to edit your blog entries to get the path correct since the code it told you to insert was wrong. |
|
Back to top |
|
 |
blursotong
Joined: 01 Feb 2004 Posts: 7
|
Posted: Fri Jun 04, 2004 6:08 pm Post subject: |
|
|
Code: | #$fileupload_realpath = '/home/blursoto/.panel/web/b2/images';
$fileupload_realpath = '/home/blursoto/.panel/web/b2/images';
# enter the URL of that directory (it's used to generate the links to the pictures)
$fileupload_url = 'http://angela.blursotong.com/ipw-web/b2/images'; |
that's what is written on the b2config.php
OKOK I"VE GOT iMPROVEMENTS!!!
i edited 1 of my posts... i changed the file src and put the "angela" in... AND IT WORKS!>... BUT......
so when i uploaded the file... and the option to add code to posts..that means that part is wrong??? how do i ammend everything now? doesn't mean i have to edit every posts picture URL right??? |
|
Back to top |
|
 |
stevem
Joined: 15 Mar 2003 Posts: 369
|
Posted: Fri Jun 04, 2004 6:16 pm Post subject: |
|
|
The piece of code it gives you uses the variable $fileupload_url. If that is now correct in b2config.php then it will be correct in the code in the future.
Yes I'm afraid you will have to edit each post as I can't see an obvious place to move the images to to get the old posts to work. Something has changed on your system (not your blog) so the URL changed - it may be that your host did something. |
|
Back to top |
|
 |
blursotong
Joined: 01 Feb 2004 Posts: 7
|
Posted: Fri Jun 04, 2004 6:20 pm Post subject: |
|
|
THANKS! You're A WONDERFUL HELP! Really really appreciate it..... really... thanks yipeeeeee!!  |
|
Back to top |
|
 |
stevem
Joined: 15 Mar 2003 Posts: 369
|
Posted: Fri Jun 04, 2004 6:20 pm Post subject: |
|
|
Oh - your smilies aren't there. You need to edit b2config.php to correct
Code: | # the directory where your smilies are (no trailing slash)
$smilies_directory = 'http://angela.blursotong.com/ipw-web/b2/b2-img/smilies'; |
|
|
Back to top |
|
 |
blursotong
Joined: 01 Feb 2004 Posts: 7
|
Posted: Fri Jun 04, 2004 6:46 pm Post subject: |
|
|
arent u a gem! thanks! |
|
Back to top |
|
 |
|