AJAX call triggers 500 internal server error

Question

Having a problem with WordPress Ajax calls. In the development environment and in the admin mode on the production server, the ajax works perfectly. When the JQuery post call is made by the same code and with the same, well formatted, request data on the front-end, it fails. Debugged the client side and got the same server response with both the Safari Web Inspector and the Chrome Developer tools. The error message is Internal Server Error (500). What’s going on with IIS 10.0 ? How to set up IIS to accept front-end Ajax calls? Should I install Ajax.Net ?

Continue reading AJAX call triggers 500 internal server error

WordPress website on iOS with wide gray line on scroll

Problem

On a WordPress website an old problem popped up on iOS 10 devices. There is a wide gray line on the right side of the page next to the vertical scrollbar. It seems that the mobile safari wants to draw a full wide scrollbar while the iOS draws only a slim one. iOS wins with its native style scroll but the browser’s wide vertical scroll placeholder stays. How to get read of it ?

Continue reading WordPress website on iOS with wide gray line on scroll

Android Studio ndk project asset_manager_jni.h – no such file or directory error

Problem

While building an Android java library project with Android Studio, a compiler error occurs: “android/asset_manager_jni.h: No such file or directory“. Java sources are in the main/java folder. C++ native sources are placed into the main/jni folder. When I try to compile the whole library without my custom Android.mk, there is no error! When using it, my own ndkbuild in the build.gradle fails with the above error. I searched for solutions but none helped me. Environment: MacBook, OS X: Yosemite, IDE: Android Studio 1.1.0. I installed the latest NDK android-ndk-r10d. What do I miss? (Project code was included).

Continue reading Android Studio ndk project asset_manager_jni.h – no such file or directory error

Blog for us