Announcement

Collapse
No announcement yet.

CSS Stylesheets sometimes don't load

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • sweetpotato
    replied
    Originally posted by Maurd View Post
    If it is completely blank, it has nothing to do with your CSS. This is what it would look like if your CSS failed to load: [ATTACH=CONFIG]59371[/ATTACH] I understand what the compression is, but with third-party products enabled you can't be sure it's a vBulletin issue. It is my understanding that just disabling the product is not enough for vBSEO, though I can be wrong since I do not use it.
    I have exactly the same error. Just after upgrading to 4.2.1. don't store CSS Stylesheets as file fix the issue

    Leave a comment:


  • Antonio Pereira
    replied
    Originally posted by Wayne Luke View Post
    Even when they are loaded in the file system, it still uses css.php.
    But now the problem is gone, the page dont brake anymore.

    Best Regards

    Leave a comment:


  • Wayne Luke
    replied
    Originally posted by Antonio Pereira View Post
    But now the error show the is file css.php creating memory problem, so i move the css files to the filesystem:
    AdminCP/Setting/Options-Style and Language Settings

    Even when they are loaded in the file system, it still uses css.php.

    Leave a comment:


  • Wayne Luke
    replied
    Originally posted by Antonio Pereira View Post
    I have the same problem with a new forum fresh installation database blank(new), sometimes the css brake and dont load all the page.

    Error Log
    Code:
     (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/domain/public_html/vbseo.php, referer: http://www.domain.com/forum.php  
    (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/domain/public_html/cron.php, referer: http://www.domain.com/forum.php
    So i disabled all the vbseo and delete the .htacess (vbseo) in the root, and the problem show in the same way brake layout sometimes and the forum is new and is not public yet so there is no users only my testing.

    But now the error show the is file css.php creating memory problem, so i move the css files to the filesystem:
    AdminCP/Setting/Options-Style and Language Settings

    Now i have to do some other tests to check the problem come back, but this is strange.
    This is a server configuration error related to running suphp.exe. You need to make sure the process and PHP scripts have access to at least 32 MB of memory for each instance. Though if you're on a 64-bit OS, you may need even more memory allocated.

    Leave a comment:


  • Andy
    replied
    Originally posted by Antonio Pereira View Post
    I have the same problem with a new forum fresh installation database blank(new), sometimes the css brake and dont load all the page.
    What type of server are you running om? How much does it cost per month?

    Leave a comment:


  • Antonio Pereira
    replied
    I have the same problem with a new forum fresh installation database blank(new), sometimes the css brake and dont load all the page.

    Error Log
    Code:
     (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/domain/public_html/vbseo.php, referer: http://www.domain.com/forum.php  
    (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/domain/public_html/cron.php, referer: http://www.domain.com/forum.php
    So i disabled all the vbseo and delete the .htacess (vbseo) in the root, and the problem show in the same way brake layout sometimes and the forum is new and is not public yet so there is no users only my testing.

    But now the error show the is file css.php creating memory problem, so i move the css files to the filesystem:
    AdminCP/Setting/Options-Style and Language Settings

    Now i have to do some other tests to check the problem come back, but this is strange.

    Leave a comment:


  • Andy
    replied
    Originally posted by fishlore View Post
    I have the option checked to store the css in the file system.
    I suggest putting the css back into the database. The file system isn't any faster anyway.

    Leave a comment:


  • Muhammad
    replied
    I have the EXACT same issue. Haven't figured it out as of yet. The CSS errors out... and re-saving headinclude fixes it. Makes no sense.

    Leave a comment:


  • Trevor Hannant
    replied
    Did you try navigating to the file that the CSS is being served from? Was it accessible in your browser or blocked for some reason?

    Leave a comment:


  • fishlore
    replied
    When the forum broke today it still loaded the content but the page in the browser appeared blank. I right clicked and viewed source and attached the source as a text file to this post.
    Attached Files

    Leave a comment:


  • Wayne Luke
    replied
    Originally posted by fishlore View Post
    This just happened again. The forum loaded a blank screen. I completely disabled the vbseo plugin and it was still broken, wouldn't load the forum correctly. So, I don't think this has anything to do with vbseo.
    A blank screen usually means a PHP error. It has nothing to do with the loading of CSS. Errors involving CSS not loading would still load the content.
    I looked at the page source and it looked ok so I went into the templates table and the headinclude template was different... I copied all the data and attached the broken and fixed versions (just had to resave the headinclude template to fix the issue).
    Sounds like you're having problems with database caching or someone is modifying your templates directly. This field is not exposed in the software and the broken is probably generating the PHP error.
    I also see a couple of templates with styleid of -20 and -2 with a username of "freddie". I don't know who freddie is. In looking at the templates assigned to the username freddie I see the same strange code at the bottom of the template that is in the attached broken template that loads when the forum breaks. Look at the "$final_rendered .=". Is it ok to delete these templates assigned to the user freddie?
    This is your Master Mobile Style. Freddie is a senior developer with vBulletin and has been working on the software for over a decade. Deleting the templates will destroy functionality in your software.

    Any other ideas on what's causing this?
    Off the top of my head, your server is compromised.

    Leave a comment:


  • fishlore
    replied
    Apache server.
    • Intel Xeon 3470+ (Quad Core)
    • 8 GB DDR3 Memory

    I have tried restarting sql and then rebooted the server and it did not fix the issue.

    The issue appears to be that the default style is being overwritten with one of those older templates (styleid -20,-10,-2, etc) in some process that I don't know of...

    - - - Updated - - -

    Originally posted by Ramsesx View Post
    Maybe a browser cache issue or something like that? Have you experienced this on different browsers? Have users complained about it?
    Not a cache issue and yes, users have complained. They actually send me emails when it happens.

    Leave a comment:


  • Ramsesx
    replied
    Maybe a browser cache issue or something like that? Have you experienced this on different browsers? Have users complained about it?

    Leave a comment:


  • ZeroHour
    replied
    Can you tell us a bit more about your server? Aka nginx/apache/xcache etc
    Does restarting the web server service fix it?

    Leave a comment:


  • fishlore
    replied
    This just happened again. The forum loaded a blank screen. I completely disabled the vbseo plugin and it was still broken, wouldn't load the forum correctly. So, I don't think this has anything to do with vbseo.

    I looked at the page source and it looked ok so I went into the templates table and the headinclude template was different... I copied all the data and attached the broken and fixed versions (just had to resave the headinclude template to fix the issue).

    I also see a couple of templates with styleid of -20 and -2 with a username of "freddie". I don't know who freddie is. In looking at the templates assigned to the username freddie I see the same strange code at the bottom of the template that is in the attached broken template that loads when the forum breaks. Look at the "$final_rendered .=". Is it ok to delete these templates assigned to the user freddie?

    Any other ideas on what's causing this?

    fields-template-broken.txt
    fields-template-fixed.txt

    Leave a comment:

Related Topics

Collapse

Working...
X