I chane php ini file settings in cpanel change success but no change in my project why?

|
AlaaDq 2020-03-18 20:08:43
it add this cookie to the request
AlaaDq 2020-03-18 20:09:15
laravel_token cookie
AlaaDq 2020-03-18 20:10:27
and laravel will cheak it before looking to the authraztion header
and will not cheak if the access token
has been expired or not
AlaaDq 2020-03-18 20:11:02
more over if the route need scope:admin
AlaaDq 2020-03-18 20:12:26
it just work when used this cookie
even if your access token already expired and your scope not matching admin
AlaaDq 2020-03-18 20:12:45
how i can solve that
AlaaDq 2020-03-18 20:20:37
i mean that i notice laravel work like
this order
1-check laravel_token cookie
as first if it founded so the request pass

2- when there is no cookie
it check authrazition header and look if access_token expired or not

3-then finally laravel check
the passport scope

so i need to change this order to let laravel check the laravel_token cookie at last

khanbozkurt 2020-03-18 21:11:21
laravel_discuss-30071.jpg

khanbozkurt 2020-03-18 21:11:46
https://online.edukey.com.tr/
richitorres 2020-03-18 21:21:52
arashsheyda 2020-03-18 18:41:21
Anyone used webpack in laravel?

yes

Marvixino 2020-03-18 22:06:59
Have you used RDS Aurora Serverless before? How much did you pay for minimum usage?
2020-03-19 00:39:56
arashsheyda 2020-03-18 19:04:38
Not laravel mix i want to use webpack

Boy, Laravel mix is a script based on webpack syntax. You can use webpack itself in your webpack.mix.js file. Pay attention to this line:
let mix = require(‘laravel-mix’);
It’s webpack.

arashsheyda 2020-03-19 00:42:55
Yeah i knoe that i wanted to use webpack directly i was kinda confused tnx for your answer
rebory 2020-03-19 08:40:05
any javascript developer here for small help. my problem is , when i try to edit sample crud which i have div background-color or color, color picker can’t show the color which i fetch from database
rebory 2020-03-19 08:42:28
laravel_discuss-30084.jpg

sadeqi125 2020-03-19 10:32:16
i chane php ini file settings in cpanel change success but no change in my project why???
ayberk 2020-03-19 11:22:16
sadeqi125 2020-03-19 10:32:16
i chane php ini file settings in cpanel change success but no change in my project why???

Determine your changes has been applied on server with phpinfo() method. You can find details in google

sadeqi125 2020-03-19 11:51:47
this error
sadeqi125 2020-03-19 11:51:48
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@ihs.tolosaadat.org to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Apache Server at ts.edu.af Port 8

sadeqi125 2020-03-19 11:52:05
how to solve Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@ihs.tolosaadat.org to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Apache Server at ts.edu.af Port 80

Ant_Jr 2020-03-19 13:09:09
Ola pessoal,
quem usa o ubuntu 19.04 para desenvolvimento?
Ok, então quem notou o fato de que, mesmo quando você liga o PC, a bateria ainda está descarregando?
Ant_Jr 2020-03-19 13:14:05
Hello guys,
who uses ubuntu 19.04 for development?
Okay so who has noticed the fact that even when you power of the pc, the battery is still draining?
RoNin9392 2020-03-19 14:11:22
Hi guys,
I am new to docker, I am trying to containerize my existing lumen app. But I have an issue, I am not albe to install dependency using composer. Here is my dockerfile. Can anyone help me with this ?

# Base Image
FROM php:7.3-apache

