CSS not loading up

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
urbanbindi
Forum Members
Forum Members
Posts: 38
Joined: Sat Jan 10, 2009 5:12 pm

CSS not loading up

Post by urbanbindi »

For some reason, one of my pages in my site fails to load up the CSS file after migrating to a new server.

All other pages are fine and load up perfectly, i've checked the reference to the CSS file and its correct.  The weird thing is if I view source for this particular page all I get HTML code starting from the tag.  It's like the head doesn't exist.  But in the page template all is fine.

Another problem I'm having is every link within the site has changed to this format:

Home

not sure why this would happen, any ideas?
forbairt
Forum Members
Forum Members
Posts: 19
Joined: Tue Feb 12, 2008 8:40 am

Re: CSS not loading up

Post by forbairt »

I've come up against this issue more than once in the past.

Not exactly sure why it happens but go check your templates on the back end and remove any of the crap you find in there (the index.php? .... ) bits ... and that should solve your issue
urbanbindi
Forum Members
Forum Members
Posts: 38
Joined: Sat Jan 10, 2009 5:12 pm

Re: CSS not loading up

Post by urbanbindi »

thanks, i'll give it a go..
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: CSS not loading up

Post by Wishbone »

I had this exact same issue. Check the page for any UDT and {* comment it out *} and see if it works again. I had a UDT in my template using a ContentOperations function that apparently isn't supported anymore. The output started with and died halfway through. Turning debug on did absolutely nothing. I spent hours trying to figure this out.
urbanbindi
Forum Members
Forum Members
Posts: 38
Joined: Sat Jan 10, 2009 5:12 pm

Re: CSS not loading up

Post by urbanbindi »

this is really annoying me, the template contains no UDT's however once I remove the {content} tags, the page is working fine! I don't get it..  :(
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: CSS not loading up

Post by Dr.CSS »

Have you tried putting the install folder from the version you are running and run install, BUT AT STEP 5 UNTICK THE CREATE TABLES AND INSTALL DEFAULT CONTENT, this will fix any path errors and clean out the site cache...
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: CSS not loading up

Post by Wishbone »

urbanbindi wrote: this is really annoying me, the template contains no UDT's however once I remove the {content} tags, the page is working fine! I don't get it..  :(
If only that page has issues, check the content of that page and see if there is anything special. Try commenting out the whole page and see if it works. Then comment out sections at a time until you narrow down what's causing it.
urbanbindi
Forum Members
Forum Members
Posts: 38
Joined: Sat Jan 10, 2009 5:12 pm

[SOLVED] Re: CSS not loading up

Post by urbanbindi »

ok i got it sorted.  I had around 10 content blocks in the page, and one of them for some reason was causing the problem. Not sure why? it had a unique name as do all the others.  Anyway I've removed it and the page displays correctly.

Only problem now, is that the admin takes quite a while to load up from page to page.. Not sure why this would be happening unless the server is slow..
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: [SOLVED] Re: CSS not loading up

Post by Wishbone »

urbanbindi wrote: Only problem now, is that the admin takes quite a while to load up from page to page.. Not sure why this would be happening unless the server is slow..
In the admin panel, go to "Site Admin" -> "Global Settings"

Check the field "Check for new CMS versions using this URL:" in the "Advanced Setup" tab. If it's blank, set it to "none". This will stop your install from pinging CMSMS for newer versions. This speeds up my admin panels when I do this.
urbanbindi
Forum Members
Forum Members
Posts: 38
Joined: Sat Jan 10, 2009 5:12 pm

Re: [SOLVED] Re: CSS not loading up

Post by urbanbindi »

wishbone wrote:
urbanbindi wrote: Only problem now, is that the admin takes quite a while to load up from page to page.. Not sure why this would be happening unless the server is slow..
In the admin panel, go to "Site Admin" -> "Global Settings"

Check the field "Check for new CMS versions using this URL:" in the "Advanced Setup" tab. If it's blank, set it to "none". This will stop your install from pinging CMSMS for newer versions. This speeds up my admin panels when I do this.
this didn't work.. I've noticed something else though.. I'm getting this weird string in my urls now:
&phpMyAdmin=5476b42dba7e3786b0befeecd143b210
Locked

Return to “[locked] Installation, Setup and Upgrade”