![]() |
Upload problems and warnings on a Windows server Ok, I got Photopost working on a Linux server (w/ ImageMagick), but for the time being I need it to run on a Windows server (w/ GD2). Note: I don't have access to the PHP.ini file (shared hosting). I get the following errors when uploading: Top of the page... Warning: fopen(C:SWsoftPEMCustomerDatawebspaceswebspace_00011914wwwroot/photopost/uploads/3/index.htm) [function.fopen]: failed to open stream: No such file or directory in C:\SWsoft\PEM\CustomerData\webspaces\webspace_00011914\wwwroot\photopost\pp-inc.php on line 2786 Warning: fclose(): supplied argument is not a valid stream resource in C:\SWsoft\PEM\CustomerData\webspaces\webspace_00011914\wwwroot\photopost\pp-inc.php on line 2787 Middle of the page... C:SWsoftPEMCustomerDatawebspaceswebspace_00011914wwwroot/photopost/uploads/3: Error creating directory (check permissions). Please notify the System Administrator. I believe the uploads and 3 directory are set to an equivalent of a 777 on a Windows server. I get the following errors in the top middle of the 'adm-index.php' page: Warning: opendir(C:SWsoftPEMCustomerDatawebspaceswebspace_00011914wwwroot/photopost/data/) [function.opendir]: failed to open dir: Invalid argument in C:\SWsoft\PEM\CustomerData\webspaces\webspace_00011914\wwwroot\photopost\adm-inc.php on line 588 Warning: readdir(): supplied argument is not a valid Directory resource in C:\SWsoft\PEM\CustomerData\webspaces\webspace_00011914\wwwroot\photopost\adm-inc.php on line 591 Warning: closedir(): supplied argument is not a valid Directory resource in C:\SWsoft\PEM\CustomerData\webspaces\webspace_00011914\wwwroot\photopost\adm-inc.php on line 608 Warning: opendir(C:SWsoftPEMCustomerDatawebspaceswebspace_00011914wwwrootphotopost/data/) [function.opendir]: failed to open dir: Invalid argument in C:\SWsoft\PEM\CustomerData\webspaces\webspace_00011914\wwwroot\photopost\adm-inc.php on line 588 Warning: readdir(): supplied argument is not a valid Directory resource in C:\SWsoft\PEM\CustomerData\webspaces\webspace_00011914\wwwroot\photopost\adm-inc.php on line 591 Warning: closedir(): supplied argument is not a valid Directory resource in C:\SWsoft\PEM\CustomerData\webspaces\webspace_00011914\wwwroot\photopost\adm-inc.php on line 608 |
Looks to me like when you installed you used forward slashes In admin global and storage options you need to correct our data and uploads paths and add forward slashes like so C:/SWsoft/PEM/CustomerData/webspaces/webspace_00011914/wwwroot/photopost/data/ |
Chuck, I made the forward slash changes like you suggested to the data and uploads Server paths and now I'm getting different errors. (I never modified the server paths before this) It seems the backslashes and run-ons are there regardless. I get the following errors when uploading: Top of the page... Warning: copy(C:SWsoftPEMCustomerDatawebspaceswebspace_00011914wwwrootphotopost/data/500/PIC_0001.JPG) [function.copy]: failed to open stream: No such file or directory in C:\SWsoft\PEM\CustomerData\webspaces\webspace_00011914\wwwroot\photopost\uploadphoto.php on line 625 Warning: getimagesize(C:SWsoftPEMCustomerDatawebspaceswebspace_00011914wwwrootphotopost/data/500/PIC_0001.JPG) [function.getimagesize]: failed to open stream: No such file or directory in C:\SWsoft\PEM\CustomerData\webspaces\webspace_00011914\wwwroot\photopost\image-inc.php on line 247 Warning: copy(C:SWsoftPEMCustomerDatawebspaceswebspace_00011914wwwrootphotopost/data/500/PIC_0001.JPG) [function.copy]: failed to open stream: No such file or directory in C:\SWsoft\PEM\CustomerData\webspaces\webspace_00011914\wwwroot\photopost\image-inc.php on line 279 Warning: getimagesize(C:SWsoftPEMCustomerDatawebspaceswebspace_00011914wwwrootphotopost/data/500/PIC_0001.JPG) [function.getimagesize]: failed to open stream: No such file or directory in C:\SWsoft\PEM\CustomerData\webspaces\webspace_00011914\wwwroot\photopost\image-inc.php on line 508 Warning: getimagesize(C:SWsoftPEMCustomerDatawebspaceswebspace_00011914wwwrootphotopost/data/500/PIC_0001.JPG) [function.getimagesize]: failed to open stream: No such file or directory in C:\SWsoft\PEM\CustomerData\webspaces\webspace_00011914\wwwroot\photopost\image-inc.php on line 756 Warning: filesize() [function.filesize]: stat failed for C:SWsoftPEMCustomerDatawebspaceswebspace_00011914wwwrootphotopost/data/500/PIC_0001.JPG in C:\SWsoft\PEM\CustomerData\webspaces\webspace_00011914\wwwroot\photopost\image-inc.php on line 765 Warning: fread(): supplied argument is not a valid stream resource in C:\SWsoft\PEM\CustomerData\webspaces\webspace_00011914\wwwroot\photopost\image-inc.php on line 765 Middle of the page... Unable to read the format of file: C:SWsoftPEMCustomerDatawebspaceswebspace_00011914wwwrootphotopost/data/500/PIC_0001.JPG I get the following errors in the top middle of the 'adm-index.php' page: Warning: opendir(C:SWsoftPEMCustomerDatawebspaceswebspace_00011914wwwrootphotopost/data/) [function.opendir]: failed to open dir: Invalid argument in C:\SWsoft\PEM\CustomerData\webspaces\webspace_00011914\wwwroot\photopost\adm-inc.php on line 588 Warning: readdir(): supplied argument is not a valid Directory resource in C:\SWsoft\PEM\CustomerData\webspaces\webspace_00011914\wwwroot\photopost\adm-inc.php on line 591 Warning: closedir(): supplied argument is not a valid Directory resource in C:\SWsoft\PEM\CustomerData\webspaces\webspace_00011914\wwwroot\photopost\adm-inc.php on line 608 |
Make sure you global options all have forward slashes in paths as down and in storage options hit revert and save twice to load the new paths |
| All times are GMT -5. The time now is 08:03 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0