php errors with mediaxxx

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • defunk
    Confirmed User
    • May 2011
    • 152

    #1

    php errors with mediaxxx

    Hey guys, I'm installing mediaxxx and am getting hit with

    Code:
    Strict Standards: Non-static method STemplate::create() should not be called statically in /home/defunk/public_html/SOMEAWESOMENEWSITE.COM/libraries/mysmarty.class.php on line 42
    
    Strict Standards: Non-static method STemplate::assign() should not be called statically in /home/defunk/public_html/SOMEAWESOMENEWSITE.COM/include/config.php on line 65
    
    Strict Standards: Non-static method STemplate::assign() should not be called statically in /home/defunk/public_html/SOMEAWESOMENEWSITE.COM/include/config.php on line 65
    
    Strict Standards: Non-static method STemplate::assign() should not be called statically in /home/defunk/public_html/SOMEAWESOMENEWSITE.COM/include/config.php on line 65
    
    Strict Standards: Non-static method STemplate::assign() should not be called statically in /home/defunk/public_html/SOMEAWESOMENEWSITE.COM/include/config.php on line 65
    
    Strict Standards: Non-static method STemplate::assign() should not be called statically in /home/defunk/public_html/SOMEAWESOMENEWSITE.COM/include/config.php on line 65
    
    Strict Standards: Non-static method STemplate::assign() should not be called statically in /home/defunk/public_html/SOMEAWESOMENEWSITE.COM/include/config.php on line 65
    
    Strict Standards: Non-static method STemplate::assign() should not be called statically in /home/defunk/public_html/SOMEAWESOMENEWSITE.COM/include/config.php on line 65
    
    Strict Standards: Non-static method STemplate::assign() should not be called statically in /home/defunk/public_html/SOMEAWESOMENEWSITE.COM/include/config.php on line 65
    
    Strict Standards: Non-static method STemplate::assign() should not be called statically in /home/defunk/public_html/SOMEAWESOMENEWSITE.COM/include/config.php on line 65
    
    Strict Standards: Non-static method STemplate::assign() should not be called statically in /home/defunk/public_html/SOMEAWESOMENEWSITE.COM/include/config.php on line 65
    
    Strict Standards: Non-static method STemplate::assign() should not be called statically in /home/defunk/public_html/SOMEAWESOMENEWSITE.COM/include/config.php on line 65
    PHP Version 5.4.19

    should I look into just disabling the messages? or somehow turning it off all together? or downgrading my php version?

    I've posted on the mediaxxx forums...

    thanks in advance

    -defunk
    Last edited by defunk; 10-16-2013, 12:29 PM.
    -defunk
    My Sites - Trade hard-links with my sites!
  • fendlestick
    Confirmed User
    • Dec 2012
    • 117

    #2
    Try turning off MySQL strict mode. I run a Windows server so it's easy with MySQL Workbench if you have linux or shared hosting maybe contact your host.

    Comment

    • dunhill
      Confirmed User
      • Jul 2013
      • 89

      #3
      Just upgrade smarty or change Smarty.class.php. You can replace
      Code:
      function assign
      with
      Code:
      public static function assign
      .


      If you are lazy turn off the error reporting.

      Comment

      • defunk
        Confirmed User
        • May 2011
        • 152

        #4
        awesome thanks - I'll look into that :D
        -defunk
        My Sites - Trade hard-links with my sites!

        Comment

        Working...