OMG Can u Believe this error Please Help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dream On

    OMG Can u Believe this error Please Help

    Hello

    Today when i come from the School i go check the site and i find this error come up

    Warning: preg_match() expects parameter 2 to be string, array given in /home/dreamzs/public_html/forums/includes/init.php on line 225

    Warning: Constants may only evaluate to scalar values in /home/dreamzs/public_html/forums/includes/init.php on line 227

    Warning: Constants may only evaluate to scalar values in /home/dreamzs/public_html/forums/includes/init.php on line 781

    Warning: Constants may only evaluate to scalar values in /home/dreamzs/public_html/forums/includes/init.php on line 781

    Warning: Constants may only evaluate to scalar values in /home/dreamzs/public_html/forums/includes/init.php on line 781

    Warning: Constants may only evaluate to scalar values in /home/dreamzs/public_html/forums/includes/init.php on line 781

    Warning: Constants may only evaluate to scalar values in /home/dreamzs/public_html/forums/includes/init.php on line 781

    Warning: Constants may only evaluate to scalar values in /home/dreamzs/public_html/forums/includes/init.php on line 781

    Warning: Constants may only evaluate to scalar values in /home/dreamzs/public_html/forums/includes/init.php on line 781

    Warning: Constants may only evaluate to scalar values in /home/dreamzs/public_html/forums/includes/init.php on line 781

    Warning: Constants may only evaluate to scalar values in /home/dreamzs/public_html/forums/includes/init.php on line 781


    omg what worng .. why do i get this erro r? is that mean some one hack my site.. or something do i lose my databse .. please help
  • CreationNation
    Senior Member
    • Mar 2004
    • 240
    • 3.6.x

    #2
    Your host may have upgraded PHP but not Zend Optimizer. Run a search on these forums for "Constants may only evaluate to scalar values" and you weill find several mentions about this.
    Deron
    www.creationnation.com
    www.ultimatemetal.com

    Comment

    • Steve Machol
      Former Customer Support Manager
      • Jul 2000
      • 154488

      #3
      This error is related to PHP 4.3.10 and ZendOptimizer. The fix is to upgrade ZendOptimizer. Here is some info from one of our Developers about this problem:

      Has anyone tried vBulletin in php 4.3.10 yet? I did a straight upgrade using the same options I built 4.3.9 with, and this was the result: Database error in vBulletin 3.0.3: Invalid SQL: SELECT userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, IF(displaygroupid=0, user.usergroupid,
      Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
      Change CKEditor Colors to Match Style (for 4.1.4 and above)

      Steve Machol Photography


      Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      😀
      😂
      🥰
      😘
      🤢
      😎
      😞
      😡
      👍
      👎