![]() |
kh99,
I'm glad you could duplicate the issue. My gut feeling is that it is in issue with using the data manager, but I'm open to any suggestions. |
Yeah, it's caused by this code in class_upload.php (around line 957):
Code:
if (!($result = $this->data->save())) For some reason if you're not an admin it doesn't use the errors from the attachment object. |
Thanks so much for finding that. It makes sense now why it it is a usergroup problem. I'm guessing the VB developers didn't want to show more descriptive error messages to anyone except admin users.
Now I just need to find the most sensible workaround to show other usergroups my phrase in this scenario. Thanks again, James |
I knew that wasn't really going to be a lot of help in fixing the problem. :) Anyway, I was thinking maybe upload_accept, although i'm not sure if the file data is in a variable at that point.
|
I'm looking at upload_accept, but it doesn't look like the filehash has been created yet and I don't think I have the file data yet to create one myself. I'll keep digging.
Thanks, James --------------- Added [DATE]1328546156[/DATE] at [TIME]1328546156[/TIME] --------------- Quote:
This works: Code:
if (!($result = $this->data->save())) Thanks, James |
All times are GMT. The time now is 09:43 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|