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

New Extension: nGen File Field for FieldFrame

Development and Programming

budparr's avatar
budparr
128 posts
16 years ago
budparr's avatar budparr
Upon making a new entry I get the following EE error “There was no category provided. Please go back and provide a category.”

Discovered the problem: Conflict with Solspace Gallery Extended Extension (v.2.2.4).

Thanks to Fred for his help.

       
leadsuccess's avatar
leadsuccess
408 posts
16 years ago
leadsuccess's avatar leadsuccess

@Bud Parr - A few of us have run into this issue, a short solution, keep in mind it’s not a pretty solution but it works for now.

Solspace Gallery Solution

       
budparr's avatar
budparr
128 posts
16 years ago
budparr's avatar budparr

Hey, thanks, I’ll check it out.

       
Ruud L. Heerkens's avatar
Ruud L. Heerkens
45 posts
16 years ago
Ruud L. Heerkens's avatar Ruud L. Heerkens

Moderator’s note: Merged as per request.

After setting everything up in a sub directory on a domain (http://www.mydomain.com/sub/…eefiles…) an error is thrown when uploading a file using either the Cp or SAEF.

“The upload path was incorrect.”

Using a FTP program you can find the file uploaded to the right folder as set up in the ‘File Upload Preferences’.

When you peek under the edit tab, the entry is made, there even is mention of the file uploaded. However it added a second /sub in the url -> http://www.mydomain.com/sub/sub/path_to_uploadedfile/

So far I have * Used Lodewijks’ File module or the CP file upload -> no errors are generated, * Verified the path in the CP settings and SQL table -> both point to the correct location, * used small & biger, jpg- and gif’s -> both generate the error using the file field.

Anyone has ideas on this behavior ?

FieldFrame (v.1.1.2) nGen File Field 0.9.8

EDIT This was supposed to go into the New Extension: nGen File Field for FieldFrame thread. Admins can you please transfer.

       
idawgik's avatar
idawgik
38 posts
16 years ago
idawgik's avatar idawgik

I’m having an issue with the nGen File Field on a SAEF when used inside an FF Matrix field.

Whenever I add a new row, a bunch of lowercase “n“‘s appear. 3 of them below the File input, and one below the link to use an existing file.

This only happens on rows added, not to the initial one.

It’s almost like it’s not recognizing the \n for new line in the php code and just outputting those n’s.

This is with nGen File Field 0.9.8 and FieldFrame 1.1.2 on ExpressionEngine 1.6.7 with MSM.

       
Peter Lewis's avatar
Peter Lewis
280 posts
16 years ago
Peter Lewis's avatar Peter Lewis

Apologies if this has been mentioned already (this thread is getting fairly long now), but is there any plans in the pipeline for adding similar functionality to MH File extension, whereby under File Upload Preferences there are additional settings. Namely “Keep originals” and “delete from server”.

I have maximum height and width set under the standard settings, and these are currently being ignored by File Field, so users can upload silly sized images - there’s currently a 7Mb image on the server (in the real world client education simply doesn’t work!).

Whereas MH File would resize to whatever was specified in File Upload Preferences, create a new file and delete the original ‘huge’ upload.

       
PDM's avatar
PDM
61 posts
16 years ago
PDM's avatar PDM

First, to the guys at nGen, thanks for creating this field type. I’m hoping you can shed some light on the following:

I have a fresh install of nGen File Field v. 0.9.8. Can create the field type, shows up in the publish and edit pages, I can browse and select an image, but when I upload the picture and submit the entry, I get the following message:

Fatal error: Call to undefined function imagecreatefromjpeg() in /path removed/extensions/fieldtypes/ngen_file_field/ft.ngen_file_field.php on line 783

I thought it might be an issue with Publish Tweeks, but uninstalled that and still doesn’t work. Tried a gif and got the equivalent error for the “imagecreatefromgif” function. Any thoughts on what’s triggering the error?

Thanks!

EE 1.6.7 Publish Tweeks (v.0.8) FieldFrame (v.1.0.8) MD Markitup (v.1.6.1) Edit Tab AJAX (v.1.2.2) jQuery for the Control Panel (v.1.1.1) Gypsy (v.1.0.6) Playa 2.0.6

       
bridgetstewart's avatar
bridgetstewart
1 posts
16 years ago
bridgetstewart's avatar bridgetstewart

I’m having two distinct issues.

1) When trying to upload an image via file field, there is an additional /sub thrown into the url. Ex: www.example.com/subfolder/images is showing as www.example.com/subfolder/subfolder/images

I have quadruple checked that the file upload path settings do not contain errors.

2) When using file field in a matrix where I would like to select more than one image from existing files on the server, I am unable to “choose an existing file” beyond the first row of the matrix. Attempting to do so in the second row tosses my view up to the top of the publish/edit screen. I scroll back to the field in the matrix to find that nothing has happened.

Is anyone else finding this?

       
jasonvycc's avatar
jasonvycc
3 posts
16 years ago
jasonvycc's avatar jasonvycc

I’m also getting this issue on a new install of nGen File Field

Fatal error: Call to undefined function imagecreatefromjpeg() in /path removed/extensions/fieldtypes/ngen_file_field/ft.ngen_file_field.php on line 783
       
Scheffey's avatar
Scheffey
24 posts
16 years ago
Scheffey's avatar Scheffey

I’d like to second Twobelowzero’s suggestion for respecting the maximum height and width set in the file upload preferences. I use Image Sizer to resize images before displaying them, however I recently had a content manager accidentally upload an image that was so large the server hit its memory limit when trying to resize the image. This could be avoided by a height and width limit.

With that said, this is a fantastic plugin that solves many problems. Thanks to nGen for the good work.

       
ian Pitts's avatar
ian Pitts
175 posts
16 years ago
ian Pitts's avatar ian Pitts

Is there a quick hack to enable image sizing? I tried using imgsizer and after chasing down a weird error for the past few weeks I’ve come up empty. My solution was to use the the nGen File Field along with the image sizing preferences but this apparently isn’t supported!

Anyone? I’m supposed to launch this site on Friday!

       
stinhambo's avatar
stinhambo
1,268 posts
16 years ago
stinhambo's avatar stinhambo

I’m getting a big fat blank page when I try to publish an entry that uses the file field.

Another site I am developing is fine and it is using the same extensions. Very strange.

       
stinhambo's avatar
stinhambo
1,268 posts
16 years ago
stinhambo's avatar stinhambo

Ah it does that if the “Server Path to Upload Directory” is wrong.

Perhaps a warning would be nice!

       
Fred Boyle's avatar
Fred Boyle
73 posts
16 years ago
Fred Boyle's avatar Fred Boyle

@Twobelowzero + @Scheffey Regarding the image dimension settings, you can use the file size setting to limit things. So you can prevent 7MB images from being uploaded by setting the max file size to 1-2M. This will usually avoid crazy images and memory issues. We may still look at adding that feature in future however, but no promises.

       
PDM's avatar
PDM
61 posts
16 years ago
PDM's avatar PDM
…when I upload the picture and submit the entry, I get the following message: Fatal error: Call to undefined function imagecreatefromjpeg() in /path removed/extensions/fieldtypes/ngen_file_field/ft.ngen_file_field.php on line 783

Thanks to a PM from Fred, and Brandon Kelly elsewhere, who identified the issue. The new server didn’t have the GD library installed. So if anyone ever runs into that pesky fatal error above, confirm that GD is installed.

       
First 15 16 17 18 19 Last

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.