PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old May 13th, 2005, 12:08 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2003
Posts: 7
Uploads OK when I do them; not OK when users.

When I upload a picture, it's fine. When a regular user uploads a picture, I get the following:

Warning: imagecreatefromjpeg(): '/home/sjones/public_html/eleanorclub/photo/uploads/144/DCP_0266.JPG' is not a valid JPEG file in /usr/home/sjones/public_html/eleanorclub/photo/image-inc.php on line 84

Unable to create image [/home/sjones/public_html/eleanorclub/photo/uploads/144/DCP_0266.JPG].
Please contact system administrator.

Specs:

PHP Version 4.3.10

System FreeBSD volt.excelsus.com 5.2.1-RELEASE-p6 FreeBSD 5.2.1-RELEASE-p6 #2: Fri May 7 10:30:40 EDT 2004 root@volt.excelsus.com:/usr/obj/usr/src/sys/VOLT i386
Build Date Feb 16 2005 08:05:41
Configure Command './configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-zlib-dir=/usr' '--disable-all' '--with-regex=php' '--with-pear' '--enable-ctype' '--with-gd' '--enable-gd-native-ttf' '--enable-gd-jis-conv' '--with-freetype-dir=/usr/local' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-xpm-dir=/usr/local' '--with-iconv-dir=/usr/local' '--with-mysql=/usr/local' '--with-openssl-dir=/usr' '--enable-overload' '--with-pcre-regex=yes' '--enable-posix' '--enable-session' '--enable-tokenizer' '--with-expat-dir=/usr/local' '--enable-xml' '--with-xmlrpc' '--with-zlib=yes' '--with-apxs2=/usr/local/sbin/apxs' '--with-snmp=/usr/local' '--enable-ucd-snmp-hack' '--prefix=/usr/local' 'i386-portbld-freebsd5.2.1'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/etc/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, compress.zlib

GD info:

GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
JIS-mapped Japanese Font Support enabled

The site used to work just fine - I didn't change anything and haven't heard back from my ISP.

My data and upload DIRs are 777.

Is this an ownership issue?

I don't understand why an admin can upload and a user cannot.

Thanks!
Steve

Last edited by ViperGTS2000; May 13th, 2005 at 01:08 PM.
ViperGTS2000 is offline   Reply With Quote
Old May 13th, 2005, 12:42 PM   #2 (permalink)
Senior Member
Verified Customer
 
Join Date: Mar 2003
Location: UK
Posts: 1,270
Send a message via MSN to b6gm6n Send a message via Yahoo to b6gm6n Send a message via Skype™ to b6gm6n
Hi..

I believe this may be simply a corrupt file which is causing the error, look in /uploads/144/ and remove the offending .jpg file and ask the user to save the file again and re-upload.

-T
b6gm6n is offline   Reply With Quote
Old May 13th, 2005, 12:43 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,693
It could be

However I would ensure you have the path to your data and uploads directories in your global settings to this

/usr/home/sjones/public_html/eleanorclub/photo/data

/usr/home/sjones/public_html/eleanorclub/photo/uploads


You appear to have left off the /usr
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 13th, 2005, 01:07 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2003
Posts: 7
OK - I went into the dir and erased all the files -- put /usr in front of everything (might by a symbolic link because i can cd /home and get there too).

It seems to be working now -- don't know what part of that fixed it.

Thanks!
Steve
ViperGTS2000 is offline   Reply With Quote
Old May 13th, 2005, 01:21 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,693
PHP is reporting the path as

/usr/home not /home so best to always use what php shows for best results
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 13th, 2005, 01:25 PM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2003
Posts: 7
Awesome.

Thanks for pointing me in the right direction so quickly.

Steve
ViperGTS2000 is offline   Reply With Quote
Old May 13th, 2005, 01:34 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,693
No problem my friend thats what we are here for.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 13th, 2005, 05:28 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2003
Posts: 7
What could cause a corrupt file like this? The error popped up again. I deleted the file in the directory.

Is there a way to be e-mailed when an error like this pops up instead of relying on the web visitor to notify me?

Steve

Last edited by ViperGTS2000; May 13th, 2005 at 05:33 PM.
ViperGTS2000 is offline   Reply With Quote
Old May 13th, 2005, 05:41 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,693
Is it the same user same files?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 13th, 2005, 05:45 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2003
Posts: 7
Different files -- same user (she's uploading a ton of pics).

My site doesn't see alot of uploads though -- I wonder if she's the culprit?

It's never happened before and I have over 1000 images.
ViperGTS2000 is offline   Reply With Quote
Old May 13th, 2005, 05:48 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,693
She could potentially have some corrupted images or she is trying to upload images that are not jpeg's and she is renaming them so she can upload them as in maybe they are gif's
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
More graphic uploads! gholsie Classifieds Suggestions 9 July 8th, 2005 03:41 PM
permissions for uploads ncg ReviewPost Installation & Upgrades 1 March 23rd, 2005 06:18 AM
Video Uploads dieselpowered Installs and Upgrade - vBulletin 3.0.X 0 March 2nd, 2005 10:56 PM
review post users -> phpbb2 users? ncg ReviewPost Installation & Upgrades 0 January 17th, 2005 06:59 PM
Uploads and Uploader Name JBR General Discussion 2 July 3rd, 2004 10:57 PM


All times are GMT -5. The time now is 11:25 AM.

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