PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Bug Reports (http://www.photopost.com/forum/photopost-pro-bug-reports/)
-   -   Uploading error (http://www.photopost.com/forum/photopost-pro-bug-reports/131749-uploading-error.html)

sfm_aceman May 7th, 2007 11:15 AM

Uploading error
 
I have recently been getting told that several users were getting:

Sorry, this image type () is not supported yet.

when they attempted to upload an image file to the gallery. So I need some research.

1. I checked and all data folders are 777
2. I attempted to test upload a 1280x1024 jpg file (2500 max width/hieght) and got the same error: Sorry, this image type () is not supported yet.
3. I checked the formats I allow on the gallery: .jpg,.gif,.png,.jpeg
4. I upgraded to 5.62 today and that did not fix my problem.

I really need some help here cause I can not figure out why I am unable to upload images to my gallery any longer.

My PHP INFO is:
System Linux server.scifi-meshes.com 2.6.9-42.0.3.ELsmp #1 SMP Fri Oct 6 06:28:26 CDT 2006 x86_64
Build Date Nov 3 2006 08:11:27
Configure Command './configure' '--with-apxs2' '--with-curl' '--with-curl-dir=/usr/local/lib' '--with-gd' '--with-gd-dir=/usr/local/lib' '--with-gettext' '--with-jpeg-dir=/usr/local/lib' '--with-kerberos' '--with-openssl' '--with-mcrypt' '--with-mhash' '--with-mysql=/usr' '--with-pear' '--with-png-dir=/usr/local/lib' '--with-xml' '--with-zlib' '--with-zlib-dir=/usr/local/lib' '--with-zip' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-track-vars' '--enable-mbstring' '--enable-memory-limit'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20050606
Debug Build no
Zend Memory Manager enabled
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.zlib

allow_call_time_pass_reference On On
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors Off Off
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 2039 2039
expose_php On On
extension_dir ./ ./
file_uploads On On
gpc_order GPC GPC
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/local/lib/php .:/usr/local/lib/php
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 30 30
max_input_time 60 60
memory_limit 55M 55M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 55M 55M
precision 12 12
register_argc_argv On On
register_globals Off Off
report_memleaks On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i -f scifimesh@scifi-meshes.com /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 50M 50M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On

Chuck S May 7th, 2007 11:25 AM

Have you tried clearing the uploads directory and seeing if this helps you?

sfm_aceman May 7th, 2007 11:28 AM

Is the uploads directory data/1/??

If so the folder and it's subs (medium, mini, thumbs) are all empty save their index.html files.

Aceman

sfm_aceman May 7th, 2007 11:29 AM

data/2
data/500

Both have alot of files in them.

Aceman

sfm_aceman May 7th, 2007 11:30 AM

oh.. wait a second..

/uploads/ has ALOT of folders inside it.. but I'm afraid to remove them..

Should I delete all the sub folders under uploads? I want to say there are over 100 of them. And leave only the 1 folder? This won't effect my gallery cause the gallery is stored in DATA correct?

Aceman

sfm_aceman May 7th, 2007 11:45 AM

UPDATE:

I deleted my uploads folder and replaced it with the clean one from the 5.62 install zip file. I CHMOD'd the folder and it's single sub to 777 and reattempted my upload and got the same error message that the () is unsupported.

After my test upload I can see (through FTP) that the file I attempted to add is sitting in /uploads/1/

Aceman

Chuck S May 7th, 2007 12:24 PM

Yes you can clear uploads anytime you want just do not delete data directory

As far as uploads not working what type of file is this your trying to upload. The error your site is reporting is a GD2 error and usually in those brackets it has a file type but yours is empty. So the result here is to understand why your not getting an error type

You can place a url here and a test login here so we can try uploading

Recheck your uploads and data directory permissions and ensure that they are 777 at every level.

The reason I asked you to clear uploads is because if you by chance uploaded a file not supported by GD2 this could be a reason why your getting stuck on the upload process.

sfm_aceman May 7th, 2007 12:30 PM

http://www.scifi-meshes.com/gallery

User: redshirt
pass: temppass

Gallery is open.. but not working :)

Gallery is set to use GD2.. should I try imagemagic?

Should you need admin please let me know and I can work that angle for you.

Aceman

Chuck S May 7th, 2007 12:57 PM

Yes you can try imagemagick but first thing I would suggest is to check your global options and storage options data server paths and urls and your uploads server path as well and ensure they are right. Your telling me the permissions are correct but this type of error is usually permissions or path related so lets track it down. If you verify they are right then you can send admin login and ftp info to support@photopost.com

sfm_aceman May 7th, 2007 01:34 PM

Information has been emailed.

Aceman

sfm_aceman May 7th, 2007 02:20 PM

The solution was I had a wrong setting which Chuck found for me. I swear I looked it over and over again. But sometimes it takes a pro.

Thanks again Chuck.

Aceman

Chuck S May 7th, 2007 02:47 PM

Not a problem

pericoloso May 7th, 2007 03:20 PM

can you plz tell me because i have the same problem?
Currently i use GD2 but my server is supported by imagemagick///
my host told me tha imagemagick is on that path usr/local/bin/convert
but when i use it nothin happens, thats why i use gd2!
Any solutions?

Chuck S May 7th, 2007 03:32 PM

Your mogrify should be /usr/bin/mogrify not convert

pericoloso May 7th, 2007 03:35 PM

This is standard in all linux servers with imagemagick?

so i just type usr/local/bin/mogrify right?

Chuck S May 7th, 2007 08:18 PM

No its not standard

You type the right path for your server in the config

/usr/bin/mogrify

/usr/local/bin/mogrify

I can not tell you if you have mogrify on your server. If you have ssh try typing whereis mogrify on the ssh command line

pericoloso May 8th, 2007 01:07 PM

now i am using gd2...how can i change it to imagemagick and enter the correct path?
my host told me that after typing whereis mogrify
they got /usr/local/bin/mogrify

Chuck S May 8th, 2007 02:05 PM

then in admin => edit config you enter that path where it says imagemagick path

/usr/local/bin/mogrify


All times are GMT -5. The time now is 06:21 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97