Welcome Guest, Not a member yet? Register   Sign In
PyroCMS v0.9.7.4 - an open-source modular general purpose CMS

[eluser]ray73864[/eluser]
I noticed just now while doing myself up a new module for a website that i am working on, the module that i am creating has a file upload ability in it, so i have everything all working quite nicely except when i go to click the 'Save' button, the upload fails, and comes up with the following non-ci style error:

Quote:A PHP Error was encountered

Severity: Notice

Message: Undefined variable: filename_hash

Filename: libraries/MY_Upload.php

Line Number: 319

Fatal error: ob_start() [<a href='ref.outcontrol'>ref.outcontrol</a>]: Cannot use output buffering in output buffering display handlers in /http/rayherring.net/pharmacy/codeigniter/libraries/Exceptions.php on line 160

I looked at MY_Upload and it is indeed missing this variable. I also noticed that the function it is in 'set_filename' is vastly different from CI's standard file upload class.


Messages In This Thread
PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - by El Forum - 07-13-2009, 02:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB