PDA

View Full Version : [ubuntu] PHPMyAdmin : database_interface.lib.php error on line 383


trymbill
June 12th, 2008, 11:36 AM
Hi everyone!

I've got an error in PHPMyAdmin I just can't figure out. And it's not always the same error. And if I fix it, it just comes back after 5 minutes.

The first error was on line 383. The file had changed from this:

return $tables[strtolower($database)];

to this:

return $tables[strtolower(,database)];

And I didn't do it, nor did anyone else. PHPMyAdmin worked OK for 5 minutes, but then the same error came. I looked at the file, and it had changed back to the error. I fixed it again, but after 5 minutes PHPMyAdmin showed another error.

Now it changed this line from an array:

'swedish' => 'CP1252', //'latin1',

to this line:

( 'swedish' => 'CP1252', //'latin1',

so I got a syntax error because that "(" isn't suppose to be there. I fixed it and PHPMyAdmin worked OK and has been OK now for 10 minutes.

Does anyone have a clue on what is going on?! :-/

molotov00
June 12th, 2008, 03:53 PM
I don't know what's going on... but just make the files readable (not rw). There's no reason PHP files like that should be getting modified.