Page 1 of 1

Error. Unable to upload file

Posted: 22 Dec 2010, 13:23
by mihha
Hi,

at the beginning I have to say that I DID search the forum here about this specific problem and I DID check permissions on all files and folders that Phoca created and is using under /images/phocagallery folder (including phocagallery folder itself).

I also read all the suggested documentation from those posts and do everything mentioned there.

Since I can't attach any screenshots here, I can't show you what is going on but basically, it is the same as all the other posts which describes the same problem.

When I upload a file through Phoca gallery image upload, file is actually uploaded, I can see it in phoca's file browser and I can choose it.

The only problem I see is that at the top of the page, you can see Joomla error message saying "Error. Unable to upload file". I wouldn't mind this error message but my client doesn't want to see it :)

Is there a way to remove (at least) this part of the code from phoca's output:

Code: Select all

<dl id="system-message">
<dt class="error">Error</dt>
<dd class="error message fade">
	<ul>
		<li>Error. Unable to upload file</li>
	</ul>
</dd>
</dl>
until somebody can give me clue what is going on here?

I tried to find this HTML source in phoca's source but without any luck.

Please help! :cry:

Re: Error. Unable to upload file

Posted: 23 Dec 2010, 21:51
by Jan
Hi, this message is rendered by Joomla! system. And is only displayed in case something went wrong with upload, maybe try to check cache settings, if there is some old error message :idea: :idea:

Re: Error. Unable to upload file

Posted: 04 Jan 2011, 22:47
by mihha
Hi,

I know that this message is rendered by Joomla and I tried everything to fix the problem but I am just unable to do it. I followed any suggestion that I could find here in forum.

I there a way to debug Phoca gallery somehow to see what is wrong?

Igor

Re: Error. Unable to upload file

Posted: 05 Jan 2011, 16:36
by Jan
Hi, I think not, Phoca Gallery add this message to the system and it will be displayed by Joomla!. So all this must be done e.g. in template (display/hide messages) or directly in the code which renders it. :idea: :(

Jan