I am seeing some very strange behavior on my servers.
When I try to edit a mysql record, the query often gets run TWICE. This seems to only happen when I UPDATE a record.
Look at the query below. I ran it from phpmyadmin.
-------------BEGIN---------------
Affected rows: 1
SQL-query:
UPDATE users SET usercat = 'homebuilder,homebuilder',
active = 'n' WHERE id =65 LIMIT 1 ;
UPDATE users SET usercat = 'homebuilder,homebuilder',
active = 'n' WHERE id =65 LIMIT 1 ;
--------------END------------------
Notice how:
- The query was ran twice,
- The query was formatted wrong. "homebuilder" appears twice for some really bizzare reason.
The correct query, which should have been run only once is:
-------------BEGIN---------------
UPDATE users SET usercat = 'homebuilder', active = 'n' WHERE id =65 LIMIT 1 ;
--------------END------------------
I thought phpmyadmin had a bug, so I upgraded it to the latest version 2.6.1. But same problem.
I then upgraded mysql from 3.23 to 4.0.21. Same problem.
I'm running php 4.2.2 + Apache 2.0.40 on RedHat 9. Could this version of php be the problem? I don't want to upgrade php now if I don't have to.
Any help would be appreciated.
Richie.