Category Archives: Solutions

Errors occurred during the build – java.lang.NullPointerException

I was trying to make a project clean today and started receiving this error. The “solution” to this as it doesn’t really give you any insight is to disable the Javascript Validator from Project -> Properties -> Builder. In my case … Continue reading

Posted in Solutions | Tagged , , , | 5 Comments

Remove blocked IPs caused by mod_security at Linux servers

It is quite common a client or even myself not being able to access my website. This is caused because mistakenly the mod_security (a module installed at linux servers to secure your website against malicious users) has placed the IP … Continue reading

Posted in Howto, Solutions | Tagged , , | 1 Comment

Prestashop: All modules cannot be loaded due to memory limit restriction reason

Prestashop version: 1.4.6.2 Problem: All modules cannot be loaded due to memory limit restriction reason, please increase your memory_limit value on your server configuration Solution: At /config/config.inc.php add: ini_set(‘memory_limit’,’128M’);

Posted in Solutions | Tagged , , | 1 Comment

PHP Bug with DateTime diff

After PHP 5.3.0 DateTime::diff was introduced to help with the comparison between two DateTime objects. However it still seems to be a bit buggy. While I was developing a statistics tool and trying to group occurrences by month, I got … Continue reading

Posted in Bugs, Solutions | Tagged , , , , , | 7 Comments

Add right side widget to beauty dots theme for wordpress

The theme beauty dots comes with only one widget support at the footer section of the page. In order to solve this and provide support for the right side area as well, we need to investigate of where the problem … Continue reading

Posted in Howto, Solutions | Tagged , , , , | Leave a comment

MySQL – 1305 or 1630 Error – Function does not exist

Problem: Receive either “1630: FUNCTION MAX does not exist. Check the ‘Function Name Parsing and Resolution’ section in the Reference Manual” or “1305: FUNCTION MAX does not exist”. Solution: Remove all spaces between the function and the parenthesis or set … Continue reading

Posted in Solutions | Tagged , , , , | 13 Comments

MySQL query is not executed, MySQL server has gone away

Problem: I was trying to make a mysql query after a function, that was taking a lot of time to load, and my query was not being executed. In addition I was receiving the error: “MySQL server has gone away”. … Continue reading

Posted in Solutions | Tagged , , , | 4 Comments

vbulletin 4 make bbcode [code] have syntax highlight like [php]

Goal #1: vbulletin 4 bbcode [code] have syntax highlight like [php] Goal #2: Code wrapped in the [code] and [php] bbcodes to have Consolas as font like StackOverflow The default [code] bbcode of vbulletin doesn't highlight the code which is … Continue reading

Posted in Scripts, Solutions | Tagged , , , , | 23 Comments

Custom default permissions on specific folder

Goal: Any file or directory uploaded / created under a specific folder to have read, write, execute (777) permissions. Environment: CentOS 5.5, Kernel: 2.6.18-194.17.1.el5 I was looking for a solution to have read, write, execute permissions for all since I … Continue reading

Posted in Scripts, Solutions | Tagged , , , | 1 Comment