narkis — 2013-01-08T09:34:51-05:00 — #1
I have a BLOB field in my DB that I need to edit. I'm using PHPmyadmin which lets me download an unserlialized text version on the contents, and then upload it back again. The problem is that when I edit the file and upload it back I'm getting PHP errors (Invalid argument supplied for foreach()) that I guess indicate that I'm not saving the file properly (?).
Can anyone guide me through the process of doing it right?
guido2004 — 2013-01-08T09:57:21-05:00 — #2
Welcome to the SP forums.
You get PHP errors when using phpMyAdmin?
narkis — 2013-01-08T10:21:13-05:00 — #3
No sorry, I get the PHP error on page loads after updating the BLOB field. On phpMyAdmin I get confirmation on the successful update.
guido2004 — 2013-01-08T10:51:55-05:00 — #4
Could you post the code here?
narkis — 2013-01-08T13:58:36-05:00 — #5
Guido, do you mean the error code, or..?
guido2004 — 2013-01-08T14:50:46-05:00 — #6
No, the PHP code that is causing the error.