Sunday 6 November 2016

javascript error SOLVED: Uncaught TypeError: $(...).validate is not a function(…)

It's a very interesting thing. If you are writing your own js function for validation, you can stuck with this Uncaught TypeError. If you are using Google Chrome, you can find the error from console. And it would look like the following screen shot.

Reason: This error comes when there is not defined the function '.validate()'.

Solve: To solve this error you have to attach the file where .validate() is defined. You can put the following CDN link before loading your custom js file or your validation script.

src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js"></script>


OR
You can download the file jquery.validate.js and upload it to your js directory then put the link before loading your custom js file or your validation script.

Please comment if it was helpful. Thanks for visiting. 

Wednesday 2 November 2016

The program can’t start because MSVCR110.dll is missing from your computer wamp - SOLVED

If you were installing WAMP on win xp,win 7 or win 8, after finishing you may got this php-win.exe - System Error
"The program can’t start because MSVCR110.dll is missing" 
 and wamp services doesn’t start.

Fig: After finishing wamp installation when trying to start wamp server.


Or
 you can get the error during installation. Httpd.exe – System Error.


Fig: During wamp installation


This usually happens if a particular file MSVCR110.dll is not present in your system drive. Actually MSVCR110.dll file is a part of Microsoft Visual C++ Redistributable software which is required to run various other programs also in your computer.
To solve the Error “MSVCR110.dll is missing” you have to follow the following steps-
  • Step 1: Install Wamp server anyway (If you get the error during installing, just ignore it and continue to install) in your computer.
  • Step 2: If your operating system is 32 bit then Download Microsoft’s software from Link1 and Link2.
  • Step 3: If your operating system is 64 bit then Download Microsoft’s software from Link3 also i.e. download all of the 3 links, Otherwise ignore this step.
  • Step 4: Unzip the files.
  • Step 5: Install all the software.

N.B.: If wamp does not get installed and error message keep coming then start from Step2. After completing Step5 install wamp i.e. Step1.

That’s it! MSVCR110.dll is missing Error Solved.

-:  Download Links  :-
  • Link 1-vcredist_x86

  • Link 2- vcredist_x86 (1)

  • Link 3-For X64


Thanks for visiting and please comment if it was helpful to you. Best of luck.









Thursday 13 October 2016

Wamp Server Error #1046 - Aucune base n'a été sélectionnée

I Was Importing an sql file to my wamp server after downloading it from my online server. But when importing, I got this error
#1046 - Aucune base n'a été sélectionnée 
Very confused!! What is it! After googling didnt find any help.
But surprisingly when I create a database by another name and tried to import it, PROBLEM SOLVED!! ;-)
So, to solve the SQL file import error #1046 -
1. Create a database with a new name.
2 Then import the SQL file.
That's it!
SQL error #1046 solved.
Hope this will help someone someday somewhere!
Best of Luck! Thank You. Ooh! And if it was helpful to you, then please comment. :-)