- Posts: 2
- Thank you received: 0
Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.
Question JFile::copy: Cannot find or read file
15 years 3 months ago - 15 years 3 months ago #85073
by dcasux
JFile::copy: Cannot find or read file was created by dcasux
I have Kunena 1.6.3 installed, along with Mootools 1.2.4.
I'm getting the error JFile::copy: Cannot find or read file...for file uploads. I'm trying to upload a PDF...I set max file size to 8192.
I cannot get it to go...
The same error comes from Avatar uploads.
I run my own server...it's IIS6. I have php 5.2.9.
Not sure what else to do.
Ideas?
UPDATE
Ok, so I found the problem.
Kunena seems to be trying to copy the file from my workstation to the file server..and it's pointing to the servers' c:\windows\temp folder, which, of course, the IUSR account should not have write access to.
I did change the security to allow this, just for testing purposes, and the uploads now work.
So, then, this begs the question: why isn't Kunena using the "Path to Temp-folder" from Joomla Global Config?
Is there a way that I'm not aware of to modify where Kunena sends the temp files?
I'm getting the error JFile::copy: Cannot find or read file...for file uploads. I'm trying to upload a PDF...I set max file size to 8192.
I cannot get it to go...
The same error comes from Avatar uploads.
I run my own server...it's IIS6. I have php 5.2.9.
Not sure what else to do.
Ideas?
UPDATE
Ok, so I found the problem.
Kunena seems to be trying to copy the file from my workstation to the file server..and it's pointing to the servers' c:\windows\temp folder, which, of course, the IUSR account should not have write access to.
I did change the security to allow this, just for testing purposes, and the uploads now work.
So, then, this begs the question: why isn't Kunena using the "Path to Temp-folder" from Joomla Global Config?
Is there a way that I'm not aware of to modify where Kunena sends the temp files?
Last edit: 15 years 3 months ago by dcasux.
Please Log in or Create an account to join the conversation.
15 years 3 months ago #85087
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re: JFile::copy: Cannot find or read file
Hello,
If you change tmp directory, it will change for all Joomla! place
If you change tmp directory, it will change for all Joomla! place
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
15 years 3 months ago - 15 years 3 months ago #85095
by dcasux
I'm not sure what you mean...
Joomla already uses the Path to Temp-folder location (found in Global Configuration), which for me is: \inetpub\wwwroot\joomla\tmp....it's just Kunena that won't work using this location, as Kunena is using the servers' TMP or TEMP location (c:\windows\temp), not the Joomla one. I would assume that something in Kunena or PHP.INI is calling a server environment variable to grab this info.
Why doesn't Kunena use the same location as the rest of Joomla? That is very strange behavior.
I suspect this is a bug in Kunena code...OR an underlying module Kunena is utilizing...Mootools perhaps?
Anyway, I really am looking for a solution to this problem, as I don't want IUSR to have read/write to the temp folder.
Replied by dcasux on topic Re: JFile::copy: Cannot find or read file
xillibit wrote: Hello,
If you change tmp directory, it will change for all Joomla! place
I'm not sure what you mean...
Joomla already uses the Path to Temp-folder location (found in Global Configuration), which for me is: \inetpub\wwwroot\joomla\tmp....it's just Kunena that won't work using this location, as Kunena is using the servers' TMP or TEMP location (c:\windows\temp), not the Joomla one. I would assume that something in Kunena or PHP.INI is calling a server environment variable to grab this info.
Why doesn't Kunena use the same location as the rest of Joomla? That is very strange behavior.
I suspect this is a bug in Kunena code...OR an underlying module Kunena is utilizing...Mootools perhaps?
Anyway, I really am looking for a solution to this problem, as I don't want IUSR to have read/write to the temp folder.
Last edit: 15 years 3 months ago by dcasux.
Please Log in or Create an account to join the conversation.
15 years 2 months ago - 15 years 2 months ago #87231
by oper
Replied by oper on topic Re: JFile::copy: Cannot find or read file
Look like Kunena is using c:\windows\temp
instead of Joomla Temp Paramaeter
instead of Joomla Temp Paramaeter
Last edit: 15 years 2 months ago by oper.
Please Log in or Create an account to join the conversation.
15 years 2 months ago #87277
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Re: JFile::copy: Cannot find or read file
dcasux: Can you please provide you K 1.6 configuration report. Thank you. I am suspecting that you are having problems with a local PC-based webserver (using something like WAMP or XAMPP, perhaps) but your config. report will show us that. If you are using a PC-based webserver, you should be aware of the caveats:
Support for PC-hosted websites (e.g. WAMP, XAMPP)
.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
Time to create page: 0.246 seconds