'$' is undefined error on insallation

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
I'm trying to install nopCommerce 3.90 on a Windows 2008R2 server. While I can publish correctly (I presume), when I go into the site to install, I get just text with no styling/formatting. In IE using the debugger, I get a '$' is undefined on line 79 of install. I've tried several things, including setting permissions (which is very unclear in the documentation), but nothing seems to work.

Has anyone else come across this issue? Any ideas and/or recommendations?

Thanks,
Kevin
6 years ago
KSwanner wrote:
'$' is undefined


AS I know when Jquery.js file is not found/not exist  than this error is occur.

Or If into your IE browser JavaScript run is disable than this error is occur.

So please check both cases.
6 years ago
Thanks for the quick reply.

I would agree if this was the first time I had used the browser. But, I've used IE and Chrome for quite awhile, even on our own websites that have Javascript. This error happens on both IE 11 and on Chrome.
6 years ago
KSwanner wrote:
Thanks for the quick reply.

I would agree if this was the first time I had used the browser. But, I've used IE and Chrome for quite awhile, even on our own websites that have Javascript. This error happens on both IE 11 and on Chrome.


Most probably, the jQuery file has not loaded correctly. If you see the file there, try replacing it with fresh one.  Check the same in developer tools if this file is loading and in correct order?
6 years ago
This is an standard installation of nopCommerce. Unzip into target site; go to site to install. Everything that should be there, is.

Looking through IIS logs, I see 401.5.3 errors on many files, including jQuery. The app pool identity is set to the default (ApplicationPoolIdentity). I have been unable to set the correct permissions on the folders/files, nor have I been able to change the app pool identity.
6 years ago
KSwanner wrote:
This is an standard installation of nopCommerce. Unzip into target site; go to site to install. Everything that should be there, is.

Looking through IIS logs, I see 401.5.3 errors on many files, including jQuery. The app pool identity is set to the default (ApplicationPoolIdentity). I have been unable to set the correct permissions on the folders/files, nor have I been able to change the app pool identity.


Hi,

You caught correct error. Just fix this using right permissions and it should work.

Share what you fix so it will be helpful to others.

Regards,

Krunal
6 years ago
I found this forum post:

https://stackoverflow.com/questions/7334216/iis7-permissions-overview-applicationpoolidentity

This pointed me in the right direction. It was definitely permissions, but I didn't know exactly which user to give permissions to.

Follow these steps to find the correct user:

1. Go into IIS and select the website from the Sites folder in the server.
2. Double-click the Authentication icon in the IIS section.
3. Ensure Anonymous Authentication is Enabled.
4. Right-click Anonymous Authentication and choose Edit.... The user is shown under Specific User.

In my case--and it's probably the default--it was IUSR. I set the permissions for IUSR to Modify in the website folders and it works as expected.
6 years ago
Glad to know its fixed.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.