php Questions

21

Solved

I am getting the following error and am a bit lost on it: Livewire encountered corrupt data when trying to hydrate the … component. Ensure that the [name, id, data] of the Livewire component wasn’...
Incrassate asked 11/9, 2020 at 14:15

4

Solved

I'm don't use PHP that much and right now I'm stuck at a problem. I need to save the site of a webbrowser as a pdf. I'm using right now mPDF (which was suggested in a wiki of stackoverflow) and it ...
php
Eolith asked 24/9, 2010 at 7:37

4

I have read article after article and just cannot find "the solution" that works for what I have. I am trying to upload files via SFTP using php scripting. I have connected using CyberDuck success...
Gam asked 31/1, 2015 at 21:21

5

Solved

I am having trouble generating pdf keeping design with SVG content. SVG is linked inside html, and using html to generate pdf. But not working properly. This is the code: $dompdf = new DOMPDF(); ...
Broddie asked 17/2, 2018 at 18:38

3

I am currently trying to figure out integration between 2 Wordpress plugins: the WooCommerce Follow Up Emails plugin, and the Ninja Forms plugin (with the end goal that we can send a manual-type fo...
Spirketing asked 23/5, 2016 at 0:33

3

Solved

I want to use Google 2FA in my PHP project. The user needs to enter the 6 digit 2fa code while logging in. May you draw some tips on which direction to take?
Shaylyn asked 17/2, 2017 at 6:30

1

I've got a CentOS 7 machine running PHP with webtatic PHP 5.6 and the php56w-mssql package installed. My application is in the Laravel framework connecting to an MSSQL 2012 database. I've modified...
Flattie asked 14/12, 2016 at 0:20

9

I'm new to traits, but thought I'd give it a try. But, it doesn't seem to load. I've created a trait within a folder under the Laravel app directory: app\Helpers called CheckPermsAgainstObjectTrai...
Developer asked 29/5, 2016 at 15:49

5

Issue The same code, on almost identical servers, fails locally and on production, however works on our staging server. When we attempt to interact with an item in a bucket, we get an Error retrie...
Amphitheater asked 22/6, 2017 at 15:11

5

Solved

While I am starting apache server from laragon on windows I am getting this error: The procedure entry point nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation could not be located in...
Hymenopterous asked 2/4 at 9:20

11

Solved

I'm using laravel and trying to make an Authenthication with Laravel passport. So I've done it by looking on the docs and youtube but I got this error. this is my AuthController that I requested an...
Fisc asked 11/5, 2020 at 4:30

4

Solved

I'm facing the following error: Uncaught exception 'Zend_Log_Exception' with message file.log cannot be opened with mode "a" In my bootstrap I have the following code: $logfile = PROJECT_PATH...
Basilicata asked 7/1, 2013 at 12:52

6

Every time I run a test all my database tables (except for the migrations table) are being deleted and I have to run the migrations again. For instance, if I have the following tables: migrations ...
Octahedron asked 3/9, 2018 at 18:12

4

Solved

I have basic enum enum Fruit { case APPLE; case ORANGE; case BANANA; } and some function that uses typing with that enum: function eatFruit (Fruit $fruit) { // do stuff } and variable with un...
Popelka asked 9/1, 2022 at 20:25

3

I'm trying to send emails via PHPMailer and it's working pretty fine. There's just one problem and I do not know how to fix it. There is the possibility, that I might need to try to send emails to ...
Evette asked 16/5, 2020 at 2:12

7

Solved

I have a PHP application that fills out a form from a database call. At present I am putting this together using PDFtk, I am able to run a number of PDFtk commands with no issue and I am currently ...
Promissory asked 14/4, 2016 at 4:36

4

Solved

I'm playing around with laravel and try to enable client credentials grant to secure some api endpoints. To provide some context: I want to create an api that stands between a database and sever...
Voracity asked 30/1, 2020 at 9:8

4

Solved

I am trying to run simple code of cache using memcache in my laravel project. I have added CACHE_DRIVER=memcached in my .env file. I have created folder of memcache in C drive and added a file me...
Doityourself asked 10/12, 2015 at 7:58

13

Solved

I'm having what appears to be a common problem but any solutions I've found don't seem to work for my case. I'm trying to set up a virtual host so that I can access the public file of my Laravel in...
Transposition asked 30/1, 2018 at 3:10

16

I am using Laravel sanctum in my project with angular as frontend. Getting unauthenticated from the second api request. Please let me know where am I going wrong Frontend-> 127.0.0.1:4200 Backend...
Overmatch asked 25/3, 2020 at 4:47

4

Solved

I've been wondering how to do "true" (semi) real-time data streaming with PHP. Possible applications: chat rooms, auctions, games, etc. By "true", I mean the data is not just written somewhere an...
Clearheaded asked 21/12, 2010 at 2:11

8

Solved

This is a repeat question - eg: Laravel 4 migrations - class not found However, I've tried every solution (from every forum I could find) and cannot figure this out. Scenario I created a Laravel...
Aloke asked 3/4, 2014 at 6:53

9

We are attempting to send an autoresponder email to new members. We're using the same configuration on other sites on the same server with no issue. Upon sending the email the following error is re...
Maxima asked 9/1, 2017 at 17:57

7

Solved

I want to make GET, POST & PUT calls to a 3rd party API and display the response on the client side via AJAX. The API calls require a token, but I need to keep that token secret / not in the cl...
Ganoid asked 23/2, 2018 at 12:11

2

Solved

I am trying to get some data from an API and I am getting it back at the moment as XML. I would prefer it as jSON and the API Doc's say that it is available in jSON aswell as XML. The Docs say......
Lettuce asked 24/7, 2014 at 16:33

© 2022 - 2024 — McMap. All rights reserved.