1,464,407 questions
0
votes
1
answer
54
views
PHP 8.5: "register_argc_argv must be set to On for running Codeception"
When running Codeception in PHP 8.5, I'm getting:
PHP Fatal error: Uncaught Codeception\Exception\ConfigurationException: register_argc_argv must be set to On for running Codeception
2
votes
1
answer
61
views
PHP Oracle cursor issue ORA-01000: maximum open cursors exceeded
So i have a php function that passes some variables into a call to an oracle stored procedure. you can select more than one option on screen to submit so for example you can choose option A, B & C ...
-2
votes
1
answer
66
views
PHP try-catch ineffective for mb_convert_encoding() function [duplicate]
I have the following code in a CLI PHP script. (The value in $mime_encoded_text actually comes from a message header, but for the sake of clarity, I have simplified here) :
$mime_encoded_text = "...
0
votes
0
answers
22
views
Cannot change fonts in MasterStudy Front-end Course Builder
I’m trying to change fonts in MasterStudy LMS Front-end Course Builder
(/user-account/edit-course/), but nothing works.
The main website fonts are overridden successfully via child theme, however ...
0
votes
0
answers
37
views
Varnish Error 503 VCL failed when url path ends with %
My website gives a Error 503 VCL failed when url ends with %
I have tried to disable cache, and also tried redirect, in .htaccess but without success.
Here's my current .htaccess-configuration:
<...
1
vote
3
answers
120
views
Unable to execute shell_exec [closed]
I have a website that, since 2020, sends a confirmation email to new users upon registration.
In 2025, I created an Android app that also registers users. It was able to send the email automatically ...
-1
votes
0
answers
58
views
Cannot use php-cs-fixer with onSave and VScode : Failed to read file "composer.json"
I have been desperately trying for many hours to use php-cs-fixer with VSCode, specifically for formatting on save. I have meticulously followed the documentation (https://github.com/PHP-CS-Fixer/PHP-...
0
votes
0
answers
54
views
Woocommerce checkout hooks lifecycle with external API call for custom shipping rates
Ok I finally got all my code partially working. It only works in some specific scenarios, which I don't fully understand yet. I think the lifecycle of the checkout is not 100% clear to me. I'll ...
-6
votes
0
answers
86
views
How to send a date from a CSV to a MySQL DB (datetime_immutable) in Symfony?
I try to send a CSV with this command in Symfony:
protected function execute(InputInterface $input,OutputInterface $output): int
{
$io = new SymfonyStyle($input, $output);
$io->...
0
votes
0
answers
124
views
Extensions are not available for additional PHP version in Wampserver
I have Wampserver running on Windows 11 with a PHP/MySQL web site running fine in PHP 7.4.26.
I had to install PHP 7.1.33 for comparative testing purposes. Under 7.1, the site isn't working at all.
...
-1
votes
0
answers
69
views
Laravel command works locally but not on cPanel: “No commands defined in the 'leaves' namespace” [closed]
I deployed my Laravel application to cPanel. On my local environment, running:
php artisan leaves:credit-monthly
works perfectly.
I then set up a cron job in cPanel to run this command, but I get the ...
2
votes
2
answers
106
views
imap_utf8 not always converting utf-8 text
I have the following simple script, running under PHP 8.3.6
<?php
$original = '"=?utf-8?Q?part1=40part2.com?=" <[email protected]>' ;
$converted = imap_utf8($original) ;
printf("...
0
votes
0
answers
99
views
apache subrequests and POST data [closed]
I am using apache reverse proxy to access esp32 devices. Before redirect, users are authenticated with "AuthType Basic". It is very simple authentication, for example, users cannot save ...
-3
votes
0
answers
50
views
Search not working with Date filter and Pagination [duplicate]
I am working on an e-commerce web project using vanilla PHP, HTML, and Bootstrap CSS. I have implemented both an admin panel and client/user side. However, I’m facing an issue in the orders.php file, ...
1
vote
1
answer
99
views
How to remove outdated files and empty directories for garbage collection
I'm tweaking a garbage collector class whose job is to iterate through a disk cache of files in subdirs, find any that are "out of date" and remove them. Further, if it finds any empty ...