Posts

Showing posts with the label Wordpress

Visual Composer (version 4.4.1) fixes for Wordpress 4.7

Updated to Wordpress 4.7.2 recently and existing theme with old Visual Composer was broken. Searched and tracked the error, and found the following scripts that solves the issues. 1. /wp-content/plugins/js_composer_theme/assets/js/backend/composer-view.js:99 2. /wp-content/plugins/js_composer_theme/assets/js/backend/composer-teaser.js:350

Wordpress "Stable Tag" not updating

Image
PROBLEM: Was updating one of my Wordpress plugin, and find it weird that the Wordpress Plugin Directory does not reflect the changes correctly although I've changed the " Stable tag " in readme.txt. According to Wordpress Plugin " Task 3: "Tagging" a new version " guide, you'll need to edit the trunk/readme.txt beforehand. SOLUTION: That is not enough! In the end, I found out that you will need to update BOTH: trunk/readme.txt trunk/{your-plugin-name}.php Hope this helps!

[Apache AccessLog] %2f..%2f..%2f..%2fetc%2fhttpd%2flogs%2ferror.log

Image
Recently reviewed the Apache Accesslog for one of the sites I'm handling. Got a bunch of entries in my access log that looks like these 54.208.35.151 - - [27/Nov/2013:13:27:58 +0800] "GET /wp-content/plugins/theia-post-slider/js/balupton-history.js/history.js?ver=.. %2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fhttpd%2flogs%2ferror.log HTTP/1.1" 404 - "http:// [this-is-intentionally-masked] .com/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; ScanToSecure)" or 54.208.35.151 - - [27/Nov/2013:13:30:11 +0800] "GET /wp-content/plugins/sociable/css/sociable.css?ver= ..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fvar%2flog%2fapache%2ferror.log HTTP/1.1" 200 5687 "http:// [this-is-intentionally-masked] .com/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; ScanToSecure)" Notice that the second example is actually a HTTP 200 OK status request. Mea...

[Solution] Wordpress "An error occurred in the upload. Please try again later" error.

Image
Got this weird " An error occurred in the upload. Please try again later " error whenever I try to do media uploads in Wordpress. I've checked the folder permission, its correct. In fact, the files were uploaded successfully to wp-content > upload folder. I've tried all kinds of suggestion in forums (disable all plugins, enable them one by one... etc), but still no avail. In the end, I decided to do a "Re-install", and that... worked! And all the uploaded files were intact. ----- Didn't dig deep into finding out what causes the issue. But a wild guess would be something to do with the PHP codes. Because the uploaded files were stored in DB, although the upload status indicated "failed". Most likely something to do with the permission issue highlighted in this blog post .

Openinviter for Wordpress - Hotmail Plugin Fix

Image
Been having issue with OpenInviter  Hotmail plugin for Wordpress. Can't find the fix from the site or the support forum, so decided to do a quick fix for it. For those who are looking for quick/temp fix. You can download it here. Hotmail openinviter-for-wordpress v1.7.0 :  http://www.mediafire.com/?w6zd2f10ectg2da Yahoo! openinviter-for-wordpress v1.7.0 :  http://www.mediafire.com/?jl7y3ljcaki6lmd Quick guide : Choose the plugin from the list above. Upload it to " /your-wordpress-folder/wp-content/plugins/openinviter-for-wordpress/oi_includes/plugins "