php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#241337 - 03/21/03 07:54 PM Help with PhotoPost Pro!!!
Raconteur_dup1 Offline
Member

Registered: 01/29/03
Posts: 258
Loc: SF, CA
Hi Gang,<br /><br />I am getting like one response a day over on the PP support site, and this is just ridiculous... I bought PPPro, after seeing and hearing many great things about it, including how simple it was to install...<br /><br />Well, we bought it 5 days ago, and after 2 failed installs, 2 complete removals of all files and DB tables, I am finally able to access the admin page and finish the setup.<br /><br />What I cannot do is upload photos. Everything I have tried fails with DB errors. My mogrify path is correct, so the host says, everything else seems to be in order but I keep getting:<br /><br />Database error! Please report to System Administrator.<br /><br />INSERT INTO photos (id,user,userid,cat,date,title,description,keyword<br />s,bigimage,width,height,filesize,medwidth,medheigh<br />t,medsize,approved,lastpost,watermarked,allowprint<br />,extra1,extra2,extra3,extra4,extra5,extra6) values(NULL,'Raconteur', 79, 509, 1048191297, 'barbouriLg', '', '', 'barbouriLg.jpg', 640, 480, 97407, , , , 1, 1048191297, 'no','','','','','','','') <br /><br /><br />I had another user try to upload a photo and she got:<br /><br />Error creating resized medium image! Error code: 1 Command attempted: /usr/bin/mogrify -format JPG -geometry 320x320 /s101/home4/syngnathids/ubbthreads/PP/data/509/4MVC-008F-med.JPG <br /><br />After checking with the domain host about the veracity of the location of mogrify, they say that according to their documentation the format param should be "JPEG" not "JPG"... I cannot imagine that being the problem as it would appear everyone else would see the same issue. Although, there are several posts over at PP regarding the database error...<br /><br />Now, I am left in the lurch... I am trying to get this thing running so my staff can populate the photo galleries before my energy completely runs out, and working at a one message a day rate is not cutting it.<br /><br />So... I am hoping that SOMEONE here can shed some light, and maybe help me figure out why this software won't work.<br /><br />Thanks!<br /><br />Chris
_________________________
"Some dream of doing great things, while others stay awake and get on with it."
      -- Anonymous

Top
#241338 - 03/22/03 03:30 AM Re: Help with PhotoPost Pro!!! [Re: ]
Goshik Offline
User

Registered: 03/28/01
Posts: 44
[] INSERT INTO photos (id,user,userid,cat,date,title,description,keyword <br />s,bigimage,width,height,filesize,medwidth,medheigh <br />t,medsize,approved,lastpost,watermarked,allowprint <br />,extra1,extra2,extra3,extra4,extra5,extra6) values(NULL,'Raconteur', 79, 509, 1048191297, 'barbouriLg', '', '', 'barbouriLg.jpg', 640, 480, 97407, , , , 1, 1048191297, 'no','','','','','','','') [/] <br /> <br />File image-inc.php line 540: <br /> <br />Find: $query = "INSERT INTO photosINSERT INTO photo... <br /> values(NULL,'$username',.... <br />change values(..) to <br /> <br />values(NULL,'$username', '$userid', '$thecat', '$julian', '$ititle', '$idesc', '$ikeywords', '$realname', '$imagewidth', '$imageheight', '$imagesize', <br /> '$medwidth', '$medheight', '$medsize', '$moderate', '$julian', '$watermarked','$allowprint','$extra1','$extra2','$extra3','$extra4','$extra5','$extra6')"; <br />


Edited by Goshik (03/22/03 04:21 AM)

Top
#241339 - 03/22/03 10:09 AM Re: Help with PhotoPost Pro!!! [Re: xBlacky33]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
have you looked at your photopost database with phpMyAdmin or something to verify the tables and such are there? <br /><br />As for the path to mogrify, do tou have telnet or SSH access? You can easily verify the path yourself if you do by typing "locate mogrify" at the command prompt. A lot of times hosts will either install old versions of ImageMagick, or install it incorrectly, or just plain not know the real path of the executable.<br />

Top
#241340 - 03/22/03 11:55 AM Re: Help with PhotoPost Pro!!! [Re: xBlacky33]
Raconteur_dup1 Offline
Member

