[eluser]Matalina[/eluser]
Not so much asking for help. But when I'm moving working code to another location with some tweaks and refactoring for a Intranet system where all apps are one unit instead of the 3 or 4 I have now as working models. It's no longer working. But I'm sure I can fix that.
My question is what the error 1 mean when I upload. Nothing else is displayed, just a 1.
My error message output:
Quote:Images caused a failure to creating a new promotion
1
My error output code:
Code:
$this->session->set_flashdata('error','<div class="alert-box error">Images caused a failure to creating a new promotion<br/>'.print_r($this->upload->display_errors()).'</div>');
I've gotten it before and it's been permission issues, I think but it's been a while since I did this part of the code so the exact fix is not in my memory. I"ll post it once I fix it but I'm curious why 1 and why no translations and wonder if we might be able to get a better message for an error.