Category: php

Install PHP Debug with XDebug on Windows for Visual Studio Code 0

Install PHP Debug with XDebug on Windows for Visual Studio Code

  If I follow exactly the instructions in the output of my analyzed at https://xdebug.org/wizard, I get this error (wtf!) : php -i > php.txt PHP Warning: Failed loading Zend extension 'ext\php_xdebug-3.0.4-7.4-vc15-nts-x86_64.dll' (tried: ext\ext\php_xdebug-3.0.4-7.4-vc15-nts-x86_64.dll...

Message: Class 'Hybridauth\Hybridauth' not found 0

Message: Class 'Hybridauth\Hybridauth' not found

Error¬†"Message: Class 'Hybridauth\Hybridauth' not found" When trying to login via Hybridauth. Solution Upgrade from Hybridauth 2.X to 3.X to fix this error Reference https://gitter.im/hybridauth/hybridauth?at=5c97d377a21ce51a20b4dc8f  

Uncaught PDOException: could not find driver 0

Uncaught PDOException: could not find driver

Fatal error: Uncaught PDOException: could not find driver in U:\Webpages\thecanadianhosting.co\app\src\db.inc.php:26 Stack trace: #0 U:\Webpages\thecanadianhosting.co\app\src\db.inc.php(26): PDO->__construct() #1 U:\Webpages\thecanadianhosting.co\app\src\db.inc.php(35): getDB() #2 U:\Webpages\thecanadianhosting.co\app\src\routes.php(14): require('U:\\Webpages\\the...') #3 U:\Webpages\thecanadianhosting.co\app\public_html\index.php(27): require('U:\\Webpages\\the...') #4 {main} thrown in U:\Webpages\thecanadianhosting.co\app\src\db.inc.php on line 26 Solution Enable...

Ajax with PHP 0

Ajax with PHP

Building a basic REST API. For example to be used by third-party service. I used that code to interface with the builtin REST API caller from Mobile framework Sencha Touch. Allowing other domains (cross-domain)...