I had been working on a view, creating custom views templates for a specific view field which contains only the following:
<?php
print views_embed_view('testuras', 'default', $field['tid']->content);
?>In the midst of me working on this the site suddenly and without warning no longer loads any images/css from my theme (a custom zen theme). I'm not smart enough to know if it is recognising my theme at all anymore. Changing to one of the themes included with Drupal produces the same result.
I tried removing my custom views template, which I know sounds ridiculous but it is the only thing I've changed, but there is no change.
I've been flushing caches the whole time to pick up my custom template changes and Ctrl+F5'ing, but it won't load my theme.
Does anyone know what might have happened?
UPDATE: Solved!
To save others the need to read all responses, the problem was webhosting-based. They explained that there was a security update and I had a hidden .htaccess that was missing a line (I hope this makes sense to someone).
Comments
=-=
are the stylesheets printing in the head of the source code?
any errors in your drupal logs?
have you tried with another browser?
Thanks for the reply, I
Thanks for the reply, I didn't think to check if the css from my theme is loading from the source :)
I can confirm that it is not loading the css from my theme, but is from various modules I am using (which there has been no recent change with). I've tested in IE and Firefox but the same problem exists, I really hope it's going to be one of those forehead slapping, 'Doh!' moments.
FYI, the site is www.cibus.co.th (yes - a production site and this is a nightmare).
=-=
have you checked your drupal recent entries log yet?
as a test:
disable js and css optimization in administer -> performance
you're getting a javascript error with reference to jquery. May want to turn on firebug. Not sure if its related to the issue at hand but i bet its headnig in the right direction.
Making progress!
I checked the recent entries log and there are a lot of page not found errors for 500.shtml related to anything residing in /sites/default/files/. There was also a reference to an orphaned action.
I disabled js and css compression and that all seems to be working now, except for any reference to files in the aforementioned directory such as the site logo and any images not held in the theme folder.
Can you give me any idea as to what I should be looking for in firebug? What I've been able to find so far shows errors when referring to anything in /sites/default/files/. I've checked the directory permissions and everything seems to appear as it normally does.
PS Thanks for all the invaluable help so far.
i have the same problem, but
i have the same problem, but on my case my themes is not affected, maybe its because i have my theme under the core themes folder not on sites folder
www.raincreativelab.com
I can't see on your site
I can't see on your site where any images are missing because I don't know what it looked like before. Can you provide an example page that helps to illustrate your problem?
Here is an example page
Here is an example page http://ps333.net/album/david-generation im using photos module...
I have three sites running on my hosting, and found out that its happening in all three
www.raincreativelab.com
Ah yes, I see. That looks
Ah yes, I see. That looks like exactly the same problem that I have. I will contact Bluehost and see what they say too.
Thanks! That works!
Thanks! That works!
@harrisben can you provide
@harrisben
can you provide what line in the htaccess was missing?
www.raincreativelab.com
http://drupal.org/node/701994
http://drupal.org/node/701994
Thanks for pointing me out to
Thanks for pointing me out to the thread!!
www.raincreativelab.com