My first PHP Project

Can someone tell me what I’m doing wrong? The site works but the admin does not, this is what I get

( ! ) Fatal error: Call to undefined function curl_init() in C:\wamp\www\phpdealscript\components\HttpClient.php on line 20
Call Stack

Time Memory Function Location

1 0.0007 369880 {main}( ) …\index.php:0
2 0.0123 819864 FrontController->dispatch( ) …\index.php:18
3 0.0174 1030824 call_user_func_array ( ) …\FrontController.php:220
4 0.0174 1030960 Admin_MainController->logInAction( ) …\FrontController.php:220
5 0.0267 1455768 HttpClient->getSiteContent( ) …\MainController.php:59

Some code example might help us.

What exactly are you trying to do could help as well. Also it seems like you’re trying something way too complicated for a first php project. I’d start with something smaller.

Rather simple actually - turn on the function in the extentions menu for wamp :slight_smile:

Thank you, that worked perfect, I knew all the code was fine but could not get it to work.

Sponsor our Newsletter | Privacy Policy | Terms of Service