 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
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.
|
| |
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
|
| |
July 18th, 2005, 09:53 AM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2005
Posts: 11
|
Anyone?
|
| |
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
|
| |
July 18th, 2005, 11:12 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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.
|
| |
July 18th, 2005, 07:10 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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?
|
| |
July 18th, 2005, 07:43 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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.
|
| |
July 18th, 2005, 07:59 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
July 18th, 2005, 09:55 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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 ?
|
| |
July 19th, 2005, 07:56 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
In Admin section ==> Storage Options
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 10:02 PM. | |