Category "php"

mkdir(): Permission denied error in php docker nginx

Im getting mkdir(): Permission denied error in dockerised php. I need to create folder dynamically inside /app , tried with mkdir('/app/images/' 0777, true) cho

Remove a field from WooCommerce API

My website communicates with retail management software for everything related to products on WooCommerce. Whenever synchronisation takes place, all fields pres

Can't send mail with Lumen framework and no error appears

Since yesterday I have had problems sending emails with Lumen. I think I have followed all the steps in the documentation correctly, but unfortunately I cannot

How to make function get particular error in JS

In form, there is <input type="hidden" name="forcesave" value="0" id="forces"> which lets me avoid validator: if (\Frame\Validator::cidr($data['ip

How to make notifications as well deleted when deleting particular message on a chat box

I am developing an application using Laravel and Vue JS which includes a chat feature also. When user sends a new message admin gets a notification. Now i want

TextLocal.in SMS Api for new order Woocommerce

I am using the following API code to send an SMS when a new order is placed, the SMS API code is working to send SMS... Placed at the end of child theme in func

button doesn't add to cart - WooCommerce

I'm not sure why this is not allowing me to add to the cart. I have access to the global product but it's not capturing the ID to add to cart <?php /**

Warning: proc_open(): Unable to create temporary file

I am working on a local server and getting two warnings: Warning: proc_open(): Unable to create temporary file. in C:\xampp\htdocs\ *** on line 159 and Warni

multistep form with fieldset is not going to next fieldset even if required field is filled

I have a multistep form with fieldset, but on the next button click, it is not going to the next step it still shows the required field is empty. Blade <form

HOW TO GET QUERY IN SQL USING PHP IN SQL TIGGERING

This is my code my $sql variable didn't give query plese help me for this I try this but I couldn't please help me with that <?php $connect = mysqli_con

Laravel form post data from placeholder value

I want to pass the data on a form placeholder without user input, want to know if that is possible... Below is my form in view @extends('layouts.app') @section

About \ phalcon \ mvc \ Application.zep

I need to update from PHP 7.3 to PHP 8.0 or PHP 8.1. About composer.json php from ~ 7.3.0 to ^ 8.0, ext-phalcon from ^ 3.3.0 to 5.0.0 beta3 I think I have to up

Trouble with $_POST [duplicate]

so I am trying to get this to post data to solutions.php in my files. but when i print_r($_POST); I dont get any values in my POST. <form a

Wrong PHP version used when installing composer with Alpine's apk command

I've got a docker image running 8.0 and want to upgrade to 8.1. I have updated the image to run with PHP 8.1 and want to update the dependencies in it. The new

Prevent to remove spcaes between Action Icon of DataTable for HTML created in the ajax response

Video Link: https://drive.google.com/file/d/1vWfoYWsOT_DSfKOTuE1dH2xxhdl51UCd/view?usp=sharing I am creating the HTML code to redraw dataTable in ajax response.

Is there anyway to use docker composer image with custom php?

I want to use docker composer image in multistage Dockerfile for my Laravel application in order to reduce its size. The problem is that I need PHP 7.4 for my d

Lumen/Eloquent transaction rollback is not working

I have this function that permit to save in 4 tables. I have an error at that line $stade->save() ( it's normal it's a test ) so it should not save the club

cors issue in post request while deploying laravel inside docker

I have a laravel app which is running behind nginx proxy manager. The laravel app is running inside a docker container and nuxt frontend is also running inside

Symfony 4 Sonata FormBuilder skip loading some relations

I've inherited an older project to provide maitanance. I don't have Symfony experience, I am coming from Laravel/Yii experience. I've tracked down a certain aja

How to set PHP executable path php.validate.executablePath in VCSode when PHP is installed inside a virtual machine?

I want to use Xdebug in Visual Studio Code using the Xdebug extension. My development environment is installed inside an Ubuntu VM. VSCode is installed on my Wi