Support

  1. jimmywiddle
  2. Bug Report
  3. Saturday, May 28 2016, 03:21 PM
Hi, Im getting js errors on easyprofile pages only (all other pages on my site work fine without errors).

On the view profile page i get 2 errors the following:

1) TypeError: jQuery(...).on is not a function
jQuery(window).on("resize", function(){
sm.js (line 185, col 1)

2) TypeError: jQuery(...).spasticNav is not a function
jQuery('#sm-mainnav .menu').spasticNav();
sm.js (line 3, col 2)

And on the edit profile page I get 1 error which is related to easyprofile, the following (this also makes the edit avatar button not work):

1) SyntaxError: missing } after function body
....html(imgSelectHtml); //imgSelect.php='/imgSelect/inc/imgSelect.php?name='+cont


Thanks in advance!
admin Accepted Answer
Admin
Hi,
please post me your site link to check this.
  1. more than a month ago
  2. Bug Report
  3. # 1
jimmywiddle Accepted Answer
Many thanks, I added it on the site details tab!
  1. more than a month ago
  2. Bug Report
  3. # 2
admin Accepted Answer
Admin
Hi,
Error on edit profile page
You have some plugin that try to compress HTML output, but this works badly. It only remove space and new lines but this create a problem with Javascript comments, for example see this javascript code:

alert('Test'); // Simple Alert
alert('Test 2');

You will show 2 alerts.

this come something like:

alert('Test'); // Simple Alertalert('Test 2');

second alert was ignored

Profile Page
Profile is on "secure" subdomain, in this site there are 2 differents jQuery instances:
- /templates/silk-media/scripts/jquery-1.4.2.min.js (BAD)
- /media/jui/js/jquery.min.js (CORRECT, loaded with Joomla APIs)
in some pages jQuery is loaded with a different order, so can create differents behaviours
  1. more than a month ago
  2. Bug Report
  3. # 3
  • 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.