0
Welcome Guest! Login
0 items Join Now

Is RT Drupal templates are compatable

    • Satesh's Avatar
    • Satesh
    • Jr. Rocketeer
    • Posts: 35
    • Thanks: 0

    Is RT Drupal templates are compatable

    Posted 14 years 3 months ago
    • Is RT Drupal templates are pressflow compatable?

      Thanks
      Satesh
    • Luke Whitson's Avatar
    • Luke Whitson
    • Elite Rocketeer
    • Posts: 1284
    • Thanks: 0
    • Lead Developer

    Re: Is RT Drupal templates are compatable

    Posted 14 years 3 months ago
    • We have not tested Pressflow with our themes, but will do so and see if there are any glaring issues.

      If you test it out, send us any issues you may encounter.
    • Satesh's Avatar
    • Satesh
    • Jr. Rocketeer
    • Posts: 35
    • Thanks: 0

    Re: Is RT Drupal templates are compatable

    Posted 14 years 3 months ago
    • Luke Whitson wrote:
      We have not tested Pressflow with our themes, but will do so and see if there are any glaring issues.

      If you test it out, send us any issues you may encounter.

      Sure I am gonna start testing RT theme Nexus on Pressflow starting today, using Cent OS 5 clean install, apache and varnish reverse proxy.

      I will keep posting...
    • Satesh's Avatar
    • Satesh
    • Jr. Rocketeer
    • Posts: 35
    • Thanks: 0

    Re: Is RT Drupal templates are compatable

    Posted 14 years 3 months ago
    • Nope. I am getting lot of errors/warnings.

      I will post log info today evening.
    • Satesh's Avatar
    • Satesh
    • Jr. Rocketeer
    • Posts: 35
    • Thanks: 0

    Re: Is RT Drupal templates are compatable

    Posted 14 years 3 months ago
    • Here are the warnings it is giving on screen:
      Notice: Use of undefined constant preset_style - assumed 'preset_style' in nexus_preprocess_page() (line 172 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/template.php).
      Notice: Use of undefined constant header_style - assumed 'header_style' in nexus_preprocess_page() (line 178 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/template.php).
      Notice: Use of undefined constant body_style - assumed 'body_style' in nexus_preprocess_page() (line 183 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/template.php).
      Notice: Use of undefined constant showcase_style - assumed 'showcase_style' in nexus_preprocess_page() (line 188 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/template.php).
      Notice: Use of undefined constant primary_style - assumed 'primary_style' in nexus_preprocess_page() (line 193 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/template.php).
      Notice: Use of undefined constant footer_style - assumed 'footer_style' in nexus_preprocess_page() (line 198 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/template.php).
      Notice: Use of undefined constant font_family - assumed 'font_family' in nexus_preprocess_page() (line 203 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/template.php).
      Notice: Use of undefined constant default_font - assumed 'default_font' in nexus_preprocess_page() (line 208 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/template.php).
      Notice: Undefined offset: 0 in nexus_preprocess_page() (line 239 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/template.php).
      Notice: Undefined offset: 0 in nexus_preprocess_page() (line 239 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/template.php).
      Notice: Undefined offset: 0 in nexus_preprocess_page() (line 239 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/template.php).
      Notice: Undefined offset: 0 in nexus_preprocess_page() (line 239 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/template.php).
      Notice: Undefined offset: 0 in nexus_preprocess_page() (line 239 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/template.php).
      Notice: Undefined offset: 0 in nexus_preprocess_page() (line 239 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/template.php).
      Notice: Use of undefined constant splitmenu_col - assumed 'splitmenu_col' in include() (line 14 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/rt_utils.php).
      Notice: Use of undefined constant splitmenu_col - assumed 'splitmenu_col' in include() (line 21 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/rt_utils.php).
      Notice: Use of undefined constant _ISO - assumed '_ISO' in include() (line 9 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/rt_head_includes.php).
      Notice: Use of undefined constant js_compatibility - assumed 'js_compatibility' in include() (line 81 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/rt_head_includes.php).
      Notice: Use of undefined constant show_textsizer - assumed 'show_textsizer' in include() (line 46 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/page.tpl.php).
      Notice: Use of undefined constant show_logo - assumed 'show_logo' in include() (line 88 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/page.tpl.php).
      Notice: Use of undefined constant show_breadcrumb - assumed 'show_breadcrumb' in include() (line 177 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/page.tpl.php).
      Notice: Use of undefined constant show_copyright - assumed 'show_copyright' in include() (line 303 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/page.tpl.php).
      Notice: Use of undefined constant copyright_text - assumed 'copyright_text' in include() (line 306 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/page.tpl.php).
      Notice: Use of undefined constant show_topbutton - assumed 'show_topbutton' in include() (line 313 of /var/www/html/pressflow/sites/all/themes/rt_nexus_d6/page.tpl.php).
    • Satesh's Avatar
    • Satesh
    • Jr. Rocketeer
    • Posts: 35
    • Thanks: 0

    Re: Is RT Drupal templates are compatable

    Posted 14 years 3 months ago
    • Only work around for these notices is to change the error reporting to log to file not to screen in drupal. That is fine but for every click on site will log all these messages to log file and log files are growing consistently. Maintaining such large log files in production is cumbersome.

      Is there any work around to get rid of these notices?

      FYI --> bugs.launchpad.net/pressflow/+bug/599183
    • Satesh's Avatar
    • Satesh
    • Jr. Rocketeer
    • Posts: 35
    • Thanks: 0

    Re: Is RT Drupal templates are compatable

    Posted 14 years 3 months ago
    • One more update
      Since I am playing with live site... I have updated my php.ini error_reporting to E_ALL $ ~E_NOTICE

      Which solved the problem with out changing drupal settings.

      Over all after installing acp and varnish on pressflow apache bench marks shown huge results. Requests per sec went from 130 to 2400. I am really impressed with pressflow.

      Here are the results:
      Before -->
      [root@javaj2ee modules]# ab -n 100 http://dev.javaj2ee.com/pressflow/
      This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
      Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
      Copyright 2006 The Apache Software Foundation, http://www.apache.org/
       
      Benchmarking dev.javaj2ee.com (be patient).....done
       
       
      Server Software:        Apache/2.2.3
      Server Hostname:        dev.javaj2ee.com
      Server Port:            80
       
      Document Path:          /pressflow/
      Document Length:        20796 bytes
       
      Concurrency Level:      1
      Time taken for tests:   0.727843 seconds
      Complete requests:      100
      Failed requests:        0
      Write errors:           0
      Total transferred:      2120690 bytes
      HTML transferred:       2079600 bytes
      Requests per second:    137.39 [#/sec] (mean)
      Time per request:       7.278 [ms] (mean)
      Time per request:       7.278 [ms] (mean, across all concurrent requests)
      Transfer rate:          2844.02 [Kbytes/sec] received
       
      Connection Times (ms)
                    min  mean[+/-sd] median   max
      Connect:        0    0   0.0      0       0
      Processing:     0    6  68.4      0     684
      Waiting:        0    6  68.4      0     684
      Total:          0    6  68.4      0     684
       
      Percentage of the requests served within a certain time (ms)
        50%      0
        66%      0
        75%      0
        80%      0
        90%      0
        95%      0
        98%      0
        99%    684
       100%    684 (longest request)

      And After --->
       
      [root@javaj2ee modules]# ab -n 100 http://dev.javaj2ee.com/pressflow/
      This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
      Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
      Copyright 2006 The Apache Software Foundation, http://www.apache.org/
       
      Benchmarking dev.javaj2ee.com (be patient).....done
       
       
      Server Software:        Apache/2.2.3
      Server Hostname:        dev.javaj2ee.com
      Server Port:            80
       
      Document Path:          /pressflow/
      Document Length:        20796 bytes
       
      Concurrency Level:      1
      Time taken for tests:   0.43886 seconds
      Complete requests:      100
      Failed requests:        0
      Write errors:           0
      Total transferred:      2120800 bytes
      HTML transferred:       2079600 bytes
      [root@javaj2ee modules]# ab -n 100 http://dev.javaj2ee.com/pressflow/
      This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
      Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
      Copyright 2006 The Apache Software Foundation, http://www.apache.org/
       
      Benchmarking dev.javaj2ee.com (be patient).....done
       
       
      Server Software:        Apache/2.2.3
      Server Hostname:        dev.javaj2ee.com
      Server Port:            80
       
      Document Path:          /pressflow/
      Document Length:        20796 bytes
       
      Concurrency Level:      1
      Time taken for tests:   0.44754 seconds
      Complete requests:      100
      Failed requests:        0
      Write errors:           0
      Total transferred:      2120800 bytes
      HTML transferred:       2079600 bytes
      Requests per second:    2234.44 [#/sec] (mean)
      Time per request:       0.448 [ms] (mean)
      Time per request:       0.448 [ms] (mean, across all concurrent requests)
      Transfer rate:          46275.20 [Kbytes/sec] received
       
      Connection Times (ms)
                    min  mean[+/-sd] median   max
      Connect:        0    0   0.0      0       0
      Processing:     0    0   0.0      0       0
      Waiting:        0    0   0.0      0       0
      Total:          0    0   0.0      0       0
       
      Percentage of the requests served within a certain time (ms)
        50%      0
        66%      0
        75%      0
        80%      0
        90%      0
        95%      0
        98%      0
        99%      0
       100%      0 (longest request)
       

Time to create page: 0.066 seconds