Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 07:29 pm EST
Geeklog Forums
File Upload Error
Hello all,
I have File management Plugin installed on my site. The system said installation was successful. I never got to try uploading any file while I was at home in the USA when the the plugin was installed. Now I am trying to upload a file from Africa to the Server located in the USA using the upload function in User Functions, and the error that keeps coming back is:
Warning: move_uploaded_file(C:/Program Files/Apache/apache2/fermaweb/public_html/filemgmt_data/files/tmp/8MHy2u2YR5.doc): failed to open stream: No such file or directory in Crogram FilesApache GroupApache2femarpublic_htmlfilemgmtsubmit.php on line 118
Warning: move_uploaded_file(): Unable to move 'CHPuploadtempphp1D3.tmp' to 'C:/Program Files/Apache/apache2/fermaweb/public_html/filemgmt_data/files/tmp/8MHy2u2YR5.doc' in Crogram FilesApache GroupApache2femarpublic_htmlfilemgmtsubmit.php on line 118
I believe that I created all the folders according to the plugin directory. Is there something I missed? Or is upload only possible locally? Please note that I have not uploaded locally either.
Thanks in advance.
ola_one
I have File management Plugin installed on my site. The system said installation was successful. I never got to try uploading any file while I was at home in the USA when the the plugin was installed. Now I am trying to upload a file from Africa to the Server located in the USA using the upload function in User Functions, and the error that keeps coming back is:
Warning: move_uploaded_file(C:/Program Files/Apache/apache2/fermaweb/public_html/filemgmt_data/files/tmp/8MHy2u2YR5.doc): failed to open stream: No such file or directory in Crogram FilesApache GroupApache2femarpublic_htmlfilemgmtsubmit.php on line 118
Warning: move_uploaded_file(): Unable to move 'CHPuploadtempphp1D3.tmp' to 'C:/Program Files/Apache/apache2/fermaweb/public_html/filemgmt_data/files/tmp/8MHy2u2YR5.doc' in Crogram FilesApache GroupApache2femarpublic_htmlfilemgmtsubmit.php on line 118
I believe that I created all the folders according to the plugin directory. Is there something I missed? Or is upload only possible locally? Please note that I have not uploaded locally either.
Thanks in advance.
ola_one
6
5
Quote
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
The filemgmt folders are not really filesystem directories but are records in the database that show the relationship of the uploaded files. All the files are actually in one directory on the server - hense the issue you are seeing.
For Windows make sure the IIS user has write/modify rights
Geeklog components by PortalParts -- www.portalparts.com
For Windows make sure the IIS user has write/modify rights
Geeklog components by PortalParts -- www.portalparts.com
6
8
Quote
Status: offline
ola_one
Forum User
Full Member
Registered: 06/28/03
Posts: 186
Hello again,
I have tried giving write and modify rights to the Authenticated user on my file management folder and I still cannot upload any files.
Does the above mean IIS user even though I am running Apache? Sorry to sound ridiculous.
If the above statement is correct, then I should only need to grant the write and modify right to the IIS user. Where do I find this user on a Windows 2003 Server?
Thanks again
ola_one
I have tried giving write and modify rights to the Authenticated user on my file management folder and I still cannot upload any files.
For Windows make sure the IIS user has write/modify rights
Does the above mean IIS user even though I am running Apache? Sorry to sound ridiculous.
If the above statement is correct, then I should only need to grant the write and modify right to the IIS user. Where do I find this user on a Windows 2003 Server?
Thanks again
ola_one
9
24
Quote
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
On IIS - look for the users IUSR_XXX and IWAM_XXX. These are the users that IIS runs as unless you use the integrated IIS / NTLM authentication option which is not likely on a public website.
Geeklog components by PortalParts -- www.portalparts.com
Geeklog components by PortalParts -- www.portalparts.com
6
9
Quote
Status: offline
ola_one
Forum User
Full Member
Registered: 06/28/03
Posts: 186
Thanks again,
I have done all that now but I found out that the problem might be my directory. I found that in my configuration settings, the following directories are missing one important element. The directories should be
C:/Program Files/Apache Group/Apache2
Directory to store files:
Directory to store file thumbnails:
Directory to store category thumbnails:
But instead, the Group is missing in Apache Group, and when I try to correct it, I get the warning at the bottom of this text.
C:/Program Files/Apache/Apache2/ferm/public_html/filemgmt_data/files/
C:/Program files/Apache/apache2/ferm/public_html/filemgmt_data/snaps/
C:/Program Files/Apache/apache2/ferm/public_html/filemgmt_data/category_snaps/
This is the waring... Can someone help?
Warning: fopen(C:/Program Files/Apache Group/Apache2/ferm/plugins/filemgmt/filemgmt.php): failed to open stream: Permission denied in Crogram FilesApache GroupApache2fermpublic_htmladminpluginsfilemgmtindex.php on line 1195
Warning: fwrite(): supplied argument is not a valid stream resource in Crogram FilesApache GroupApache2fermpublic_htmladminpluginsfilemgmtindex.php on line 1221
Warning: fclose(): supplied argument is not a valid stream resource in Crogram FilesApache GroupApache2fermpublic_htmladminpluginsfilemgmtindex.php on line 1222
Please help.
Thanks
I have done all that now but I found out that the problem might be my directory. I found that in my configuration settings, the following directories are missing one important element. The directories should be
C:/Program Files/Apache Group/Apache2
Directory to store files:
Directory to store file thumbnails:
Directory to store category thumbnails:
But instead, the Group is missing in Apache Group, and when I try to correct it, I get the warning at the bottom of this text.
C:/Program Files/Apache/Apache2/ferm/public_html/filemgmt_data/files/
C:/Program files/Apache/apache2/ferm/public_html/filemgmt_data/snaps/
C:/Program Files/Apache/apache2/ferm/public_html/filemgmt_data/category_snaps/
This is the waring... Can someone help?
Warning: fopen(C:/Program Files/Apache Group/Apache2/ferm/plugins/filemgmt/filemgmt.php): failed to open stream: Permission denied in Crogram FilesApache GroupApache2fermpublic_htmladminpluginsfilemgmtindex.php on line 1195
Warning: fwrite(): supplied argument is not a valid stream resource in Crogram FilesApache GroupApache2fermpublic_htmladminpluginsfilemgmtindex.php on line 1221
Warning: fclose(): supplied argument is not a valid stream resource in Crogram FilesApache GroupApache2fermpublic_htmladminpluginsfilemgmtindex.php on line 1222
Please help.
Thanks
7
7
Quote
Status: offline
ola_one
Forum User
Full Member
Registered: 06/28/03
Posts: 186
Sorry Blaine, but I was told that the reason why I could not upload initially was because I needed to grant the IIS user the write and modify permissions.
Please I am currently in Africa in a place where the net connection breaks most times, that is why it is taking so long to respond.
However, my web is on Server 2003 with Apache, MYSQL, PHP and Geeklog.
I just realised that much as I try, I could not change the configuration settings for the directory where I need to store my files. The directory is Apache Group but it shows as Apache and that is probably why I cannot upload any file. I have tried changing the directory to the right one, but I keep getting error messages.
It says:
But it should be:
C:/Program Files/Apache Group/Apache2/ferm/public_html/filemgmt_data/files/
Thanks again for all the troubles.
Please I am currently in Africa in a place where the net connection breaks most times, that is why it is taking so long to respond.
However, my web is on Server 2003 with Apache, MYSQL, PHP and Geeklog.
I just realised that much as I try, I could not change the configuration settings for the directory where I need to store my files. The directory is Apache Group but it shows as Apache and that is probably why I cannot upload any file. I have tried changing the directory to the right one, but I keep getting error messages.
It says:
C:/Program Files/Apache/Apache2/ferm/public_html/filemgmt_data/files/
But it should be:
C:/Program Files/Apache Group/Apache2/ferm/public_html/filemgmt_data/files/
Thanks again for all the troubles.
4
7
Quote
All times are EST. The time is now 07:29 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content