Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-02-17 18:52:05

WhiteDog
Member
From: Maine
Registered: 2005-09-07
Posts: 174

CSS won't link up and all images uploaded will not load.

This may or may not have pertinence but I did rename the textpattern directory according to the manual linked to me by ZEM, I also checked the manual for similar problems but could not find the answer that suited my needs. I have installed TXP with this host before and had no problems.
Any insight is GREATLY appreciated.

Thank you!

Below is my debug info if applicable

_<!— Runtime: 1.0715 —>
<!— Query time: 1.04594 —>
<!— Queries: 16 —>
<!— Memory: no info available —>
<!— txp tag trace:
[SQL (0.465656): select name from txp_lang where lang=‘en-us’ limit 1]
[SQL (0.036215): select name, data from txp_lang where lang=‘en-us’ AND ( event=‘public’ OR event=‘common’)]
[SQL (0.068541): select name, code, version from txp_plugin where status = 1]
[SQL (0.023992): select * from txp_section where name = ‘default’ limit 1]
[SQL (0.086055): select host from txp_log where ip=’‘ limit 1]
[SQL (0.188499): insert into txp_log set `time`=now(),page=’/index.php’,ip=’‘,host=’‘,refer=’‘,status=‘200’,method=‘GET’]
[SQL (0.015512): select user_html from txp_page where name=‘default’]
[Page: default]
<txp:feed_link flavor=“rss” format=“link” label=“RSS” />
<txp:feed_link label=“subscribe to feed” />
<txp:article_custom form=“featured” category=“featured” limit=“1” /> [SQL (0.017212): select *, unix_timestamp(Posted) as uPosted from textpattern where 1 and Status = 4 and Posted <= now() and ((Category1=‘featured’) or (Category2=‘featured’)) order by Posted desc limit 0, 1] [SQL (0.015978): select Form from txp_form where name=‘featured’] [Form: featured] [article 2] <txp:permlink/> <txp:article_image/> [SQL (0.017303): select * from txp_image where id = 3] <txp:permlink/> <txp:title/>
<txp:search_input wraptag=”“ /> [SQL (0.017692): select form from txp_form where `name` = ‘search_input’ limit 1]
<txp:article limit=“5” /> [SQL (0.017682): select name from txp_section where on_frontpage != ‘1’] [SQL (0.028119): select count(*) from textpattern where 1 and Status = 4 and Posted <= now()and Section != ‘about’] [SQL (0.017869): select *, unix_timestamp(Posted) as uPosted from textpattern where 1 and Status = 4 and Posted <= now()and Section != ‘about’ order by Posted desc limit 0, 5] [SQL (0.015038): select Form from txp_form where name=‘default’] [Form: default] [article 2] <txp:permlink> <txp:title/> </txp:permlink> <txp:posted/> <txp:body/> <txp:comments_invite wraptag=“p” /> [article 1] <txp:permlink> <txp:title/> </txp:permlink> <txp:posted/> <txp:body/> <txp:comments_invite wraptag=“p” />
<txp:if_individual_article> [<txp:if_individual_article>: false] <txp:older> </txp:older> <txp:newer> </txp:newer>
</txp:if_individual_article>
[ ~~~ secondpass ~~~ ] —>_


Grrr RRR nnndth grrr Skeek!

Offline

#2 2007-02-17 18:54:59

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: CSS won't link up and all images uploaded will not load.

Could you provide a URL? Have you tried flushing the cache in your browser?

Offline

#3 2007-02-17 18:58:45

WhiteDog
Member
From: Maine
Registered: 2005-09-07
Posts: 174

Re: CSS won't link up and all images uploaded will not load.

YEs Ihave flushed the cache, history etc quite thoroughly. Unfortunately, I cannot provide a URL due to a contract set with the client.


Grrr RRR nnndth grrr Skeek!

Offline

#4 2007-02-17 20:17:53

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: CSS won't link up and all images uploaded will not load.

Bit hard to help you without a URL :-) Perhaps your issue is the fact you have TXP in a sub-directory, in which case your should check the path to the site in “preferences”, and also in config.php

If all is ok, then the only other thing that could cause a problem is that your tag calling the CSS file is incorrect. Perhaps you could show us the tag?

Offline

#5 2007-02-17 20:25:20

WhiteDog
Member
From: Maine
Registered: 2005-09-07
Posts: 174

Re: CSS won't link up and all images uploaded will not load.

well i am more concerned about the corrupt / missing images not showing up. I solved the css problem by linking to my own external css sheet with an absolute URl. I am not really a fan of editing code in the TXP interface.

But I did not think the reason the images might not be working is becasue i have the .htacccess file pointing to the index.html instead for development purposes. Let em check that.


Grrr RRR nnndth grrr Skeek!

Offline

#6 2007-02-17 20:31:23

WhiteDog
Member
From: Maine
Registered: 2005-09-07
Posts: 174

Re: CSS won't link up and all images uploaded will not load.

HA HA HA HA boy do I feel like an idiot, I had an extra / in the path of the site all is wel now!

Thanks for troubleshooting my stupidity!


Grrr RRR nnndth grrr Skeek!

Offline

#7 2007-02-17 20:46:47

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: CSS won't link up and all images uploaded will not load.

Well the main thing is you fixed the problem :-) Good luck with your project…

Offline

Board footer

Powered by FluxBB