- In the case of redirects (which curl blindly follows), check the post-redirect URL against the blacklist entries too.
- curl Object ( [cache] => [proxy] => [version] => 0.4 dev [response] => Array ( ) [rawresponse] => Array ( ) [header] => Array ( ) [info] => [error] => [errno] => [emulateredirects] => [options:curl:private] => Array ( [CURLOPT_USERAGENT] => MoodleBot/3.8 (+http://127.0.0.1/iomad) [CURLOPT_HEADER] => 0 [CURLOPT_NOBODY] => 0 [CURLOPT_FOLLOWLOCATION] => 1 [CURLOPT_MAXREDIRS] => 10 [CURLOPT_ENCODING] => [CURLOPT_RETURNTRANSFER] => 1 [CURLOPT_SSL_VERIFYPEER] => 0 [CURLOPT_SSL_VERIFYHOST] => 2 [CURLOPT_CONNECTTIMEOUT] => 30 ) [proxy_host:curl:private] => [proxy_auth:curl:private] => [proxy_type:curl:private] => [debug:curl:private] => [cookie:curl:private] => [responsefinished:curl:private] => [securityhelper:curl:private] => core\files\curl_security_helper Object ( [transportschemes:protected] => Array ( [http] => 80 [https] => 443 ) ) [ignoresecurity:curl:private] => )
- curl response : Connection timed out after 30000 milliseconds
- (ip here) - - [22/Sep/2020:13:49:00 +0530] "GET iomad/view.php?id=2 HTTP/1.1" 502 584 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36 Edg/85.0.564.51" 81.12.79.249 - - [22/Sep/2020:13:50:51 +0530] "GET / HTTP/1.1" 200 3975 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" 159.89.197.246 - - [22/Sep/2020:13:51:13 +0530] ":\x92T\x05ib\xE8\x0Ek_V\x08\xDD=x\xAB\xC2\x13\x22\xB88\x1B\x01\x07\xA6\xB1~\xE0Ap\x8D\x96\xF3 \xB9\xDB\x0CEN#5h[\xE4\xC5\x16\xF7wBr=\xB1" 400 182 "-" "-"
The reason of doing this is I configured my apache for local virtual hosting rather than localhost (available in the next post). I found the error as mentioned below, and I tried different solution to solve it. I did few of the things to solve, they are as follows: Removed and installed MySQL server. Installed mysql 5.7v Installed Moodle 2.7+ stable version configured and deleted Moodle config.php few times. created and deleted database naming moodle(default created when initialized) and few other names. Gave permission to php5.6 instead of php7.0.2 in Ubuntu 16.04 Here's the Solution, find below lines(183 - 191) or search for " SELECT @@storage_engine " and then replace it from "SELECT @@default_storage_engine" . =======Code Snippets(183 - 191): ======= // get the default database engine $sql = " SELECT @@default_storage_engine"; $...
Comments
Post a Comment