1
elinde
Can't see ANY images (including default logos)
  • 2004/11/15 17:43

  • elinde

  • Just popping in

  • Posts: 13

  • Since: 2003/12/2


I'm trying to set up my XOOPS site up & running. I managed to get all the installations done and the basic page up.

Weird thing, though...when I look at the index page through a browser on the local machine, it comes up fine. But if I try to access it remotely, no images load--none. If I copy the actual img src path from the html into the browser, the image comes up fine all by itself, so obviously it's accessible. I'm thinking the problem is in the php somewhere? I'm pretty ignorant of php & apache, so I don't even know where to start looking.

specs
xoops: 2.7.3
server: apache
php version: 4
absolute path: c:/wampp1-smart/htdocs/xoops/html
virtual path: http://localhost/xoops/html
sample img src path: http://[IP address]/xoops/html/themes/default/logo.gif

Any ideas?

2
saeed
Re: Can
  • 2004/11/20 16:20

  • saeed

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/9/27


I have this proplem on local too , but in webserver all things are fine . dont worry ! be happy!

3
phasys
Re: Can
  • 2004/11/25 8:28

  • phasys

  • Just popping in

  • Posts: 5

  • Since: 2004/10/24


The images don't load because the PATH of the images point to either C:\ or LOCALHOST. So the client computer is trying to find those images on its own harddisk.

So, when installing XOOP, one should not use localhost, but the IP adress or NETBIOS name instead.

4
jpco_122122
Re: Can

I had already encountered this problem and the solution is change the virtual path with the IP address of the machine which u installed XOOPS like this one:

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
define('XOOPS_URL', 'http://192.168.0.21/XOOPS');

5
phasys
Re: Can
  • 2004/11/26 5:20

  • phasys

  • Just popping in

  • Posts: 5

  • Since: 2004/10/24


What the previous poster said, but he forgot to mention that you should change that in main.php

(You know, the one that SHOULD be on read-only!)

6
jpco_122122
Re: Can

Exactly try to uncheck first the read-only before editing the mainfile.php then save it and then re-check again on it's properties the read-only for windows, but if u are using Linux chmod to 777.

Anyway it's not main.php it should be mainfile.php for the last post.

7
Beserker1971
Re: Can

ive tried that but it doesnt work for me. if i have the actual url eg http://www.magiknights.com then i cant browse to the site but everyone else can. if i put in http://192.168.1.18 (my local ip) then i can browse but nobody else can.

does anyone have the solution? this was initially the reason i never upgraded. i wish i hadnt now :(

Login

Who's Online

329 user(s) are online (268 user(s) are browsing Support Forums)


Members: 0


Guests: 329


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits