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 December 3rd, 2005, 04:19 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2005
Posts: 18
Win2003 File paths - HEELP!

PP is advertised that it will run on IIS. Well, not out of the box. There is a major problem with file paths.

See the image below, and note

"Warning: getimagesize(C:WebSitegallery/data/500/Duncan_350_Medium_.jpg"

The true file path is "c:\website\gallery\data\xxx\xxx\xxx"

Somehow, the slashes are being ripped out of the "data" path, and any file operations to the data directory are failing. Access to the "upload" path works fine. I confirmed all of this with filemon.

This is a fresh install.

Please advise, I've burnt many hours trying to figure this out.

MD
Attached Images
File Type: jpg Image1.jpg (96.3 KB, 6 views)

Last edited by wiredinoc; December 3rd, 2005 at 08:09 PM.
wiredinoc is offline   Reply With Quote
Old December 3rd, 2005, 04:22 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
We can only suggest paths on install. If you left backslashes when installing on the paths as in c:\website\gallery etc they would be slashed.

You must use forward slashes.

In your global options and storage options just make sure all paths are correct using forward slashes /

I would think here that your missing a slash there and most likely on storage options if global options are correct
__________________
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 December 3rd, 2005, 08:09 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2005
Posts: 18
Thanks for the quick reply chuck.

I tried every combination of slashes including:

c:\website\gallery\data
c:\website\gallery\data/
c:/website/gallery/data
c:/website/gallery/data/

and a few others. nothing works. I even edited the paths directly in the database to no avail. Something somewhere is broken with this. I have reinstalled probably about 10 times in an attempt to get it right.

What shall I try next? Can I hard code this anywhere? Please trust me, I'm no dummy.

Thanks in advance.
wiredinoc is offline   Reply With Quote
Old December 3rd, 2005, 09:01 PM   #4 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,413
Maybe: c:\\website\\gallery\\data ?
ConqSoft is offline   Reply With Quote
Old December 3rd, 2005, 11:50 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2005
Posts: 18
No luck at all. I suspect something in the code is munching the initial base install string during upload? Heeelp! This is driving me bonkers! BTW,


Warning: copy(C:WebSitegallery/data/2/DSCN9448_Medium_.JPG) [function.copy]: failed to open stream: No such file or directory in C:\WebSite\gallery\uploadphoto.php on line 512

Warning: getimagesize(C:WebSitegallery/data/2/DSCN9448_Medium_.JPG) [function.getimagesize]: failed to open stream: No such file or directory in C:\WebSite\gallery\image-inc.php on line 214

Warning: copy(C:WebSitegallery/data/2/DSCN9448_Medium_.JPG) [function.copy]: failed to open stream: No such file or directory in C:\WebSite\gallery\image-inc.php on line 241

Warning: getimagesize(C:WebSitegallery/data/2/DSCN9448_Medium_.JPG) [function.getimagesize]: failed to open stream: No such file or directory in C:\WebSite\gallery\image-inc.php on line 412

Warning: getimagesize(C:WebSitegallery/data/2/DSCN9448_Medium_.JPG) [function.getimagesize]: failed to open stream: No such file or directory in C:\WebSite\gallery\image-inc.php on line 612

Warning: filesize() [function.filesize]: stat failed for C:WebSitegallery/data/2/DSCN9448_Medium_.JPG in C:\WebSite\gallery\image-inc.php on line 620

Warning: fread(): supplied argument is not a valid stream resource in C:\WebSite\gallery\image-inc.php on line 620
wiredinoc is offline   Reply With Quote
Old December 3rd, 2005, 11:52 PM   #6 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,413
Ya know, I ran PhotoPost on a windows server once and don't remember having to do anything special. Maybe I'm just having a brainfart.

I don't have any backups of it unfortunately so I can't look back at my config.
ConqSoft is offline   Reply With Quote
Old December 4th, 2005, 01:31 AM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2005
Posts: 18
thanks man, appreciate the help. Unfortunately, I purchased based on win functionality in our hosted environment.