Registered: 01/29/03
Posts: 258
Loc: SF, CA
Hi Goshik,<br /><br />Are you just adding the NULL to the value list here?? Have you experienced this same problem? I did not see anything about this on the PPPro site...
_________________________
"Some dream of doing great things, while others stay awake and get on with it."
      -- Anonymous

Top
#241341 - 03/22/03 12:15 PM Re: Help with PhotoPost Pro!!! [Re: palmen]
Raconteur_dup1 Offline
Member

Registered: 01/29/03
Posts: 258
Loc: SF, CA
Hi msula,<br /><br />The DB tables are all good... not sure if I have telnet access to our host... have to find out.<br /><br />Does anyone know if Mogrify is better or worse than GD1 or GD2??<br /><br />If they are the same, then I am not going to bother because I just got it working with GD1.
_________________________
"Some dream of doing great things, while others stay awake and get on with it."
      -- Anonymous

Top
#241342 - 03/22/03 12:35 PM Re: Help with PhotoPost Pro!!! [Re: ]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
GD1 sucks, GD2 is good, comparable with ImageMagick. The only drawback is unless the host manually edited GD2, there is no GIF support

Top
#241343 - 05/07/03 04:48 PM Re: Help with PhotoPost Pro!!! [Re: palmen]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
I am also having problems with Photo Post. <br /> <br />Here is the error I am getting: <br /> <br />Warning: unlink() [function.unlink]: No such file or directory in /home/socapsn/public_html/photopost/image-inc.php on line 403 <br /> <br />& <br /> <br />Error creating resized original! Error code: 15 <br /> <br /> <br />I have uploaded the images via ftp into the correct folder and get to the last step, past the page were it shows the thumbnail and I come up with the above error. <br /> <br /> <br />Testing UNZIP at: /usr/bin/unzip.... OK, found the file! <br />Testing MOGRIFY at: /usr/bin/mogrify.... OK, found the file! <br /> <br /> <br />Any help would be appreciated, <br /> <br />Bobby


Edited by BWilliams (05/07/03 04:57 PM)

Top
#241344 - 05/07/03 05:49 PM Re: Help with PhotoPost Pro!!! [Re: vajraman]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
What graphics you using ImageMagick GD1 or GD2
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#241345 - 05/07/03 06:11 PM Re: Help with PhotoPost Pro!!! [Re: sf49rminer]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
[]Omegatron said:<br />What graphics you using ImageMagick GD1 or GD2 [/]<br />ImageMagick

Top
#241346 - 05/07/03 06:17 PM Re: Help with PhotoPost Pro!!! [Re: vajraman]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Is this a new install?<br /><br />I have seen others encounter this from Image Magick being configured incorrectly
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#241347 - 05/07/03 06:19 PM Re: Help with PhotoPost Pro!!! [Re: sf49rminer]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Try saving this code below to a file and name it info.php and upload it to your server. Then run it and tell me what version GD is on your server.<br /><br /><?php<br /><br />// Show all information, defaults to INFO_ALL<br />phpinfo();<br /><br />?><br />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#241348 - 05/07/03 06:28 PM Re: Help with PhotoPost Pro!!! [Re: sf49rminer]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
[]Omegatron said:<br />....then run it and tell me what version GD is on your server. [/]<br />GD Version bundled (2.0 compatible)

Top
#241349 - 05/07/03 06:34 PM Re: Help with PhotoPost Pro!!! [Re: vajraman]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Okay try changing the config file to GD2 which should be 1 and reuploading it. If you have GD2 you should really try using that instead of ImageMagick. Try uploading an image after that.<br /><br />The section of code you want to edit in config file will be this<br /><br />// GD2 support<br />// this will only work if you have GD1 or GD2 installed<br />// 0 - use mogrify; 1 - use GD2; 2- use GD1<br />$usegd = 1;<br />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#241350 - 05/07/03 09:14 PM Re: Help with PhotoPost Pro!!! [Re: sf49rminer]
PhotoPost Offline
Hacker

