SMF locally => ok -- via dyndns, css is not interpreted

Started by Kericoul, April 17, 2007, 10:13:34 AM

Previous topic - Next topic

Kericoul

Hi.
I'm french, sorry for my english  ;D

I've installed the CMS Joomla. Just joomla, not other component. I use easyphp 1.8.0.1.
I've installed SMF 1.1.2 with the bridge 1.1.7, It works very well.
But It works very well locally.
Because when I want to access at the forum by internet, by my dyndns, SMF works but the css in not interpreted.
How can I do for resolve this problem ?
I think that it is necessary to modify the "settings.php" file.

somebody can you it help me ?

Thanks  :D



Kindred

what is dyndns?

What is the path to SMF in your SMF settings?
What is the URL to SMF in your SMF settings?
What is the path to SMF in your bridge settings?

Give us a URL to test?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Kericoul

Thanks for your answer

Quotewhat is dyndns?
Dyndns is a redirection for IP dynamic
hxxp:www.dyndns.com/services/dns/dyndns/ [nonactive]

QuoteWhat is the path to SMF in your SMF settings?
c:\program files\easyphp1-8\www\joomla\forum

QuoteWhat is the URL to SMF in your SMF settings?
hxxp:127.0.0.1/joomla/forum [nonactive]

QuoteWhat is the path to SMF in your bridge settings?
c:/program files/easyphp1-8/www/joomla/forum

QuoteGive us a URL to test?
No, I don't want that all people connect on my PC ;)
The forum is present and work but css is not interpreted
local => forum is ok
by internet => css is not interpreted

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Kericoul

Yes, it's normal.
127.0.0.1 is a local address (loopback address)
It's the address of my WebServer.
It's why I've need dyndns.

For Joomla, I had the same problem.
For resolve the problem, I've change this parameter in the "configuration.php" file :
Before :

$mosConfig_live_site = 'http://127.0.0.1/joomla';

After :

if ($_SERVER['HTTP_HOST']=="127.0.0.1"){
$mosConfig_live_site = 'http://127.0.0.1/joomla';
} else {
$mosConfig_live_site = 'http://***.dyndns.org/joomla';
}


I think it's possible to do the same thing for SMF.
Maybe in the "Settings.php" file ?

Herman's Mixen

localhost ipadress 127.0.0.1 is not routable for internet resources for this you need your outside ip adres what is given to you from your ISP that's what you need to change...

and maybe you have to change the paths for joomla and smf...
Met vriendelijke groet, The Burglar!

 House Mixes | Mixcloud | Any Intelligent fool can make things bigger, more complex, and more violent.
It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Albert Einstein

Former Godfather of our dutch community ;)

Kindred

the bridge will not work with those kind of redirects.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Rudolf

If you use dyndns you have to set all the paths to your url dyndns is giving to you.
Set the paths in Settings.php to the public url.
Upload a repair_settings.php (What is repair_settings.php?) and open your forum from the internet using the public url.
Correct the paths by clicking on the blue link below the text boxes.
It should work after this. You should access the forum from the public address even locally.  It's the same.


PS: Joomla, SMF and the bridge should work just fine
I will update all my mods in the next few weeks. Thanks for your patience.

SVG-Collapse (you need an SVG compliant browser)

Kericoul

Ok.

which parameter I must change in Settings.php please ?

Rudolf

In the Settings.php you have to change only $boardurl.
Then the repair_settings.php should do the rest. (-> it will change some values in the database)
I will update all my mods in the next few weeks. Thanks for your patience.

SVG-Collapse (you need an SVG compliant browser)

Advertisement: