Announcement

Collapse
No announcement yet.

template.php server load

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

  • template.php server load

    Hello,

    I have installed a custom skin located on vbulletin.org and utilize Vbulletin 3.5.3 with a few installed hacks.

    Lately when trying to modify the FORUMHOME template in the mentioned style, it wont save and causes the server load to increase significantly.

    Is there a common issue that I may look at to find the culprit?

    Top Process %CPU 33.6 httpd [www.*****.com] [/forums/admincp/template.php]
    Top Process %CPU 33.5 httpd [www.*****.com] [/forums/admincp/template.php]
    Top Process %CPU 33.4 httpd [www.*****.com] [/forums/admincp/template.php]

    Each instance of trying to save the modifications creates another process(s), that seems to loop to infinity.

    Any general pointers would be appreciated.

  • #2
    Try first to save it without any change. These kind of symptoms are mostly caused by a wrongly formed conditional expression.
    Want to take your board beyond the standard vBulletin features?
    Visit the official Member to Member support site for vBulletin Modifications: www.vbulletin.org

    Comment


    • #3
      Without doing any template modifications FORUMHOME will save as designed, but adding any modified code will cause the server load to increase and create the above mentioned process(s).

      From what I am reading in your reply, the code that I was trying to add, was missing something, this could be a <if> </if> or any combination?

      Am I in the general ball park?

      Thanks

      Comment


      • #4
        Yes, it could be a missing </if>, > or a missing quote in a condition. But could also be caused by other things. I suggest you try to make small changes at a time until you find the problem.
        Want to take your board beyond the standard vBulletin features?
        Visit the official Member to Member support site for vBulletin Modifications: www.vbulletin.org

        Comment


        • #5
          LOL,

          Been staring at it for 3 days. Each change causing a small portion of life to be slowly snapped away

          I wish VB produced an error report stating what trouble it ran into somewhere, like an error log?

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X