Registered: 02/03/02
Posts: 989
What version of IM do you have running? The format command is something on the more recent versions and the parameter is JPG, not JPEG. (Although JPEG can be used and is quoted in the example on imagemagick.org). <br /> <br />We had one host that also suggested using JPEG and we manually changed the command to force a JPEG into the command line and this fixed their problem. However, we have been unable to figure out WHY and for WHAT users. <br /> <br />We see some cases where the medium variable are NULL - and usually there is another error concerning the getfilesize() call. Most of the times I have seen this, there has been a permissions issue on the data directory. <br /> <br />Keep in mind, the SERVER has to have access to all these directories. unlink errors usually indicate that the server doesnt have permission to remove a file or the file was never able to be moved there in the first place. <br /> <br />Also helps to know what version of PHP you are using, what version of MYSQL and what version of IM. <br /> <br />GD2 is MUCH better than GD1. GD1 uses a resize and GD2 uses a resample; the quality of the thumbnails of GD2 is as good as IM. <br /> <br />I make probably 40-60 posts a day on PP forums; not sure why you are only getting one response a day.
_________________________
[]http://www.danasoft.com/vipersig.jpg[/]
Viper Alley - http://www.viperalley.com
Extreme Fitness - http://www.extremefitness.com[/b]

Top
#241351 - 05/07/03 09:17 PM Re: Help with PhotoPost Pro!!! [Re: gailg]
PhotoPost Offline
Hacker

Registered: 02/03/02
Posts: 989
n/m


Edited by extremebikini (05/07/03 09:33 PM)
_________________________
[]http://www.danasoft.com/vipersig.jpg[/]
Viper Alley - http://www.viperalley.com
Extreme Fitness - http://www.extremefitness.com[/b]

Top
#241352 - 05/07/03 09:27 PM Re: Help with PhotoPost Pro!!! [Re: gailg]
PhotoPost Offline
Hacker

Registered: 02/03/02
Posts: 989
Now dont I feel like the fool. Your thread is like 2 months old!
_________________________
[]http://www.danasoft.com/vipersig.jpg[/]
Viper Alley - http://www.viperalley.com
Extreme Fitness - http://www.extremefitness.com[/b]

Top
#241353 - 05/07/03 09:40 PM Re: Help with PhotoPost Pro!!! [Re: gailg]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
LOL<br />That's OK <img src="/forum/images/graemlins/wink.gif" alt="" /><br />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#241354 - 05/08/03 04:30 AM Re: Help with PhotoPost Pro!!! [Re: Daine]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Michael thats funny. Yeah BWilliams bumped it to the top.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#241355 - 05/08/03 07:17 AM Re: Help with PhotoPost Pro!!! [Re: sf49rminer]
PhotoPost Offline
Hacker

Registered: 02/03/02
Posts: 989
In 3.3.1, I added some code when I found some documentation where getimagesize() failed on some types of JPGs. I'm hoping this solved that error. But when I first saw this thread, I was like WTF?!<br /><br /><img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
[]http://www.danasoft.com/vipersig.jpg[/]
Viper Alley - http://www.viperalley.com
Extreme Fitness - http://www.extremefitness.com[/b]

Top
#241356 - 05/09/03 08:12 PM Re: Help with PhotoPost Pro!!! [Re: gailg]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
Sorry for the confusion <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />In the future should I not bring a post to the top and just start a new one?<br /><br />I am out of town and just now read the replies. I am still having problems though, but will try and upgrade to see if that takes care of it when I return home on Monday.<br /><br />I have not upgraded a forum or anything that requires a lot of knowledge, is there detail instructions as to how I would go about upgrading photo post somewhere that I over looked?

Top
#241357 - 05/09/03 09:03 PM Re: Help with PhotoPost Pro!!! [Re: vajraman]
PhotoPost Offline
Hacker

Registered: 02/03/02
Posts: 989
I think if you want help with PhotoPost that you should go to the PhotoPost support pages. This is not a PP support forum. <img src="/forum/images/graemlins/laugh.gif" alt="" />
_________________________
[]http://www.danasoft.com/vipersig.jpg[/]
Viper Alley - http://www.viperalley.com
Extreme Fitness - http://www.extremefitness.com[/b]

Top
#241358 - 05/13/03 02:34 PM Re: Help with PhotoPost Pro!!! [Re: gailg]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
[]extremebikini said:<br />I think if you want help with PhotoPost that you should go to the PhotoPost support pages. This is not a PP support forum. <img src="/forum/images/graemlins/laugh.gif" alt="" /> [/]<br />I have made a post over on the PP Support site. I just seen this thread and jumped in as there is a lot more traffic here than there it seems.<br /><br />Thanks,<br /><br />Bobby

Top
Page 1 of 2 1 2 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks