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 October 22nd, 2005, 10:40 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 8
Unhappy First Time Install Help

I am running my own dedicated Windows 2000 Server using IIS with PHP 4.4.0 and MySQL. I just purchased PhotoPost PHP.

I think I'm having trouble understanding the internal and external links in the configuration of PhotoPost. Let me start with the fourth step in the configuration process (I think this is where I begin my mistakes

I am using my web address: http://www.mywebaddress.com for the "Website URL to Homepage"

and the local address of the server: http://10.0.0.11/gallery/ for the "URL to PhotoPost main script directory"

I have tried switching these around to different things but none work properly.

---

By not working properly, When I log in locally to the admin panel, I get the following in the header:

Warning: opendir(C:httpdemonwrestlingdemonwrestling_comgallery/data/): failed to open dir: Invalid argument in C:\http\demonwrestling\demonwrestling_com\gallery\adm-inc.php on line 682

Warning: readdir(): supplied argument is not a valid Directory resource in C:\http\demonwrestling\demonwrestling_com\gallery\adm-inc.php on line 684

Warning: closedir(): supplied argument is not a valid Directory resource in C:\http\demonwrestling\demonwrestling_com\gallery\adm-inc.php on line 692

---

I looked at the global options and tried multiple configuration changes and had no luck. I applogize if I have missed an answer to this on the board somewhere. I'm sure I'm making a simple mistake here. I did look everywhere I could to find a solution before posting here.

Last edited by jmmeisner; October 22nd, 2005 at 10:47 AM.
jmmeisner is offline   Reply With Quote
Old October 22nd, 2005, 11:11 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Couple things I see

1. internal or external is for the integration type. If your going to be using photopost as the registration for users you hit internal. External is when you are trying to integrate with a forum.

2. The url would be your url of the site so what are you calling up when you do install?

http://www.domain.com/gallery/install.php

3. Your paths are missing the slashes. On a windows system you want to enter paths as forward slashes so they are not removed C:/http/daemon
__________________
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 October 22nd, 2005, 11:17 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 8
Ok, I found that for some reason after I corrected the directory links for the Full SERVER PATH to PhotoPost data directory in the Global Options, it did not update (that seems to have only changed the default setting). I went to storage options under the image protection section and found that I could update the settings there to clear the error I was getting above. I am still having some issues and I figure they are related to the global settings.

Should I be blanking out all the "/path/to/php/header.htm" settings until I create headers and footers, etc?

Still, when I log into my gallery, I get this error:

Notice: Undefined variable: argv in C:\http\demonwrestling\demonwrestling_com\gallery\index.php on line 15

Any help or suggestions would be appreciated. Thanks!


I also got this error when I tried to upload a photo. I'm guessing it's another simple mistake...but I don't know what Error code: 1 is

--

Error creating thumbnail! Error code: 1

Command:

"c:\ImageMagick\mogrify.exe" +profile "*" -size 100x78 -quality 70 -geometry 100x78 -unsharp 10 c:/http/demonwrestling/demonwrestling_com/gallery/data/500/thumbs/01.jpg

Last edited by jmmeisner; October 22nd, 2005 at 11:37 AM.
jmmeisner is offline   Reply With Quote
Old October 22nd, 2005, 11:49 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
On this your php error reporting is set to high on the server

Notice: Undefined variable: argv in C:\http\demonwrestling\demonwrestling_com\gallery\index.php on line 15

Now as far as this

Error creating thumbnail! Error code: 1

Command:

"c:\ImageMagick\mogrify.exe" +profile "*" -size 100x78 -quality 70 -geometry 100x78 -unsharp 10 c:/http/demonwrestling/demonwrestling_com/gallery/data/500/thumbs/01.jpg

You must ensure you have set the data and uploads directories as well as there children to READ WRITE EXECUTE. The IWAM AND IUSER accounts must have full access as well.
__________________
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 October 22nd, 2005, 01:56 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 8
Access

Ok, now I am going to sound stupid but here goes:

Do you have a suggestion on the error level setting I should use? Unless I'm wrong, this is what I found for my choices...

