General Question

manuel_alarcon's avatar

When upgraded from appsrv to wamp, wordpress single pages css gone, why?

Asked by manuel_alarcon (299points) January 21st, 2015

Hi, I’ve changed my local testing server (in an old spare notebook) from appsrv to wamp, mainly for php and phpmyadmin latests versions; appsrv only goes to php5.2 and if I wanted to install a new version of phpmyadmin the php version didn’t allow it. So, I uninstalled appserv (installed few months ago, mainly unchanged) and installed wamp; the only thing I did was changing the default server folder, instead of c:/wamp/www now its c:/www; then installed the same version of phpmyadmin my online hosting uses, 4.3 (i think) and everything rolled without problems. Migrated some sites i’ve been working on, and tested them, Ok. cool. So I worked a while on a homepage in wordpress, but when I navigated to a single page, the css was all lost… tried refreshing permalinks, checked the db, the htaccess, the settings on apache, but can’t understand why, when entering a single page the css was all gone, but the data was Ok…

Observing members: 0 Composing members: 0

2 Answers

funkdaddy's avatar

Check your source that’s generated, I would imagine the path to your stylesheet is coming out as a relative path for some reason so it’s not picking up correctly when the path is longer.

Also make sure your “Wordpress Address” and “Site Address” are correct (Settings -> General), along with your theme settings (Appearance -> Themes).

manuel_alarcon's avatar

Hi @funkdaddy !! Now I know what’s the problem! Wamp settings are strict sintax, surely I can change that, but looking at the code now, i realized that the calling to the header was <? ..... so I’ve changed that to <?php…. and it worked like a charm. That happens when you spend a day searching and changing and reconfiguring a server only to find that it doesnt work… and just leave it there. So, problem solved, back to using the notebook… thanks for making me notice the code! I was looking at the server

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther