Tag Archives: error

Fixing SQL errno: 150

Description: On table altering, SQL or phpMyAdmin throws an 150 error, with a message like “Error on rename of ‘./tables/#sql-efc_1’ to ‘./tables/my_table’ (errno: 150)” or “Cannot add or update a child row: a foreign key constraint fails”. Solution: Error 150 is related … Continue reading

Posted in Best practices, SQL | Tagged , , , | 2 Comments

PHP Fatal error: Call to undefined function curl_init()

Description: CURL is not enabled in the server. Solution: Open php.ini , navigate to ;extension=php_curl.dll (around line 950) and uncomment it by removing the semi colon in front. Then restart the server. Also you can check if is enabled by … Continue reading

Posted in PhP | Tagged , , | Leave a comment