new user - css not imported
Posted by: Aparato (---.203.201.26.dyn.user.ono.com)
Date: March 24, 2013 12:50PM

Hi - just switched from standalone Apache/MySQL to wampserver 2.2 (plus to new machine running W8)

My Drupal development site I downloaded into subfolder at c:/wamp/www/xxxxxxx

I have mod_rewrite turned on.

Problem: when I access the site under wamp I only get a text only version! (using webdeveloper I can see that the css files are initially being accessed (Embedded CSS from [127.0.0.1]), but the following list of files are typically..[xxxxxxx] with no content .. accessing this file directly shows the css!

pulling my hair out on this one, any one help?

Options: ReplyQuote
Re: new user - css not imported
Posted by: stevenmartin99 (Moderator)
Date: March 24, 2013 01:13PM

1. What's the exact URL in the browser when you see the text only version?

2. View the source in he browser. What's the line of code for the CSS include?

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: new user - css not imported
Posted by: Aparato (---.203.201.26.dyn.user.ono.com)
Date: March 24, 2013 01:39PM

I'm finding WAMP really slow .. so have tried both localhost and 127.0.0.1 - both give same result so here's what I see with 127:

1. [127.0.0.1]

2. first line only, all others same addressing:
<style type="text/css" media="all">@import url("[infoloko]winking smiley;


WAMP installation is at c:/wamp with my site in c:/wamp/www/infoloko/

Options: ReplyQuote
Re: new user - css not imported
Posted by: Aparato (---.203.201.26.dyn.user.ono.com)
Date: March 24, 2013 02:24PM

sorry didn't realise the forum software modified content - in the following replace # with /

1. http:##127.0.0.1#infoloko#

2. first line only, all others same addressing:
<style type="text/css" media="all">@import url("http:##infoloko#modules#system#system.base.css?mk4eq8" -- there's a closing bracket and semicolon but that shows here as a smiley!

Options: ReplyQuote
Re: new user - css not imported
Posted by: Aparato (---.203.201.26.dyn.user.ono.com)
Date: March 27, 2013 06:33PM

can anyone help me please.
TIA

Options: ReplyQuote
Re: new user - css not imported
Posted by: RiggsFolly (---.as13285.net)
Date: March 27, 2013 10:43PM

I am just checking here.

You do know that you are trying to import from the live website and not your localhost site dont you. Would the trip to the live server to get the stylesheet explain your speed issue?

Also using @import does not wait for the load to complete before stating to paint the page and therefore can cause a double take as it styles the page after it has already painted without any css being applied.

Options: ReplyQuote
Re: new user - css not imported
Posted by: Aparato (---.203.201.26.dyn.user.ono.com)
Date: March 28, 2013 04:13PM

whoa!

Blindingly obvious but I hadn't spotted that .. will investigate further.

using @import .. this is drupal code so I have no control over it's use.

Thanks for the input

Options: ReplyQuote


Sorry, only registered users may post in this forum.