PHP Error: Warning: Error parsing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DekaronCreater
    New Member
    • Jul 2012
    • 1

    PHP Error: Warning: Error parsing

    Hey I keep getting this error:


    Warning: Error parsing config.ini on line 15 in C:\xampp\htdocs \Account\config \core.php on line 14

    Warning: array_key_exist s() [function.array-key-exists]: The second argument should be either an array or an object in C:\xampp\htdocs \Account\config \core.php on line 159

    Warning: array_key_exist s() [function.array-key-exists]: The second argument should be either an array or an object in C:\xampp\htdocs \Account\config \core.php on line 167

    What to do?
  • Claus Mygind
    Contributor
    • Mar 2008
    • 571

    #2
    Warning: Error parsing config.ini on line 15 in C:\xampp\htdocs \Account\config \core.php on line 14 looks like you have an error in your config.ini file on line 15. Or more likely on line 14 of core.php. Did you look to see what is on line 15 of config.ini or at line 14 of core.php?

    "Warning: array_key_exist s() [function.array-key-exists]: The second argument should be either an array or an object in C:\xampp\htdocs \Account\config \core.php on line 159"

    php manual states you need an array or an object as your second parameter and it appears you don't, or maybe you have a missing comma or semi-colon hard to say when there is no code to look at.

    bool array_key_exist s ( mixed $key , array $search )

    try Googling this php Warning: array_key_exist s() and choose the answer that helps you the most

    Comment

    • Murat Bastas
      New Member
      • Jul 2012
      • 25

      #3
      Please show me related lines...

      Comment

      • Exequiel
        Contributor
        • Jul 2012
        • 288

        #4
        Show your codes please . . . :)

        Comment

        Working...