# Update base image and install required modules
RUN apt-get update && apt-get install -y
    libzip-dev
    libbz2-dev
    libjpeg62-turbo-dev
    libpng-dev
    libfreetype6-dev
    zip
    unzip
    && rm -r /var/lib/apt/lists/*
    && docker-php-ext-configure pdo_mysql –with-pdo-mysql=mysqlnd

# Install required extensions
RUN docker-php-ext-install mbstring tokenizer mysqli pdo_mysql gd

# Enable rewrite mod
RUN a2enmod rewrite

# Install composer
RUN curl -sS https://getcomposer.org/installer | php — –install-dir=/usr/local/bin –filename=composer

# Set working directory
WORKDIR /var/www/html

# Copy application contents
COPY . .

# Install dependency
RUN composer install

# Expose port 80
EXPOSE 80

# Start application
CMD bash -c “php -S 0.0.0.0:8000 -t public”

2020-03-19 14:37:04
Hello i wanna know how to use ajax with laravel
2020-03-19 14:44:19
Same as you usually use ajax
2020-03-19 15:06:27
I differs from what I used to do with php
2020-03-19 15:07:07
If you could show how you do it it will be a good act form you
2020-03-19 15:11:10
2020-03-19 14:37:04
Hello i wanna know how to use ajax with laravel

What should we do? Teach you here? Google man, Google!

2020-03-19 15:12:11
2020-03-19 14:44:19
Same as you usually use ajax

+1

2020-03-19 15:12:24
Yeaah man i know Google but all the answers wasn’t obvious enough
2020-03-19 15:12:31
Come down bruh😂😂😂
2020-03-19 15:12:33
Calm*
2020-03-19 15:13:06
$.post(url ,{_method:’put’,_token:'{{csrf_token()}}’, custom_item:value},function (result) {
});
2020-03-19 15:13:31
like this
2020-03-19 15:14:11
Ummmm thanks in advance
DesolatorMagno 2020-03-19 15:16:53
In the Laravel documentation should be a section about it, how to send Ajax and others library, how to set the CSRF, etc.
2020-03-19 15:19:23
2020-03-19 15:14:11
Ummmm thanks in advance

$.ajax({
url: ‘{{ route(‘route_name’) }}’,
data: {
_method:’delete|put|etc’
_token: ‘{{ csrf_token() }}’,
},
method: ‘post’,
success: function (result) {
},
});

DesolatorMagno 2020-03-19 15:27:15
https://laravel.com/docs/5.8/csrf#csrf-introduction
This section could also helps
2020-03-19 15:27:56
<script>
jQuery(document).ready(function(){
jQuery(‘#the tag id’).click(function(e){
e.preventDefault();
$.ajaxSetup({
headers: {
‘X-CSRF-TOKEN’: $(‘meta[name=”_token”]’).attr(‘content’)
}
});
jQuery.ajax({
url: “{{ route(‘route name’) }}”,
method: ‘method ‘,
data: {
Data:whatever
},
success: function(result){

}});
});
});
</script>

DesolatorMagno 2020-03-19 15:30:20
It talk about config the header for every Ajax, so it will attach automatic and the Ajax become shorter.
2020-03-19 15:31:30
Perfect
DesolatorMagno 2020-03-19 15:31:40
Is _method and _token
2020-03-19 15:31:53
Ok
DesolatorMagno 2020-03-19 15:33:02
_method for anything that is not standard (get, post) so if you wish to hit a delete route you use post but use _method:delete
2020-03-19 15:33:22
DesolatorMagno 2020-03-19 15:27:15
https://laravel.com/docs/5.8/csrf#csrf-introduction
This section could also helps

*help

2020-03-19 15:33:42
DesolatorMagno 2020-03-19 15:30:20
It talk about config the header for every Ajax, so it will attach automatic and the Ajax become shorter.

*talks 😁

2020-03-19 15:35:50
DesolatorMagno 2020-03-19 15:33:02
_method for anything that is not standard (get, post) so if you wish to hit a delete route you use post but use _method:delete

Thank you brother

DesolatorMagno 2020-03-19 15:36:14
Put, patch, delete, option
If I remember well those are the possible values for _method.
2020-03-19 15:37:17
DesolatorMagno 2020-03-19 15:36:14
Put, patch, delete, option
If I remember well those are the possible values for _method.

Yes those are the methods

2020-03-19 15:37:33
I got this
|