Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
On image uploads on messages (like Part of the message is hidden for the guests. Please log in or register to see it. ) I having problem with 404 error.
The page index.php?option=com_community&view=photos&task=ajaxPreviewComment
the response ok,
but in
/confraria/inbox/index.php?option=com_community&view=photos&task=ajaxPreviewComment
or other index.php after an slash like /something/index.php?option=com_community&view=photos&task=ajaxPreviewComment
the server return 404 error.
Its occurs only in this case on entire site (image upload only).
please put the following rewrite code at the Nginx site config for your site.
if ($uri !~* administrator) {
rewrite /\w*/index\.php http://your site domain/index.php$1 redirect;
}
please replace "your site domain" with your domain.
let me know the result. if you dont know how to do it. please contact your server support or provide SSH access detail with root access level
I had already tried that, doesn't works because the browser send file and payload to one url then they receive an 302 to move to other url and the file is not uploaded to the new url.
The error is a json with an message like "file format invalid". So no one upload image in message field works, including one that was working, stops works, no working anymore.
{"error":"Tipo de arquivo enviado n\u00e3o \u00e9 compat\u00edvel."}
this means something like "file format invalid" or "incompatible file sent".
This is the same as access url directly without send any file.
this issue only happen on NginX, seem joomla site config not properly works.
give me time for this. I must setup my local test site on NginX enviroment.
here the fix:
1. edit /components/com_community/assets/_release/js/bundle.js
2. find (using editor tool) any ajaxPreviewComment. you will find 2 location with this