We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Creating a Photo Gallery Extension on the Publish Form - Error When File Uploads

Development and Programming

kmertig's avatar
kmertig
24 posts
16 years ago
kmertig's avatar kmertig

I am creating my own extension on the publish form. Everything is working, even the fileupload, e.g. it gets uploaded to the desired folder, but instead of continuing on to the, yeah you published a new weblog item, I get an error.

The following errors were encountered * We were unable to upload your file. Make sure your upload directory has the correct permissions set. Return to Previous Page

I cannot find any documentation on how to implement a file upload correctly on EE. I have tried to use the file_upload module as an example, but it is using the core.upload module, which would allow me to do some of the processing that I need to do. I have also looked at the extension ext.mh_file_ext.php, but that too isn’t doing what I want to do.

The gallery that I am trying to create allows for an unlimited # of images to be uploaded to a weblog entry. It is a tab like the tabs module. They are not stored as weblog custom fields, but in their own table. Again, I suppose that EE is expecting some kind of ‘response’ or error or success message, that I am not providing…

Please help.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.