Posted on: 06/22/05 08:38am
By: ola_one
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
File Upload Error
Posted on: 06/22/05 08:59am
By: Blaine
Looks like permissions. The folders you created need to be writeable by the webserver process - maybe 775 or 777.
File Upload Error
Posted on: 06/22/05 09:38am
By: ola_one
Thanks Blaine, I am a Windows User so I will try and give the write permission on my 2003 Server. I should mention that I was able to create categories and sub categories for the plugin tthough.
Thanks
ola_one
File Upload Error
Posted on: 06/22/05 11:53am
By: Blaine
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
File Upload Error
Posted on: 07/18/05 05:35pm
By: ola_one
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.
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
File Upload Error
Posted on: 07/18/05 05:43pm
By: Blaine
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.
File Upload Error
Posted on: 07/18/05 07:06pm
By: ola_one
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
File Upload Error
Posted on: 07/18/05 10:06pm
By: Blaine
I'm confused - you were asking about IIS and then you note that you are using apache
File Upload Error
Posted on: 07/23/05 01:19pm
By: ola_one
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:
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.