[Solved] Upload failure: Call to a member function on a non-object in util.php on line 1156
Yuan
Joined: 2003-12-03
Posts: 144 |
Posted: Mon, 2006-11-13 01:42 |
I have always used the URL method to upload local files. Nothing seems to have changed since last successful upload. (Among activities in between: uploaded some pictures using URL method from remote URL's; hacked a couple of PHP scripts to allow TIFF upload but subsequently reverted to unhacked version; uploaded a couple of test TIFF pictures, but subsequently deleted them.) Now when I try to upload local files, I get the above error. I searched for similar errors in this forum but they seem inconclusive. Additional note: The failure seems to occur only in subalbums. First level albums do not appear affected. The following information is required to get an answer: |
|
Posts: 144
Mystery solved - in an unexpected manner.
Or I thought so. I double checked utils.php and really reverted to original, all became functional again.
But I still don't understand - all I changed was one irrelavant line in utils.php:
How can this affect normal upload?