php Questions
5
as of yesterday, the code below worked. today, however, i had to run a php artisan config:cache command in laravel as i added a package and now my nice ionic app does not want to run connect to any...
Harleigh asked 9/8, 2018 at 21:36
15
I have this problem when I am trying to run my PHP MySQL script. When I try to run my .php file this is what I get.
mysql_connect(): No connection could be made because the target machine actively...
9
Solved
Since the update of PHP 7.1 to PHP 7.2 I can't install oci8. I have this error:
root@3ab6027c8d95:/var/www# php -v
PHP Warning: PHP Startup: Unable to load dynamic library 'oci8.so' (tried: /...
6
Solved
I have a string like this:
key=value, key2=value2
and I would like to parse it into something like this:
array(
"key" => "value",
"key2" => "value2"...
Basilisk asked 7/2, 2011 at 16:51
7
Solved
So I am new to laravel and was just trying out some code to clear the basics,but however after creating a new controller to handle a route.It throws a fatal exception saying Class 'Controller' not ...
Newton asked 14/11, 2015 at 17:44
16
When updating my Post model, I run:
$post->title = request('title');
$post->body = request('body');
$post->save();
This does not update my post. But it should according to the Laravel ...
Virgulate asked 24/10, 2017 at 20:55
2
I'm trying to upload my files as circles, but I can't make it work.
I've seen some topics about applying a mask to the image, but when I apply the mask it takes way to long and the server shuts the...
Lilybel asked 13/4, 2015 at 10:5
7
Solved
What is the best way to crop or mask an image into a circular shape, using either ImageMagick or GD libraries? (Note, solution exists on "other" Q&A sites, but not StackOverflow)
Maryannamaryanne asked 16/6, 2009 at 1:31
12
Solved
I'm working on an existing Laravel application in order to develop new feature but after installing the app on my computer, I have an error 500 and no clue to resolve it.
In my app.php file I have...
Hadsall asked 5/7, 2017 at 9:17
5
Solved
I have a registration form with unique email validation. When I enter different character case, emails does not apply unique validation.
[email protected], [email protected], [email...
Cartography asked 9/2, 2018 at 12:1
10
Solved
I am trying to retrieve all products using rest api. I have read this question. I am using postman to make calls. Here is my query
https://squatwolf.com/wp-json/wc/v2/products?filter[posts_per_pag...
Rhymester asked 27/1, 2018 at 14:0
8
Solved
Do you know any solution to recover from the PHP fatal error : "Allowed memory size ... exhausted"
I have a shutdown function that is called when a fatal error appear. This function create an Erro...
Sextuple asked 23/2, 2010 at 14:32
7
I've a question about yii2 kartik-v widget select 2.
the widget is attached to a field in my view
<?=
$form->field($model, 'address')->widget(Select2::className(), [
'options' => ['...
5
I can't for the life of me manage to override the main shop page.
My understanding is that it's archive-product.php
I've attempted to copy it into the Woocommerce directory I created in my theme'...
Ironsides asked 3/9, 2013 at 18:3
10
Using Laravel 8.75 and trying to upgrade to php 8.1 in composer.json to "php": "^8.1" and receive the error of Illuminate\Contracts\Container\BindingResolutionException - Target...
Indore asked 12/2, 2022 at 0:19
7
I'm hitting my curl on ubuntu terminal and getting this response curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to domain.com:443 . I really can't understand why it happens. I trie...
13
Solved
I have found that one common reason for the error is an exception being thrown from within an exception handler. I'm quite sure this doesn't happen in the application I'm trying to debug... But I'v...
Thaumaturge asked 7/5, 2012 at 16:9
3
Im using fpdf to generate a pdf file for my reports and Im new to this.
I want to change the fill color inside a cell but whenever I reloaded the page, nothing
hapeens, It still the same white fill...
7
Solved
I try to read a CSV and echo the content. But the content displays the characters wrong.
Mäx Müstermänn -> Mäx Müstermänn
Encoding of the CSV file is UTF-8 without BOM (checked with Notepad++...
2
Solved
I've search all over this site and google and I ended up creating this account...
I need some help with php, traits and classes. I have this 2 different traits, that have some methods with the same...
Heddie asked 11/5, 2014 at 17:23
6
Since yesterday, when our Apache updated itself overnight, we started getting web responses saying 403 Forbidden. It looks like that encoding a "?" is not allowed anymore. The crazy thing...
Zn asked 10/7 at 8:31
6
Solved
I use nginX/1.6 and laravel when i posted data to server i get this error 413 Request Entity Too Large. i tried many solutions as bellow
1- set client_max_body_size 100m; in server and location an...
2
Solved
Im looking to use php mailers debug information to display in a webpage. When I enable debugging it just echo's the string. This means that my html is out of order, I wish to therefor output as a v...
5
Solved
How can I set the name of a foreign key in php laravel?
Schema::table('TABLE_NAME', function (Blueprint $table) {
$table->foreign(XXX)
->references(XXX)
->on('REF_TABLE')
->onDelete...
Cap asked 22/3, 2021 at 11:16
4
Solved
I've used ternary operators for a while and was wondering if there was a method to let say call a function without the else clause. Example:
if (isset($foo)) {
callFunction();
} else {
}
Now o...
Disseise asked 25/1, 2013 at 11:31
© 2022 - 2024 — McMap. All rights reserved.