ahron333 Posted September 30, 2019 Author Share Posted September 30, 2019 6 minutes ago, gw1500se said: Then your PC is the server. If curl is there then you must be getting a different error or you did not restart httpd on your server (PC). how do i "restart httpd" on my pc Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570104 Share on other sites More sharing options...
Barand Posted September 30, 2019 Share Posted September 30, 2019 When all else fails, turn it off then on again. Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570105 Share on other sites More sharing options...
gw1500se Posted September 30, 2019 Share Posted September 30, 2019 Restart the PC. Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570106 Share on other sites More sharing options...
ahron333 Posted September 30, 2019 Author Share Posted September 30, 2019 7 minutes ago, Barand said: When all else fails, turn it off then on again. C:\Users\Pot\Desktop\Insta-mass-account-creator-master>php create.php PHP Fatal error: Uncaught Error: Call to undefined function xosad\php_info() in C:\Users\Pot\Desktop\Insta-mass-account-creator-master\InstaAccountBot.php:72 Stack trace: #0 C:\Users\Pot\Desktop\Insta-mass-account-creator-master\InstaAccountBot.php(109): xosad\InstaAccountBot->generateCsrfToken() #1 C:\Users\Pot\Desktop\Insta-mass-account-creator-master\create.php(9): xosad\InstaAccountBot->createAccount('95.110.230.142:...') #2 {main} thrown in C:\Users\Pot\Desktop\Insta-mass-account-creator-master\InstaAccountBot.php on line 72 Fatal error: Uncaught Error: Call to undefined function xosad\php_info() in C:\Users\Pot\Desktop\Insta-mass-account-creator-master\InstaAccountBot.php:72 Stack trace: #0 C:\Users\Pot\Desktop\Insta-mass-account-creator-master\InstaAccountBot.php(109): xosad\InstaAccountBot->generateCsrfToken() #1 C:\Users\Pot\Desktop\Insta-mass-account-creator-master\create.php(9): xosad\InstaAccountBot->createAccount('95.110.230.142:...') #2 {main} thrown in C:\Users\Pot\Desktop\Insta-mass-account-creator-master\InstaAccountBot.php on line 72 now i am getting this error Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570107 Share on other sites More sharing options...
ahron333 Posted September 30, 2019 Author Share Posted September 30, 2019 6 minutes ago, gw1500se said: Restart the PC. i did Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570108 Share on other sites More sharing options...
Barand Posted September 30, 2019 Share Posted September 30, 2019 2 minutes ago, ahron333 said: Fatal error: Uncaught Error: Call to undefined function xosad\php_info() We already established that doesn't exist so why is still there? Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570109 Share on other sites More sharing options...
ahron333 Posted September 30, 2019 Author Share Posted September 30, 2019 7 minutes ago, Barand said: We already established that doesn't exist so why is still there? something about the code? idk Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570110 Share on other sites More sharing options...
gw1500se Posted September 30, 2019 Share Posted September 30, 2019 (edited) Yes, remove that statement. It was intended to show your current system configuration and was supposed to be in a script by itself (when spelled correctly). It has nothing to do with your current script. Edited September 30, 2019 by gw1500se Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570112 Share on other sites More sharing options...
ahron333 Posted September 30, 2019 Author Share Posted September 30, 2019 8 minutes ago, gw1500se said: Yes, remove that statement. It was intended to show your current system configuration and was supposed to be in a script by itself. It has nothing to do with your current script. how do i remove it? Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570113 Share on other sites More sharing options...
gw1500se Posted September 30, 2019 Share Posted September 30, 2019 Huh? Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570114 Share on other sites More sharing options...
ahron333 Posted September 30, 2019 Author Share Posted September 30, 2019 5 minutes ago, gw1500se said: Huh? u said to remove the "statement" Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570115 Share on other sites More sharing options...
Barand Posted September 30, 2019 Share Posted September 30, 2019 @gw1500se Do you get the feeling someone's playing around with us? Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570116 Share on other sites More sharing options...
ahron333 Posted September 30, 2019 Author Share Posted September 30, 2019 6 minutes ago, Barand said: @gw1500se Do you get the feeling someone's playing around with us? i am not playing around for real i am just trying to fix it and i am new to this and u are saying stuff that idk but i am trying my best Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570117 Share on other sites More sharing options...
gw1500se Posted September 30, 2019 Share Posted September 30, 2019 Either that or the OP is should not be programming. 1 Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570118 Share on other sites More sharing options...
gw1500se Posted September 30, 2019 Share Posted September 30, 2019 OK, I'll allow myself to get sucked in. You remove it by editing the script and deleting that line. Sheesh. Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570119 Share on other sites More sharing options...
Barand Posted September 30, 2019 Share Posted September 30, 2019 9 minutes ago, ahron333 said: how do i remove it? You obviously edited the file to put it in there (you hadn't heard of it until an hour ago) , so how about re-editing it to remove it? Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570120 Share on other sites More sharing options...
ahron333 Posted September 30, 2019 Author Share Posted September 30, 2019 11 minutes ago, Barand said: You obviously edited the file to put it in there (you hadn't heard of it until an hour ago) , so how about re-editing it to remove it? PHP Parse error: syntax error, unexpected '2019' (T_LNUMBER) in C:\Users\Pot\Desktop\Insta-mass-account-creator-master\InstaAccountBot.php on line 287 Parse error: syntax error, unexpected '2019' (T_LNUMBER) in C:\Users\Pot\Desktop\Insta-mass-account-creator-master\InstaAccountBot.php on line 287 now this is the only errors i get sorry for being idiot 24/7 Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570121 Share on other sites More sharing options...
gw1500se Posted September 30, 2019 Share Posted September 30, 2019 You need to post those lines and a few before them. Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570122 Share on other sites More sharing options...
ahron333 Posted September 30, 2019 Author Share Posted September 30, 2019 7 minutes ago, gw1500se said: You need to post those lines and a few before them. you mean from the code yes? Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570123 Share on other sites More sharing options...
gw1500se Posted September 30, 2019 Share Posted September 30, 2019 (edited) What else would I mean? What are we discussing here? You probably removed something you shouldn't have, like a ";" somewhere. Edited September 30, 2019 by gw1500se Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570124 Share on other sites More sharing options...
ahron333 Posted September 30, 2019 Author Share Posted September 30, 2019 6 minutes ago, gw1500se said: What else would I mean? What are we discussing here? i am just making sure if($json['status'] !== 'fail' AND !empty($result) AND $result !== false) { $data = [ 'status' => true, 'username_followed' => $account, ]; echo json_encode($data); }else { echo $result; } } curl_close ($ch); $json_data = [ 'status' => true, 'message' => 'followed all users' ]; return json_encode($json_data); }else{ $error = curl_error($ch).PHP_EOL; curl_close ($ch); return $error; } Â Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570125 Share on other sites More sharing options...
gw1500se Posted September 30, 2019 Share Posted September 30, 2019 Which is line 287? Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570126 Share on other sites More sharing options...
ahron333 Posted September 30, 2019 Author Share Posted September 30, 2019 7 minutes ago, gw1500se said: Which is line 287? on "else" Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570127 Share on other sites More sharing options...
Barand Posted September 30, 2019 Share Posted September 30, 2019 This the code originally posted with the first error message  but it doesn't match the error message ???  Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570128 Share on other sites More sharing options...
gw1500se Posted September 30, 2019 Share Posted September 30, 2019 Looks like the wrong code is posted. Quote Link to comment https://forums.phpfreaks.com/topic/309302-php-error/page/2/#findComment-1570129 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.