E_ALL - All errors and warnings
E_ERROR - fatal run-time errors
E_WARNING - run-time warnings (non-fatal errors)
E_PARSE - compile-time parse errors
E_NOTICE - run-time notices
E_CORE_ERROR - fatal errors that occur during PHP's initial startup
E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's initial startup
E_COMPILE_ERROR - fatal compile-time errors
E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
E_USER_ERROR - user-generated error message
E_USER_WARNING - user-generated warning message
E_USER_NOTICE - user-generated notice message

With the folder permissions, are you talking about windows folder permissions or IIS permissions? I looked around and tried changing some settings but was still unable to achieve the upload

Thanks so much for your help!

Last edited by jmmeisner; October 22nd, 2005 at 02:05 PM.
jmmeisner is offline   Reply With Quote
Old October 22nd, 2005, 02:22 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
error_reporting (E_ALL ^ E_NOTICE); would work

Now in windoes you need to set the security to those directories and there children to READ WRITE EXECUTE and the USERS noted added as well

Linux is 777 and above would be the windows equivilent
__________________
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 October 22nd, 2005, 02:35 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 8
Thanks so much for your help. I've cleared up the PhP error as you've suggested. The thing is I've changed the folder permissions on the data and upload folders and their children and I still get the error.

The file I'm uploading goes into the upload folder, but that's all that seems to happen. Could it be something else?
jmmeisner is offline   Reply With Quote
Old October 22nd, 2005, 04:46 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Have you set the data directory permissions?

What version of ImageMagick are you using?

Is GD available to use?
__________________
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 October 22nd, 2005, 05:42 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 8
Yes I did change the permissions on the two directories. The file does show up in the upload folder, but that's as far as it gets.

ImageMagick 6.2.5.0-Q8 was the installer package. I don't know about GD. Is one better than the other? This is my server so if installing GD is better, I'd gladly do it.
jmmeisner is offline   Reply With Quote
Old October 22nd, 2005, 05:53 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 8
When I run the command in a msdos window I get the error:

mogrify.exe: unable to open image `c:/http/demonwrestling/demonwrestling_com/gal
lery/data/500/thumbs/776228.jpg': No such file or directory.

I guess it's saying that the file isn't there...it is in the upload folder. Do I have the setting wrong where it's looking for the file? Should ImageMagick be looking in the upload folder?

Just FYI, if I copy the file to the thumbs folder, the mogrify.exe command does not return an error and indeed replaces the file with a thumbnail version of itself.

This is killing me, it must be a simple error somewhere on my part!

Last edited by jmmeisner; October 22nd, 2005 at 06:12 PM.
jmmeisner is offline   Reply With Quote
Old October 22nd, 2005, 06:16 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Try removing this twice in image-inc.php

+profile \"*\"
__________________
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 October 22nd, 2005, 06:30 PM   #12 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 8
That seems to have done it! Can you tell me why so I can understand??

I guess what I'm asking is, is it a workaround or am I losing some functionality? etc...

Is it an error in the image-inc.php file?

This might be another stupid question but can you explain the distinction between the folders in the data folder? "1, 2, 500, medium, mini, thumbs" Is there a reason why my file went into the "500" folder instead of another one? Just trying to learn...

Last edited by jmmeisner; October 22nd, 2005 at 06:33 PM.
jmmeisner is offline   Reply With Quote
Old October 22nd, 2005, 06:37 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
well removing the profile is not a bug it just seems some WINDOWS imagemagick versions do not support the profile thing.

As far as the data directories they are the numeric id's of the categories you create. example 500 is the members gallery and so on.
__________________
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 October 22nd, 2005, 07:15 PM   #14 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 8
I see. Well thanks very much for all your support. Hopefully it will all be very smooth from here on out!
jmmeisner 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
Time for Uploads iloco General Discussion 2 November 10th, 2005 01:25 PM
Time Stamp ywang98 Photopost Pro Installation & Upgrades 10 July 27th, 2005 12:20 AM
How much time to get photopost? hernan Before You Buy 8 January 17th, 2005 02:17 PM
Upgrading PP and IPB at same time. Which first? dkmulford Photopost Pro Installation & Upgrades 3 September 3rd, 2004 09:24 PM
How does the length of the ad time work? Johnny Doomo Classifieds Installation & Upgrades 1 July 25th, 2004 07:52 PM


All times are GMT -5. The time now is 03:26 PM.

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