Saturday, 7 March 2015

Debugging Apache, My SQL configuration on XAMP

Following are a usual problem reported from Apache/MySQL users

And following general error message will give only clue on a probable port issue where the configured port is already in use. Anybody point this cause will usually predict skype may be the culprit because of a default settings on skype to use ports 80/443 in case the one selected is not available.
-----------------------------------------------------------------------------
This may be due to a blocked port, missing dependencies, 
improper privileges, a crash, or a shutdown by another method.
Press the Logs button to view error logs and check
the Windows Event Viewer for more clues
If you need more help, copy and post this
entire log window on the forums
-----------------------------------------------------------------------------

Following are the usually available advises

1. If you are using the latest Skype, go to Tools -> Options -> Advanced -> connection. Disable the       "Use port 80 and 443 for alternatives for incoming connections"
    Sign Out and Close all Skype windows. Try restart your Apache again.
    To find the program running port 80 conflicting with XAMPP, click theNetstat button at       the far-right. You will see a list of programs together with their respective running port           and PID.
2.  Another reason people usually say is DocumentRoot ServerRoot 
Best way to solve
Best way to solve these kind of issues on Apache/MySQL is to run the batch file associated in the command prompt. This should be the first step executed to debug configuration/dependency issues on Apache/MySQL. The advantage of this step if that it will save lot of time. When we run the batch file, it will display the exact reason for the issue with file and line no affected.
Apache_Start.bat
MySQL_Start.bat

Wednesday, 10 September 2014

Invalid Application Delete? J2ME

This can happen because of two reasons
1. General attributes not added to project. Do the following to achieve this
          Select project from project explorer > Properties > Application Descriptor>Attributes Tab > Use Add button

2. Important! May be beginners will miss this
          Select project from project explorer > Properties > Application Descriptor>MIDlets Tab> Use Add button to add MIDLet name and MIDLet class

MIDlet class is a unique class in your project which extend MIDlet as

MyMainClass extends MIDlet

Thursday, 21 November 2013

Disabling SSL on apache

http://yourbusiness.azcentral.com/disable-ssl-apache-server-19849.html

Apart from this need to take care application is not using "https" in any of its urls/menus etc.

You can do a full text search of "https" in the entire solution to confirm this.

Tuesday, 19 November 2013

Enabling LDAP for PHP on Apache/Windows environment (WAMP)

Here is a very useful and easy url for enabling LDAP for PHP on Apache/Windows environment from ID SAFAIRIS AMAT NOOR
http://wptidbits.com/webs/enable-php-ldap-module-in-xampp/

One change I suggest is have Environment variables configured instead of copying the dlls directly to system folder. Following is the help for this

http://www.php.net/manual/en/faq.installation.php#faq.installation.addtopath

Saturday, 16 November 2013

Perfect way to login to MySQL (windows) through command prompt

Use this : mysql -u user_name -p [press_enter_key]
then type password
Example
D:\xampp\mysql\bin\mysql -u root -p  [press_enter_key]
Enter password: *********

Friday, 18 October 2013

Enabling dependent NuGet Libraries download during build - Visual Studio


"Enable NuGet Package Restore" from within Visual Studio, all of those third-party references will be added. I forget whether you can just right-click on the solution name to do this, otherwise look in Options -> Package Manager -> "Allow NuGet to download missing packages during build".

Original Post
http://our.umbraco.org/forum/developers/extending-umbraco/44227-why-many-references-are-not-found-in-source-code