PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Installation & Upgrades (http://www.photopost.com/forum/classifieds-installation-upgrades/)
-   -   Upgrade Issues (http://www.photopost.com/forum/classifieds-installation-upgrades/108721-upgrade-issues.html)

aquariumpros June 17th, 2004 09:24 AM

Upgrade Issues
 
Never mind...fixed one variable and it's working now.

Sorry for the useless post.

Michael P June 17th, 2004 09:39 AM

No problem. :D

aquariumpros June 17th, 2004 09:49 AM

ok... Now I really do have an issue. :(

When I try to upload an image...

Quote:

Warning: getimagesize(h): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/image-inc.php on line 170

Warning: copy(h): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/image-inc.php on line 205

Warning: imagealphablending(): supplied argument is not a valid Image resource in /home/aquarium/public_html/photopost/image-inc.php on line 143

Warning: imagecopy(): supplied argument is not a valid Image resource in /home/aquarium/public_html/photopost/image-inc.php on line 149

Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/aquarium/public_html/photopost/image-inc.php on line 150

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/aquarium/public_html/photopost/image-inc.php on line 152

Warning: fread(): supplied argument is not a valid stream resource in /home/aquarium/public_html/photopost/image-inc.php on line 543
Why am I getting these errors...and how can I fix it. I'm getting the same error if it's a jpg or gif - no matter.

TIA,

Chuck S June 17th, 2004 10:02 AM

On-the-fly watermarks only work with jpg's.

If you plan to use this feature, I would remove .gif from your acceptable file types in the admin panel.

aquariumpros June 17th, 2004 10:09 AM

Quote:

Originally Posted by omegatron
On-the-fly watermarks only work with jpg's.

If you plan to use this feature, I would remove .gif from your acceptable file types in the admin panel.

I removed the .gif from the admin panel...and I still get these errors when working with .jpg files:
At the top of the page=
Quote:

Warning: getimagesize(h): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/image-inc.php on line 170

Warning: copy(h): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/image-inc.php on line 205

Warning: getimagesize(/home/aquarium/public_html/pp-classifieds/data/1/1Iwasaki_comparison.jpg): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/image-inc.php on line 343
Within the Message Block:
Quote:

Problem running JPEGTRAN:

"/usr/bin/jpegtran" -copy none /home/aquarium/public_html/pp-classifieds/data/1/1Iwasaki_comparison.jpg

Error Code: 1

Chuck S June 17th, 2004 10:22 AM

remove jpegtran from the config as its not finding it.

aquariumpros June 17th, 2004 10:25 AM

Quote:

Originally Posted by omegatron
remove jpegtran from the config as its not finding it.

I have checked on my server...and it's in the correct location. I have also rem'd the jpegtran line...and it still shows errors.

I just tried to place an ad without an image...and am getting this error:

Quote:

MySQL error reported!

Script: uploadproduct

Query: INSERT INTO pp_photos (id,user,userid,cat,date,title,description,keywords,bigimage,width,height,filesize,medwidth,medheight,medsize,approved,lastpost,watermarked,allowprint,extra1,extra2,extra3,extra4,extra5,extra6) values(NULL,'ajx22', , 1, 1087485804, 'TESTING', 'Testing', 'Testing', '', 0, 0, , 0, 0, 0, 1, 1087485804, '','','','','','','','')

Result: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' 1, 1087485804, 'TESTING', 'Testing', 'Testing', '', 0, 0, ,

Database handle: Resource id #97



If I rem out the jpegtran line...I get this when I try to upload:

At the TOP of the page=
Quote:

Warning: getimagesize(h): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/image-inc.php on line 170

Warning: copy(h): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/image-inc.php on line 205

Warning: imagealphablending(): supplied argument is not a valid Image resource in /home/aquarium/public_html/photopost/image-inc.php on line 143

Warning: imagecopy(): supplied argument is not a valid Image resource in /home/aquarium/public_html/photopost/image-inc.php on line 149

Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/aquarium/public_html/photopost/image-inc.php on line 150

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/aquarium/public_html/photopost/image-inc.php on line 152

Warning: fread(): supplied argument is not a valid stream resource in /home/aquarium/public_html/photopost/image-inc.php on line 543
Within the Messages block=
Quote:

Unable to read the format of file:

Chuck S June 17th, 2004 10:46 AM

What you tried another file? Also make sure the file if it was a gif is removed from the uploads directory

aquariumpros June 17th, 2004 10:52 AM

Quote:

Originally Posted by omegatron
What you tried another file? Also make sure the file if it was a gif is removed from the uploads directory

Just checked - there are no .gif files in the upload directory.

Chuck S June 17th, 2004 10:54 AM

Okay how about the jpg that was giving you problems? the corrupt one.

aquariumpros June 17th, 2004 10:56 AM

There are NO files in the upload directory.

Also...the image that I was uploading is 100% fine and opens perfectly with any of my PC-based programs.

Chuck S June 17th, 2004 11:10 AM

You can PM me a url and account to check things out with

Chuck S June 17th, 2004 04:26 PM

Your host just upgraded your php build TODAY and broke your GD version it looks like. Contact them and have them rebuild. There could be a problem with the new build.

aquariumpros June 17th, 2004 04:40 PM

"I" upgraded it today in the hopes that it would correct the issues I was having. These issues were here BEFORE I initiated the upgrade - and STILL there since (errors haven't changed).

Chuck S June 17th, 2004 08:10 PM

Let me ask you this. If you have the ability to configure your own software how about doing an install of imagemagick so you can truly see whats up. You can then try using GD and then switch to mogrify and test

Everything points to a problem with your processor and permissions.

Warning: getimagesize(h): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/image-inc.php on line 170

Warning: copy(h): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/image-inc.php on line 205

Warning: fread(): supplied argument is not a valid stream resource in /home/aquarium/public_html/photopost/image-inc.php on line 543

Unable to read the format of file:

aquariumpros June 17th, 2004 08:58 PM

Quote:

Originally Posted by omegatron
Let me ask you this. If you have the ability to configure your own software how about doing an install of imagemagick so you can truly see whats up. You can then try using GD and then switch to mogrify and test

Everything points to a problem with your processor and permissions.

Warning: getimagesize(h): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/image-inc.php on line 170

Warning: copy(h): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/image-inc.php on line 205

Warning: fread(): supplied argument is not a valid stream resource in /home/aquarium/public_html/photopost/image-inc.php on line 543

Unable to read the format of file:



I have a VPS account due to cost and space/traffic needs...however I am not well versed with webservers/etc...so I am trying to make this as painless as I can.

My question lies with why would the upgrade to v1.8 from v1.1 cause these issues then?

Chuck S June 17th, 2004 09:56 PM

The errors you are getting are do to the processor. Your telling me permissions are fine.

I have 1.8 installed right here and works fine

http://www.omegatron.net/classifieds...php?product=24

Okay well VPS works why not follow our directions to install ImageMagick in a non-root install and try switching to ImageMagick to see if that helps you.

http://www.photopost.com/magicknoroot-php.html

aquariumpros June 17th, 2004 11:59 PM

Quote:

Originally Posted by omegatron
The errors you are getting are do to the processor. Your telling me permissions are fine.

I have 1.8 installed right here and works fine

http://www.omegatron.net/classifieds...php?product=24

Okay well VPS works why not follow our directions to install ImageMagick in a non-root install and try switching to ImageMagick to see if that helps you.

http://www.photopost.com/magicknoroot-php.html

To be completely honest - I'm not even sure how to install it....

:confused:

If you can direct me - I'm more then willing to do so...

Chuck S June 18th, 2004 07:47 AM

Well you just recompiled PHP right? at least you told me you did. If you knew how to install PHP I assume you could install Imagemagick

I linked the instructions to install imagemagick on the post above.

aquariumpros June 18th, 2004 09:05 AM

Quote:

Originally Posted by omegatron
Well you just recompiled PHP right? at least you told me you did. If you knew how to install PHP I assume you could install Imagemagick

I linked the instructions to install imagemagick on the post above.

ok - installed as per instructions. All went fine.

Changed the config-inc.php file to use ImageMagick opposed to GD -

Tried to upload once again... Get the following errors @ top:

Quote:

Warning: getimagesize(h): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/image-inc.php on line 170

Warning: copy(h): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/image-inc.php on line 205

Warning: fread(): supplied argument is not a valid stream resource in /home/aquarium/public_html/photopost/image-inc.php on line 543
What am I supposed to do now?

(sorry for all the questions)


All times are GMT -5. The time now is 08:28 PM.

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