OXID Community Forum

> International Forums > Installation and configuration > CSS Layout Problem via Internet
Login
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Thread: CSS Layout Problem via Internet


Reply
 
Thread Tools Display Modes
#Top   #1  
Old 10-26-2010, 04:59 PM
vastatio vastatio is offline
Junior Member
Join Date: Oct 2010
Posts: 5
vastatio is on a distinguished road
Default CSS Layout Problem via Internet

I just installed Oxid eShop CE successfully on my local Mac using MAMP and within my Local Area Network it is working fine.

But now I want to publish the eShop so that my friends can access the page.

My localmachine IP is 192.168.2.105

Apache is running on 8888

In my router settings i enabled the portforwarding for port 8888 to 192.168.2.105

THE PROBLEM:
If somebody tries to access the website by entering my WANIP:8888 the content is actually loading but the layout is missing completely. So you can just the text line but CSS is ignored.

Does anybody know how to fix this?

Thanks in advance.
Reply With Quote
#Top   #2  
Old 10-27-2010, 10:00 AM
ChristophH ChristophH is offline
Senior Member
Join Date: Apr 2009
Posts: 2,243
ChristophH is on a distinguished road
Default AW: CSS Layout Problem via Internet

Have you checked the path to the css. Ist correct or is there something missing?
I would say your shop is using the wrong domain accessing the file.

Last edited by ChristophH; 10-27-2010 at 10:03 AM.
Reply With Quote
#Top   #3  
Old 10-27-2010, 10:18 AM
vastatio vastatio is offline
Junior Member
Join Date: Oct 2010
Posts: 5
vastatio is on a distinguished road
Default Re: CSS Layout Problem via Internet

Thanks for the hint. But in which file is the path to the css file defined and why does it work within LAN but not via Internet?
Reply With Quote
#Top   #4  
Old 10-27-2010, 12:19 PM
ChristophH ChristophH is offline
Senior Member
Join Date: Apr 2009
Posts: 2,243
ChristophH is on a distinguished road
Default AW: CSS Layout Problem via Internet

Probably because the shop uses another local-ip then from outside. You should find this info in your source-code like mentioned before. Have a look at your confic.inc.php. file.
Reply With Quote
#Top   #5  
Old 10-27-2010, 01:39 PM
vastatio vastatio is offline
Junior Member
Join Date: Oct 2010
Posts: 5
vastatio is on a distinguished road
Default Re: CSS Layout Problem via Internet

I checked the confic.inc.php and I changed the name from localhost to the specific IP address already before.

$this->sShopURL = 'http://192.168.2.105:8888'; // eShop base url, required

So that doesn't seem to be the reason for the missing style sheets :-(
Reply With Quote
#Top   #6  
Old 10-27-2010, 01:52 PM
leofonic leofonic is offline
Senior Member
Join Date: Oct 2009
Posts: 2,186
leofonic is on a distinguished road
Default AW: Re: CSS Layout Problem via Internet

Quote:
Originally Posted by vastatio View Post
I checked the confic.inc.php and I changed the name from localhost to the specific IP address already before.

$this->sShopURL = 'http://192.168.2.105:8888'; // eShop base url, required

So that doesn't seem to be the reason for the missing style sheets :-(
This is still the inside IP, which is not accessible from outside. You have to enter WANIP:8888 there.
Reply With Quote
#Top   #7  
Old 10-27-2010, 04:06 PM
vastatio vastatio is offline
Junior Member
Join Date: Oct 2010
Posts: 5
vastatio is on a distinguished road
Default Re: CSS Layout Problem via Internet

Ok, I will check that and change it to the WAN IP...

I thought the local IP would be correct here because I set the rule in my router that all incoming requests to port 8888 from the Internet are automatically forwarded to 192.168.2.105

Anyway, I will try and see
Reply With Quote
#Top   #8  
Old 10-27-2010, 04:31 PM
leofonic leofonic is offline
Senior Member
Join Date: Oct 2009
Posts: 2,186
leofonic is on a distinguished road
Default AW: Re: CSS Layout Problem via Internet

Quote:
Originally Posted by vastatio View Post
I thought the local IP would be correct here because I set the rule in my router that all incoming requests to port 8888 from the Internet are automatically forwarded to 192.168.2.105
This IP is used in the generated Html-Code to point to ressources like stylesheets etc., and from outside only the outside IP points to your router.
Reply With Quote
#Top   #9  
Old 10-27-2010, 05:07 PM
vastatio vastatio is offline
Junior Member
Join Date: Oct 2010
Posts: 5
vastatio is on a distinguished road
Default Re: CSS Layout Problem via Internet

GREAT, IT WORKS

The shop can now be reached properly via Internet!

Thanks a lot to leofonic and ChristophH :-)
Reply With Quote
Reply

Bookmarks

Tags
css, internet, layout, problem

« Previous Thread | Next Thread »
Thread Tools
Display Modes

Nicht Sichtbar
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Layout Bestellprozess - Problem Redering user.tpl rene.bader Templates und Design 2 05-18-2010 11:51 AM
www.firstRIDER.de - Ihr Reitshop im Internet fseddig Showroom 2 05-03-2010 11:48 AM
CSS für den Internet Explorer - Verständnisfrage Ramses III Templates und Design 1 11-11-2009 08:46 PM
Problem bei Layout-Anpassung Chewbacca Newbies 1 07-10-2009 10:18 PM
Produktdetails - Fehler im Internet Explorer vdnowas Templates und Design 2 04-29-2009 01:41 PM

All times are GMT +2. The time now is 04:07 AM.