Support

  1. raylee
  2. Bug Report
  3. Wednesday, March 02 2016, 10:14 PM
Recently after upgrading Easy Profile to 1.3.15 broke both webcam upload and local upload. After upgrading to 1.3.16, it fixed the webcam upload, but my local avatar upload still has problems. Particularly, I get the img404 error. (see attached)
Can you help?
Attachments (1)
Accepted Answer
admin Accepted Answer
Admin
Hi,
found the problem, this is a bug.

In backend the access to Easy Profile component is restricted only for Super Administrators on your site. The request to upload image is sent to Easy Profile component. So request is rejected for non Super Administrators users.

Now I have applied a small patch and works, on Friday we will include this patch in next release.

Thanks for report it :)
  1. more than a month ago
  2. Bug Report
  3. # Permalink
admin Accepted Answer
Admin
Hi,
please post me your site details to check this. you can use the form below the reply in "Site Details" tab.
  1. more than a month ago
  2. Bug Report
  3. # 1
admin Accepted Answer
Admin
or maybe try to read here https://www.easy-profile.com/support/upload-avatar-issues.html

if the problem is GZIP compression try to disable, the fix for this problem is in coming soon release (scheduled for Friday)
  1. more than a month ago
  2. Bug Report
  3. # 2
raylee Accepted Answer
Pro
Here you go. I tried but failed again.
  1. more than a month ago
  2. Bug Report
  3. # 3
admin Accepted Answer
Admin
Hi,
sorry but credentials not works, also when I try to go in /administrator folder, I get a redirect to homepage :(
  1. more than a month ago
  2. Bug Report
  3. # 4
raylee Accepted Answer
Pro
oh yes, I forgot about this part...
  1. more than a month ago
  2. Bug Report
  3. # 5
raylee Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Bug Report
  3. # 6
Have the same problem. When is the release that patches this problem coming out. Was expecting it last Friday.
  1. more than a month ago
  2. Bug Report
  3. # 7
admin Accepted Answer
Admin
please wait 2/3 hours, we are late :( , sorry.

anyway you can't upload avatar only from backend?
  1. more than a month ago
  2. Bug Report
  3. # 8
Content Protected
  1. more than a month ago
  2. Bug Report
  3. # 9
admin Accepted Answer
Admin
Hi,
I'm sorry, can you provide me also FTP access or something to check PHP error_log?
  1. more than a month ago
  2. Bug Report
  3. # 10
Details are attached...
  1. more than a month ago
  2. Bug Report
  3. # 11
admin Accepted Answer
Admin
Hi,
I have found the problem but not a solution, in your site there is some file/component/plugin that adds 2 spaces at start of each request, so is impossible to sent HTTP Header data. You can see this problem also on each page (see screenshot of HTML source).

Header data set also the type of output (in our case an image), but you need to send headers before any other output. Here an example http://stackoverflow.com/questions/13600067/header-function-not-working-php
Attachments (1)
  1. more than a month ago
  2. Bug Report
  3. # 12
Not sure that space before <!DOCTYPE html> comes from. It's frustratingly difficult to get rid of. However, I notice that if I downgrade to 1.3.10 everything works fine!
  1. more than a month ago
  2. Bug Report
  3. # 13
admin Accepted Answer
Admin
We have updated our uploader since 1.3.14 to get new features:
- Webcam over HTML5 (where possible)
- Crop feature also on mobile devices
- Image Crop/Resize 100% faster

After some investigation, we found that your site had been hacked some time ago, see these files:
- /libraries/simplepie/simplepie.php (this is a Joomla core file!!!!!!!)
- /plugins/system/cwgears/sql.php

To see malicious code try to see entire first line of these files

Maybe there are many other hacked files, we can't find all.

Your Joomla environment is compromised.
  1. more than a month ago
  2. Bug Report
  3. # 14
Content Protected
  1. more than a month ago
  2. Bug Report
  3. # 15
raylee Accepted Answer
Pro
Need help. Getting this img404 problem even after 1.3.17
  1. more than a month ago
  2. Bug Report
  3. # 16
admin Accepted Answer
Admin
Hi,
can you please post me your site details to check this? the previous bug should be solved in 1.3.17
  1. more than a month ago
  2. Bug Report
  3. # 17
raylee Accepted Answer
Pro
here you go
  1. more than a month ago
  2. Bug Report
  3. # 18
admin Accepted Answer
Admin
Hi,
I have just tried and works, you can see my new avatar.
  1. more than a month ago
  2. Bug Report
  3. # 19
raylee Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Bug Report
  3. # 20
admin Accepted Answer
Admin
Hi,
your system write some blank space in each output (see screenshot), so the generated image is broken.

There are different causes for this, Error of some plugin or most probably your site has been hacked.

We not seen before this problem because affect only frontend.
Attachments (1)
  1. more than a month ago
  2. Bug Report
  3. # 21
raylee Accepted Answer
Pro
  1. more than a month ago
  2. Bug Report
  3. # 22
admin Accepted Answer
Admin
Hi,
the only workaround is to fix this problem with support of Joomla Monster team, with this "space" is impossible for any extensions to send PHP Headers. PHP headers need to be sent before any other output.

I see others templates with EF4 Framework, and the space is not present, so I think this is a bug only of this template. You need to check in each template php file if there is a space before ?php statement.

If you want we can try a quick investigation, but to do this we need FTP access.
  1. more than a month ago
  2. Bug Report
  3. # 23
raylee Accepted Answer
Pro
yes please, could you take a look?
  1. more than a month ago
  2. Bug Report
  3. # 24
admin Accepted Answer
Admin
Hi,
I found the problem,

Problem of spaces is not present on RAW/AJAX request, so, this is a bug but not is the cause of this problem.

To solve you need to disable plugin svg_helper, this plugin change image output so "Content-Lenght" header become wrong.

Alternatives to not disable this plugin:
1. Add a code to fix "Content-Lenght" header if present.
2. Add a code to skip plugin if image come from Joomla raw requests
in both case you need to ask support to developers of this plugin.
  1. more than a month ago
  2. Bug Report
  3. # 25
raylee Accepted Answer
Pro
That's fantastic! Thank you so much! I was struggling so much.
Can you tell me what led you so specifically to just the svg_helper?
  1. more than a month ago
  2. Bug Report
  3. # 26
admin Accepted Answer
Admin
Hi,
yes,
- first at all I have disabled Countdown plugin redirect for my IP address to see frontend.
- I have disabled PHP header from Easy Profile source code, to see text output
- I have tried to upload image, and I see "img404" error
- I have take the URL of preview image from code after error, the link is something like "index.php?option=com_jsn&view=opField&type=image&format=raw&field=avatar&action=preview&file=d3beexf5ee.jpg&width=800&data[key]=value&rand=1458893808854"
- When I tried to put this link I have seen title of browser like "...SVG..." :o
- I have added a code to skip this plugin and WORKS :D

Finally replaced original codes.
  1. more than a month ago
  2. Bug Report
  3. # 27
ajarae Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Bug Report
  3. # 28
admin Accepted Answer
Admin
Hi Ajarae,
sorry but credentials sent via PM not works :(
  1. more than a month ago
  2. Bug Report
  3. # 29
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.