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 July 14th, 2005, 04:29 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2005
Posts: 11
Unable to read format on Windows Server

I just installed Photopost on a Windows 2003 server and I get the following error:

Unable to read the format of file: E:webphotomanhtdocsphotopost/data/500/abstract_monitor_2.jpg

I have tried in my admin panel and in config-inc.php the following settings for the path:

E:/web/photoman/htdocs/photopost/

E:\web\photoman\htdocs\photopost\

Thanks for any help that can be given.
dstov is offline   Reply With Quote
Old July 14th, 2005, 04:40 PM   #2 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2005
Posts: 11
forgot the rest of the error:

PHP Warning: copy(E:webphotomanhtdocsphotopost/data/500/abstract-monitor.jpg): failed to open stream: No such file or directory in E:\web\photoman\htdocs\photopost\uploadphoto.php on line 501 PHP Warning: getimagesize(E:webphotomanhtdocsphotopost/data/500/abstract-monitor.jpg): failed to open stream: No such file or directory in E:\web\photoman\htdocs\photopost\image-inc.php on line 214 PHP Warning: copy(E:webphotomanhtdocsphotopost/data/500/abstract-monitor.jpg): failed to open stream: No such file or directory in E:\web\photoman\htdocs\photopost\image-inc.php on line 241 PHP Warning: getimagesize(E:webphotomanhtdocsphotopost/data/500/abstract-monitor.jpg): failed to open stream: No such file or directory in E:\web\photoman\htdocs\photopost\image-inc.php on line 410 PHP Warning: getimagesize(E:webphotomanhtdocsphotopost/data/500/abstract-monitor.jpg): failed to open stream: No such file or directory in E:\web\photoman\htdocs\photopost\image-inc.php on line 610 PHP Warning: filesize(): Stat failed for E:webphotomanhtdocsphotopost/data/500/abstract-monitor.jpg (errno=2 - No such file or directory) in E:\web\photoman\htdocs\photopost\image-inc.php on line 618 PHP Warning: fread(): supplied argument is not a valid stream resource in E:\web\photoman\htdocs\photopost\image-inc.php on line 618
dstov is offline   Reply With Quote
Old July 18th, 2005, 09:53 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2005
Posts: 11
Anyone?
dstov is offline   Reply With Quote
Old July 18th, 2005, 09:54 AM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2005
Posts: 11
This is the initial error:

Unable to read the format of file: E:webphotomanhtdocsphotopost/data/501/abstract-monitor.jpg
dstov is offline   Reply With Quote
Old July 18th, 2005, 11:12 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Okay for one the path needs to be using / instead of \

E:/web/photoman/htdocs/photopost

Then in windows you need to set your directory permissions. The errors tell me your directory permissions are not 777 equivelent

Thus the file can not be read or stat'd
__________________
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 July 18th, 2005, 06:04 PM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2005
Posts: 11
Yes, as stated above, I have tried it with the path as E:/web/photoman/htdocs/photopost and it is not working. I have the review software installed and working correctly. The directory permissions are correct as well as it is set to IIS_USER Read and Write.
dstov is offline   Reply With Quote
Old July 18th, 2005, 07:10 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
This through tells me permissions are not set correctly. Url to install?

PHP Warning: copy(E:webphotomanhtdocsphotopost/data/500/abstract-monitor.jpg): failed to open stream: No such file or directory in E:\web\photoman\htdocs\photopost\uploadphoto.php on line 501 PHP Warning: getimagesize(E:webphotomanhtdocsphotopost/data/500/abstract-monitor.jpg): failed to open stream: No such file or directory in E:\web\photoman\htdocs\photopost\image-inc.php on line 214 PHP Warning: copy(E:webphotomanhtdocsphotopost/data/500/abstract-monitor.jpg): failed to open stream: No such file or directory in E:\web\photoman\htdocs\photopost\image-inc.php on line 241 PHP Warning: getimagesize(E:webphotomanhtdocsphotopost/data/500/abstract-monitor.jpg): failed to open stream: No such file or directory in E:\web\photoman\htdocs\photopost\image-inc.php on line 410 PHP Warning: getimagesize(E:webphotomanhtdocsphotopost/data/500/abstract-monitor.jpg): failed to open stream: No such file or directory in E:\web\photoman\htdocs\photopost\image-inc.php on line 610 PHP Warning: filesize(): Stat failed for E:webphotomanhtdocsphotopost/data/500/abstract-monitor.jpg (errno=2 - No such file or directory) in E:\web\photoman\htdocs\photopost\image-inc.php on line 618 PHP Warning: fread(): supplied argument is not a valid stream resource in E:\web\photoman\htdocs\photopost\image-inc.php on line 618
__________________
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 July 18th, 2005, 07:38 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2005
Posts: 11
Does this not tell you that it can not find the directory E:webphotomanhtdocsphotopost/data/500/ before it tells you that it can not write to the correct directory?

From what I am reading, it can not write to the directory because it can not find it rather than it having the wrong permissions. I think if I can get the program reading from the correct directory, then it will work properly.

By default, all directories on our site are Read/Write. Our webhost has checked them as well.

The program is setup exactly the same way as ReviewPost other than the directory that it writes to.

Should I hard code the path into uploadphoto.php and image-inc.php?
dstov is offline   Reply With Quote
Old July 18th, 2005, 07:43 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
No if you have the correct path it will work.

What is your data directory set to in global options??

E:/web/photoman/htdocs/photopost/data/

cause if its this above it has to be permissions as your telling me its this and 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 July 18th, 2005, 07:56 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2005
Posts: 11
Yes, that is what my directory is set to, but if you look at the error message, you will see that the program is not parsing the directory correctly. It thinks it needs to go to:

E:webphotomanhtdocsphotopost/data/

"PHP Warning: copy(E:webphotomanhtdocsphotopost/data/500/abstract-monitor.jpg): failed to open stream"

This shows that the program is trying to go to a directory that does not exist in the first place so it has no clue if the directory permissions are correct or not. It never reaches the correct directory in the first place because the program is not parsing the directory correctly.

Thanks for your help.
dstov is offline   Reply With Quote
Old July 18th, 2005, 07:59 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
I would suggest you send me a url and login to look at things there is nothing more I can post on this issue without seeing what you have going 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 July 18th, 2005, 09:55 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Okay in your admin section storage options you had the paths set 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 July 18th, 2005, 11:47 PM   #13 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2005
Posts: 11
What area was this set in? Under Global Options or ?
dstov is offline   Reply With Quote
Old July 19th, 2005, 07:56 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
In Admin section ==> Storage Options
__________________
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
Database not properly setup - unable to read settings table. Contact administrator Judge Ruckus Photopost Pro Installation & Upgrades 5 October 13th, 2005 03:54 PM
Windows server Fiber Installs and Upgrade - vBulletin 3.0.X 4 January 27th, 2005 04:27 AM
If you are thinking about buying, READ THIS: shortbus1662 Before You Buy 5 August 5th, 2004 01:10 PM
Error code: 1 - Windows 2003 Server flumpydog General Discussion 2 August 4th, 2004 07:00 PM


All times are GMT -5. The time now is 10:02 PM.

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