[SOLVED] Access localhost from outside - not loading images and css

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
alzambo
Forum Members
Forum Members
Posts: 26
Joined: Tue Jun 23, 2009 7:02 pm

[SOLVED] Access localhost from outside - not loading images and css

Post by alzambo »

Hi,

I have cmsms correctly configurated on my lan with a MAMP server; homepage's url is http://localhost:9888/cmsmadesimple/
If I try to access from outside (firewall port 9888 forwarded correctly) as http://my-public-ip:9888/cmsmadesimple it loads only the text without images and css.

Any clues?

Thank you in advice,
Alex
Last edited by alzambo on Mon Jun 29, 2009 1:55 pm, edited 1 time in total.
reneh
Dev Team Member
Dev Team Member
Posts: 446
Joined: Tue Nov 28, 2006 8:39 pm

Re: Access localhost from outside - not loading images and css

Post by reneh »

yes


you are not accessing http://localhost:9888/cmsmadesimple/  from outside - so your config is set up wrong
ReneH 8-)
A search will save you hours waiting for an answer! Image
alzambo
Forum Members
Forum Members
Posts: 26
Joined: Tue Jun 23, 2009 7:02 pm

Re: Access localhost from outside - not loading images and css

Post by alzambo »

Ok, now I've set up config.php with external ip. And seems working.

Thank you!
Morli
New Member
New Member
Posts: 4
Joined: Thu Mar 05, 2009 2:12 pm

Re: [SOLVED] Access localhost from outside - not loading images and css

Post by Morli »

Hi,
It's all pretty new to me and I'm having the same problem.
How do you set up your config.php for an external ip?

I run CMSMS on a mac OSX 10.6 machine without any problems (it is indeed 'made simple'). When I try to acces the site on another machine in the company network, I just get a plain page without css styles (the HTML source states http://localhost/cmsms/... )How do you change this?

Kind regards,

Kristof
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: [SOLVED] Access localhost from outside - not loading images and css

Post by RonnyK »

Check your outside IP, and use that in the config.php, whereever localhost is standing....

Ronny
Morli
New Member
New Member
Posts: 4
Joined: Thu Mar 05, 2009 2:12 pm

Re: [SOLVED] Access localhost from outside - not loading images and css

Post by Morli »

Thanks for the guide RonnyK.

I adjusted the ip adres to the one I found in my system prefs. When I enter the ipadres in both host machine and external machine I get an acces denied page. Host "IPADRES" has no acces to the MYSQL database.

What am I doing wrong?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: [SOLVED] Access localhost from outside - not loading images and css

Post by calguy1000 »

This is not a CMSMS problem it's a host/router/server configuration issue.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “CMSMS Core”