I just messed with this more, and it almost dosen't matter what you change the data path to in the admin, or directly in the DB. Filemon shows it always looks for C:WebSitegallery/data/2/.....

Chuck, how should I proceed?

Thanks dudes.

MD

Last edited by wiredinoc; December 4th, 2005 at 01:34 AM.
wiredinoc is offline   Reply With Quote
Old December 4th, 2005, 04:17 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
Well you can email me admin login and I can fix it.

I am 100% sure you have missed what I already stated above.

You sure you checked storage options in admin?

c:/website/gallery/data/ is correct
__________________
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 December 4th, 2005, 04:28 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2005
Posts: 18
Chuck, thanks for the help. I just sent you an email.
wiredinoc is offline   Reply With Quote
Old December 4th, 2005, 11:25 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2005
Posts: 18
Chuck, thanks for looking at this, I'm happy with your desire to get this running.

I am currently still receiving "There was an error uploading this photo. Please report to System Administrator.".

Please advise.
wiredinoc is offline   Reply With Quote
Old December 5th, 2005, 06:16 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
I beleive I sent you an email and the required fix for this.

Your running 5.1x PHP which requires a modification to how localtime is handled

I have not heard back from you since on this issue as you where going to upload the modded files I sent you
__________________
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 December 27th, 2005, 05:21 AM   #12 (permalink)
Member
Verified Customer
 
pistebasher's Avatar
 
Join Date: Oct 2005
Posts: 267
Have you managed to resolve this issue? I'm trying to run a development environment on a local Win2k pro machine running Apache as the localhost. All directories have been given every permission under the sun but a) I cannot upload pics (no such file or directory errors) and b) I cannot create an album - error is "cannot create/write to xxxx. Check permissions etc." The data subdirectory is actually created (eg 501, 502 etc) but photopost stops there with the cannot create/write error (even though all children of data have full control permissions). (The file path has also lost some slashes in the process as noted above; I get d:wwwphotopost/data/503 for example returned in the error message instead of d:/www/photopost/data/503). This is driving me crazy :-( Any ideas anyone?
pistebasher is offline   Reply With Quote
Old December 27th, 2005, 07:48 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
Hello

As explained above to the other gentleman when installing and you place backslashes this causes the issue. You can not use backslashes in PHP in paths. Ton's of articles on the web about this cause everyone in windows environment is use to using backslashes and everywhere else you use forward slashes in paths. You must use forward slashes. So in Admin Global Options make sure your data and upload paths are set as this and save

d:/www/photopost/data/

d:/www/photopost/uploads

Then in Admin => Storage Options view them and click REVERT TWICE to get rid of the stored path with no slashes
__________________
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 December 27th, 2005, 08:55 AM   #14 (permalink)
Member
Verified Customer
 
pistebasher's Avatar
 
Join Date: Oct 2005
Posts: 267
Aha - I was using forward slashes but I had not seen any mention of that Admin => Storage Options procedure !!!

That's cured it, thanks Chuck.
pistebasher is offline   Reply With Quote
Old January 2nd, 2006, 12:22 PM   #15 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Posts: 37
In the program, in every field... you should let us know if it needs to be forward slashes and if we need a starting "/" and/or a trailing "/".
LLIFE 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
vb image paths ? DavidMacLean Photopost Pro Installation & Upgrades 4 June 15th, 2006 06:05 PM
Images paths and installation chrisrixon Installs and Upgrade - vBulletin 3.5.X 1 October 29th, 2005 02:07 PM
I've always had some issues with file paths vbusers11 Installs and Upgrade - vBulletin 3.5.X 3 August 5th, 2005 07:38 PM
Wtf?! Brinnie Installs and Upgrade - vBulletin 3.5.X 1 July 24th, 2005 05:16 PM
Messed up imaeg paths imported_Blaminator Installs and Upgrade - vBulletin 3.0.X 4 May 8th, 2005 11:12 AM


All times are GMT -5. The time now is 02:19 AM.

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