Error. Unable to upload file

More
14 years 7 months ago #5448 by tdhaynes
When trying to upload an image I get the following error:

Error. Unable to upload file

Looking at the server I see that the image is uploaded to components/com_flexicontent/uploads

I expect it is a config error on the server as all works well on my localhost

Flexicontent version 1.5.2 stable
Joomla version 1.5.12

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #5469 by kenmcd
Replied by kenmcd on topic Error. Unable to upload file
.
What type of file?
FLEXIcontent (and Joomla) must be configured to allow the particular file type, if it is not already an allowed file type.
If the file is not an allowed file type, it will cause an error.

What is the file size?
FLEXIcontent (and Joomla) must be configured to allow the file size.
If the file is larger than this size restriction, it will cause an error.
This may also be affected by your server settings.


Note: You should update Joomla immediately.

.

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #5471 by tdhaynes
File is 8Kb .gif
Allowed in both Flexicontent and Joomla

Pulling my hair out

PS Great component, thanks

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #5476 by kenmcd
Replied by kenmcd on topic Error. Unable to upload file
.
Quite odd.

Above you say:
"Looking at the server I see that the image is uploaded to components/com_flexicontent/uploads"
So the file did actually get uploaded?
Or not?

Could be an issue with the file itself.
Joomla does have a mime-type check for security.
I have seen a less-than-reputable template vendor actually put PHP code within a GIF file.
Can you attach the file in a ZIP so I can test it?

Can you upload any files?
Have you tested other files and file types?

It may be a compatibility issue with Joomla 1.5.12.
FLEXIcontent is only tested on current versions of Joomla.
You really need to update ASAP.
Security issues, compatibility issues, etc.

.

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #5479 by tdhaynes
I have tried multiple files of various types.
I don't beleive the error is related to the Joomla version as it works perfectly under MAMP on localhost, the error only appeared when I transferred to a live server via a JoomlaPack backup and restore.

The file is actually being uploaded to components/com_flexicontent/uploads/ (and appending a unique number, eg filename.gif, filename-1.gif, filename-2.gif) but the item page displayes the attached error.

I have attached some screenshots, thank you for your assistance.
[attachment=2:1lqd8vqe]<!-- ia2 -->fc.jpg<!-- ia2 -->[/attachment:1lqd8vqe][attachment=1:1lqd8vqe]<!-- ia1 -->j.jpg<!-- ia1 -->[/attachment:1lqd8vqe][attachment=2:1lqd8vqe]<!-- ia2 -->fc.jpg<!-- ia2 -->[/attachment:1lqd8vqe]
Attachments:

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #5482 by kenmcd
Replied by kenmcd on topic Error. Unable to upload file
.
Could be an ownership/permissions issue.
The uploads folder is used for the Secure directory option.
Is there any reason you need to have this GIF in the secure folder?
Have you tried the Media target directory option instead?

Could be an issue with the version of PHP on the live server.

Upgrade Joomla and see if it goes away.

Cannot replicate this issue.
So I am out of ideas.

.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 1.195 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline