Questions tagged [php]
PHP is an open-source, multi-paradigm, dynamically-typed, and interpreted scripting language designed initially for server-side web development. Use this tag for questions about programming in the PHP language.
441,475
questions with no upvoted or accepted answers
36
votes
1
answer
616
views
JPGraph 4 & 3.5 - When a line appears atop a barplot graph, it is rendered twice in slightly different positions. Why?
There appears to be an issue with JPGraph version 4 & 3.5 when creating a Bar Plot graph with a line on top. The line appears to render twice in a slightly different position. If I revert the ...
32
votes
2
answers
5k
views
SimpleSAMLphp State Information getting lost
I have a Service Provider set up at https://biz.dev.originsystems.co.za. I have an IdP set up at http://stage.originsystems.co.za.
When testing the authentication with the tool at https://biz.dev....
30
votes
3
answers
2k
views
Facebook SDK error during login attempt: No URL set
I'm getting the following error message
Facebook SDK returned an error: No URL set!
Fatal error: Uncaught
exception 'Facebook\Exceptions\FacebookSDKException' with message 'No
URL set!' ...
29
votes
1
answer
2k
views
Sendgrid parse webhook - email forwarding
I am having a PHP web application with SendGrid integration for both incoming (parse webhook) and outcoming mail (PHP mail() with system configuration for mail proxy). Currently our incoming mail ...
27
votes
2
answers
914
views
How to get RSS token for BitBucket by PHP CLI?
I want to get valid link https://bitbucket.org/{username}/rss/feed?token={token} (this is main problem) and then get valid response from this link in CLI.
I know my required parameters, e.g. ...
26
votes
2
answers
2k
views
Add custom field to shipping zone form - Woocommerce
I am trying to add a select field to Woocommerce Shipping tab and to Shipping Zones section of it while creating a new shipping zone. I found this on official documentation of Woocommerce while ...
25
votes
1
answer
532
views
Updating AngularJS scope after validating search form in Symfony2
Hi fellow developers,
We have to rewrite a software application in Symfony2 with AngularJS, we use Symfony2 for the MVC purpose and AngularJS for the useful functions.
Here's our problem, we first ...
23
votes
3
answers
2k
views
Updating and Invoicing Stripe Subscription Quantity with Invoice description laravel cashier
Good Day,
I'm working on a project involving Laravel Cashier. I want to give user's the ability to update their subscription quantity and get charged immediately (which I have been able to achieve, ...
23
votes
1
answer
2k
views
Why do the customer's shipping options not match the database or module settings in Zen Cart 1.5?
A client has a custom shipping module in Zen Cart 1.5. Yesterday I adapted the module to be zone-aware (they wanted the original module to apply to the USA, and a copy to be tweaked for non-USA orders)...
22
votes
1
answer
1k
views
LightOpenID validate() fail on Google Apps
I'm using LightOpenID to authenticate OpenID against Google Apps. I make the initial authURL() request and things are good. I call validate() and it fails. Through copious echo's, i've tracked it ...
20
votes
2
answers
2k
views
Visual Composer custom shortcode template - custom_markup display user input
I have created some shortcode elements. Now I want to customize the look of the elements in the backend editor.
From the description of the wiki of VC-Pagebuilder, I get out that I can use the "...
20
votes
1
answer
3k
views
Set Embeddable Field as Primary Key from Parent Entity Mapping - Doctrine2
TLDR; Doctrine2: I need to know if it is possible to make a field within an Embeddable into a Primary Key from the Parent Entities (or MappedSuperclass') mapping. I already know how to set the primary ...
20
votes
2
answers
348
views
Design entity model to manage multiple bidirectionnal relations
I'm trying to find the best way to design relations between entities from my model. I'll try to explain it clearly.
Imagine the following Doctrine2 entities:
class ImageHistory
{
/**
* @var ...
19
votes
0
answers
1k
views
PDO dblib date format different than tsql
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 ...
18
votes
1
answer
3k
views
Two versions of icu4c installed by Homebrew
Whenever I attempted to run npm --version or node --version on my Mac, I was getting the following error:
$> node --version
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.63.dylib
...