Error. Unable to upload file

Phoca Gallery - image gallery extension
mihha
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 22 Dec 2010, 13:00

Error. Unable to upload file

Post 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:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error. Unable to upload file

Post 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:
If you find Phoca extensions useful, please support the project
mihha
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 22 Dec 2010, 13:00

Re: Error. Unable to upload file

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error. Unable to upload file

Post 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
If you find Phoca extensions useful, please support the project
Post Reply