Category "php"

Fatal Error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 262144 bytes) on line 3

I am getting this error in codeigniter 3. I had tried most of the things but none of them worked. function money_format($num = 0, $pro = 2) { %n

Docker 2.3.0.4 with Devilbox on Windows 10 WSL2 is extremely slow

I have windows 10 2004, 8-core amd cpu, 12gb ram, running an existing wsl2 debian instance just fine. I can run a typical web stack php-fpm nginx mariadb redis-

Installing PHP 7.4 manually (offline) on Linux Red Hat server

I have upgraded from PHP 5.3 to PHP 7.2 and the application is working. now I want to upgrade to PHP7.4, when I run the command './configure' '--prefix=/logi/ph

SQLSTATE[HY000]: General error: 1 table posts has no column named *

I'm actually new to Laravel and I'm trying to build a basic social network with this Framework. For this project, I created a page called post which users can a

How to get variable from JavaScript to PHP [duplicate]

i need to transfer a variable from js to a php page then insert it in the database the Js code function tableText(tableCell) { var x

How can I convert from a{a{} b{}} to a[a[],b[]] using php preg_match?

Group test { Group test1 { #-# Type Val 1 typ1 10 2 typ2 10 3 typ3 10 } Group test2 {

dockerizing Laravel + vue

Trying to migrate my Laravel and Vue code into docker but I am getting an error building the Image This is my docker file # dockerfile FROM php:8-fpm #

Can't get xml from php

I've been trying to get data from my database into a table on my website using js/php but I can't get the php to give a valid xml to the script. This is the php

Create Artisan command with option that must specify a value

Laravel's documentation says (emphasis mine): If the user must specify a value for an option, you should suffix the option name with a = sign… But then

Apply filter array/return terms

I would like to apply a filter on which taxonomies are displayed in a widget. I'm close but I think I don't have the correct spelling for it and I'm surely miss

How to write on existing pdf file in php

I know this question has been asked many times but I read all related answer and my problem is not solved yet. I can add text and image on a new blank pdf file

Sub-Domain Laravel problem cannot open it in browser

I wanna ask about Laravel. I just learn about subdomains in Laravel. And I opened www.myapi.com in my browser but it showed site not found, can anyone help me

keith-wood Signature not working on production

jQuery UI Signature working on local but not working on live server javascript: var sig = $('#sig').signature({syncField: '#signature64', syncFormat: 'PN

MOODLE: What does it mean to aggregate h5p assets?

I'm having an issue where my H5P assets are not loading in my 3.11.2 Moodle site. Unable to find constructor for: H5P.CoursePresentation A forum post on the H5P

Laravel Spark - Defining a free plan

I am using Laravel Spark Next and I am trying to create a free plan. My application is charging users "Per seat" (# of projects) My application, however, will a

PHP Get value from JSON [duplicate]

Let's say I have this JSON: { "achievement": [ { "title": "Ready for Work", "description": "Sign up and get validated",

Laravel Docker Call to undefined function MyActionFunction

I'm new to docker and laravel. I'm trying to dockerize a laravel application, the source code is not mine. I used Sail for local tests, but now I want to build

How can i get the value of multiple anchors in javascript which are generated from php and send the value to another Php page using AJAX

Here is how my anchors are displayed on the web. I need to get the value of the anchor and send it to another PHP file, so i would use the value of the anchor i

How can i call a function that executes an fpdf based on the choice of a form selector?

I am trying to create FPDF's with different formats, which are inside a file of functions that are called through a form on another page inside the field select

Dynamic dropdown Ajax PHP request

I'm trying to make a dynamically populated drop down in a form for location selection. I have scoured stack in other posts that ask similar questions and some w