Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The css breaks on anonymous...It works fine while logged in or trying to log in..But first time users on i.e. platforms and others it breaks instantly.
Permissions are all set properly.
Go to
http://www.betabug.net/xapris/
then if you see it properly simply hit refresh and it breaks everytime..if it didn't break when you hit this page..
thanks!
Comments
Comment #1
mojos CreditAttribution: mojos commentedI have the same issue, looks like the css is not added to the head tag when anonymous.
link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/fpss/fpss/css/fpss-XXX.css?c"
What can be causing this?
Comment #2
Leif Robertson CreditAttribution: Leif Robertson commentedJust to add..When it's working the css is on the bottom of the page..when it's not the css is gone..
So when your logged in or trying to log in the css displays in the code:
but when you first hit the site or refresh once without logging in it breaks and you get nothing:
----
Why isn't the css loading as anonymous when I have it set properly in the permissions?
Comment #3
Leif Robertson CreditAttribution: Leif Robertson commentedAnyone have insight on this yet?
I gotta go w. the static version if this doesn't work on while logged out..Again permissions are set...I even tried hard coding this it into the page.tpl but it seems to disappear..Is this a theme conflict possibly?
Comment #4
mojos CreditAttribution: mojos commentedThis is a show stopper for me and anyone else trying to use this module with Drupal
sadly If I can't find a solution to this will have to move back to Joomla :(
Comment #5
ARray CreditAttribution: ARray commentedPlease read this:
http://drupal.org/node/458664
I guess it is not module related bug but it is a drupal bug.
Comment #6
Leif Robertson CreditAttribution: Leif Robertson commentedI really don't think that its the same. If you read the post they RAN CRON and cleared the cache and the issue was gone. THis issue still remains after CRON and CACHE cleared...
Comment #7
jordancl CreditAttribution: jordancl commentedI have the exact opposite issue. When I am working as an authenticated user, the CSS will not load. But when I am anonymous, it will load fine.
Comment #8
jcmwebs CreditAttribution: jcmwebs commentedI was having the same problem, that is the slider was not being displayed for anonymous users.
The problem was solved bye replacing the following lines in the fpss.module (line 841)
$sql = "SELECT * FROM {node} n JOIN {node_revisions} r ON n.vid = r.vid JOIN {fpss_slides} f ON f.vid = r.vid JOIN {upload} a ON a.vid = r.vid JOIN {files} q ON q.fid = a.fid WHERE n.type = '%s' AND n.status = %d AND f.ssid = %d";
with this one:
$result = db_query ("SELECT * FROM {node} n JOIN {node_revisions} r ON n.vid = r.vid JOIN {fpss_slides} f ON f.vid = r.vid JOIN {upload} a ON a.vid = r.vid JOIN {files} q ON q.fid = a.fid WHERE n.type = '%s' AND n.status = %d AND f.ssid = %d",'fpss_slide', 1, $delta);
I am not sure if this effects something else, but up till now it is work for me.
Comment #9
techgirlgeek CreditAttribution: techgirlgeek commentedThat rewrite only compiles line 841 and line 842 ($result = db_query(db_rewrite_sql($sql), 'fpss_slide', 1, $delta);) while removing the db_rewrite_sql. This would not affect the css not being visible to anonymous users.
Has anyone found a better solution to this issue?
Comment #10
techgirlgeek CreditAttribution: techgirlgeek commentedI finally "fixed" or I should say saw this issue resolve after turning off Block Caching in the admin/settings/performance. All other performance enhancements are enabled including using the javascript aggregation module for optimizing and minifying js files. The only other setting that is disabled is Page Compression since our web server is already handling that.