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

File

Development and Programming

PhireGuys's avatar
PhireGuys
525 posts
16 years ago
PhireGuys's avatar PhireGuys
Has anyone figured out a fix to the issue of getting a blank screen when you click publish? The image is uploaded but it is not resized. No thumbnails created. The blank screen happens when I have the max width / height values filled in. I need the anchor to width option to work. I’m using the newest version of the extension with EE 1.6.7 Also, the max bytes setting doesn’t work either. It lets me upload images larger than the max bytes.

Most likely you don’t have GD Graphics enabled on your server. You need that (or possibily another image program) on your server to do the conversion. If you make a simple PHP file and put this inside:

<?
echo phpinfo();
?>

You can then do a search for GD and see if it is installed.

Another test is to remove the resizing from your preferences for that image upload. Set it to none and then try to upload a photo. If the blank screen goes away, then for sure the problem is no image manipulator is installed on your server.

       
anthonys's avatar
anthonys
54 posts
16 years ago
anthonys's avatar anthonys

Phire_SK,

I’m using MAMP and under php_info it says gd support is enabled, version: bundled (2.0.34 compatible).

If I set the preferences to “do not resize”, the blank page issue goes away.

       
rchampagne's avatar
rchampagne
212 posts
16 years ago
rchampagne's avatar rchampagne

I am getting an error when using the extension.

Error

* Upload Brochures – There was a problem uploading ‘3com_401000.pdf’.

When using the regular file upload native to EE it works fine, so I know it has nothing to do with the path or anything.

Any thoughts on this? ITs not the most descriptive error..

       
AlanRiley's avatar
AlanRiley
2 posts
16 years ago
AlanRiley's avatar AlanRiley

Do you have it set to upload “ALL Files” or “Image Files”?

       
rchampagne's avatar
rchampagne
212 posts
16 years ago
rchampagne's avatar rchampagne

yes i do. like i said, the regular upload works fine, but not this extension.

       
rchampagne's avatar
rchampagne
212 posts
16 years ago
rchampagne's avatar rchampagne

OK got it working. the problem was there wasn’t any other field for that publish page. I added a custom ‘category type’ field and that did the trick. Now, how do I pull up the field to show in the page?

       
grantmx's avatar
grantmx
1,439 posts
16 years ago
grantmx's avatar grantmx

The pdf upload field as a link to the pdf?

<a href="http://{pdf_doc}">Some Name</a>
       
rchampagne's avatar
rchampagne
212 posts
16 years ago
rchampagne's avatar rchampagne

looks like its not working actually. I checked the directory that its supposed to dump to and no files were in there… I might have to end up entering each file manually via the default interface. bleh.

I really wanted the capability to clean the file names…

       
Dane Thomas's avatar
Dane Thomas
139 posts
16 years ago
Dane Thomas's avatar Dane Thomas

Has anyone worked out a fix to get {count} to work in File?

Edit that : it seems that {count} works in certain circumstances.

I have dynamic=”off” in the weblog tag that the file and if I browse to url that has a {segment_1} value (ie. index.php/news) the {count} variable works fine.

If I go to a url that has a {segment_2} value (ie. index.php/news/news_title) the {count} variable doesn’t work?

       
Paul Bland's avatar
Paul Bland
25 posts
16 years ago
Paul Bland's avatar Paul Bland

Hello,

The option to “Automagically rename this file the next time it’s uploaded?” doesn’t seem to work for me. I check the box, re-upload, and get the same warning.

Changing the option “Rewrite filenames” to “Yes” in upload preferences fixes it, but I would rather keep original file names where possible.

The image directory is writable.

Does anyone have any ideas about how to fix this?

Thanks, Paul

       
Frank Harrison's avatar
Frank Harrison
154 posts
about 16 years ago
Frank Harrison's avatar Frank Harrison

Hi All

I had this working great, but suddenly it won’t upload at all. I can’t see anything that I’ve changed that should effect it. After selecting a file, on my local testing server (apache on osx) it just never loads the next page. When I test it on the live (linux) server, I get “Error: [name of custom field] – There was a problem uploading [name of image].”

I’ve seen a bug fix for this on windows machines related to paths getting unix-style forward slashes (http://ellislab.com/forums/viewthread/38997/P648/#449805), but I’m on linux so that doesn’t work for me. Anyone else had this problem on Linux?

Thanks LOADS for any help - this site is already late launching and this is driving me insane…

       
Frank Harrison's avatar
Frank Harrison
154 posts
about 16 years ago
Frank Harrison's avatar Frank Harrison

Oh, should probably have said: I’m running EE 1.6.7, and the only other extensions I’m using are Accessible Captcha, jQuery and Shift’s FCKEditor. The extension file is set to 777, as is the upload directory.

       
PhireGuys's avatar
PhireGuys
525 posts
about 16 years ago
PhireGuys's avatar PhireGuys
Hi All I had this working great, but suddenly it won’t upload at all. I can’t see anything that I’ve changed that should effect it. After selecting a file, on my local testing server (apache on osx) it just never loads the next page. When I test it on the live (linux) server, I get “Error: [name of custom field] – There was a problem uploading [name of image].” I’ve seen a bug fix for this on windows machines related to paths getting unix-style forward slashes (http://ellislab.com/forums/viewthread/38997/P648/#449805), but I’m on linux so that doesn’t work for me. Anyone else had this problem on Linux? Thanks LOADS for any help - this site is already late launching and this is driving me insane…

I don’t know the answer but try turning off auto resizing and see if it works. My experience when seeing the blank screen was that the resizing wasn’t working.

http://ellislab.com/forums/viewreply/569604/ - was a post I made previously about checking to see if GD Graphics was installed.

You can find info about the GD library here: http://www.libgd.org/Main_Page

Since GD is pretty standard in PHP, here are some instructions on how to enable it: http://www.libgd.org/FAQ_PHP#How_do_I_get_gd_to_work_with_PHP.3F

       
Frank Harrison's avatar
Frank Harrison
154 posts
about 16 years ago
Frank Harrison's avatar Frank Harrison

Thanks for such a speedy reply!

I found the problem with the live site - I’d imported a new database in, and forgot to reset the upload directories (I think I need sleep…)

But locally it’s still just crashing. It turns out I don’t have GD Graphics, but I shouldn’t need them if I’m not resizing, no? Interestingly, I can’t seem to switch to “Do not resize” in the prefs. I select it and save, then when I go back to it it’s back on “Auto”. Could this be what’s causing it?

       
deusebio's avatar
deusebio
7 posts
about 16 years ago
deusebio's avatar deusebio

Weird question but I’m having issues with the file upload form allowing the .docm file type to be uploaded. Any clues what might be triggering this hang up?

       
First 55 56 57 58 59 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.