« first day (2358 days earlier)      last day (2605 days later) » 

10:08 PM
Segfault when killing within bash script trap code – #74353
 
10:18 PM
Missing warning of mSQL extension removed – #74354
 
msj
Hi
I need someone who can help me running my PHP web project
 
Whats up?
 
msj
I don't know how can I run my project
 
10:34 PM
use serverside, or localhost
 
msj
localhost
how can I do it
Should I use an apache server right?
 
you can try to install for example xampp or wamp server on your machine and start it as localhost ... yes apache is good... try search here: blog.udemy.com/xampp-tutorial
xampp has many of things included and you dont have to make big head with configurations...
it contains apache
mysql as DB...
pretty good thing
people here, please, could you help me resolve my bug problem please?

I have some interesting question... it is 13 hours that I am trying to do $.post() request with laravel in php ... I am using controllers and so on, MVC architecture... I have project setted as in first answer here: http://stackoverflow.com/questions/38505750/laravel-5-fetch-ajax-data-in-route-and-pass-to-controller ... but I cant find out what to do next, because web terminal says POST http://localhost:8000/insertFeedback 500 (Internal Server Error) ... can somebody help?
 
there is an error in your code. did you already look at the logs? did you try a debugger to see what's going on?
 
I think, yes...
Failed to load resource: the server responded with a status of 500 (Internal Server Error)

on line: 3955, here:

try {
h.send(b.hasContent && b.data || null)
}
in jquery function:
  var myJsonData = {
      "done" : 1,
      "message" : message,
      "solved": solved,
      "Player_idPlayers": Player_idPlayers,
      "type": type
    }
  $.post('/insertFeedback', myJsonData, function(response) {
      console.log(response);
  })
in web.php:
Route::post('/insertFeedback', 'HomeController@insertFeedbacks');
in home controller:


/**
* Insert feedback DATA to DB
*
* @return void
*/
public function insertFeedbacks(){
// $id = $request->input('id');
//return $id;
}
And I forgot to mention that in JQUERY function on start of script I have getters from php like this:

var message = $("#comment").val();
var solved = 0;
var Player_idPlayers = {{ Auth::user()->id }};
var type = "problem";
 
11:03 PM
maybe I am not debbuging as you think.. how shoul I debug in php? On debugg in php I saw some solutions, but I think that will not help here... because whole Jquery code proceed well to end... and after that it fails ... path to controller is set well, because when I remove it, it gives me cannot find errror...
 
Such Friday night. I'm full of salad and fried chicken, and quite confused on what my next action should be
Maybe drink more 🍺
 
Wes
code more!
 
Maybe tell my answer on my php problem :D
*me
 
11:19 PM
is it rude to open a PR for an issue that was considered "Not a bug" on bugsnet? :P
 
@pmmaga depends, is it really a bug?
 
@PaulCrovella you be the judge: bugs.php.net/bug.php?id=74327
 
@PeeHaa my coverage doesn't working. halp. github.com/DaveRandom/CallbackValidator
it is urgent.
sir.
i have a doubt.
I mean it's like 7% or something but it's definitely >0
 
@pmmaga I don't think it'd be rude to open a pr for that, but I expect you'll hit resistance getting it merged
 
resistance aka insta-close?
 
11:24 PM
@pmmaga ugh
 
Unless I'm missing something there is nothing you can fix there
 
@NikiC that'd be my guess, yeah
 
The strict_types behavior is specified, the array key behavior is ancient
 
11:25 PM
i may be missing something though
 
@pmmaga yeah ...
You're missing the other 10k lines of the diff, I think
 
lol
 
:D
it came back green though :X
 
@pmmaga That's because we don't have a lot of tests using strict_types
 
i guess so, but assuming that only userland is on strict_mode i think this would cover most of it. not gonna push for it though, was more for the challenge tbh
 
11:29 PM
Just try setting a key in strict_types=1 and reading it in strict_types=0. You'll see the problem...
 
@DaveRandom why are trying to have scrutinizer rerun your tests?
 
@NikiC declaring on st=1 and reading on st=0 seems to act the same as reading on st=1 but i may be testing this the wrong way
 
@PaulCrovella because I copypasta'd the config file from one of @PeeHaa's repos because I don't really know how it works.
However, doesn't it need to do that in order to generate coverage?
 
you can have travis send over coverage data, see scrutinizer-ci.com/docs/tools/external-code-coverage
though I prefer coveralls.io for that anyway
(mostly because trying to get anything useful out of scrutinizer was always such a pain to begin with)
 
11:45 PM
well I am far too tired to parse all those instructions, will look at it again tomorrow
thanks though
 
Wes
@pmmaga <3
 

« first day (2358 days earlier)      last day (2605 days later) »