php-shopify icon indicating copy to clipboard operation
php-shopify copied to clipboard

Error 500

Open dylan-uurainen opened this issue 4 years ago • 1 comments

I keep getting Error 500 with a basic setup. Using a private and and ive enabled all permissions to make sure it wasnt that.

`require_once 'vendor/autoload.php';

$config = array( 'ShopUrl' => 'XXX', 'ApiKey' => 'XXX', 'Password' => 'XXX' );

$shopify = new PHPShopify\ShopifySDK($config);

$productCount = $shopify->Product->count();

if ($productCount) { echo $productCount; }`

It is a custom server which may be the issue, but its a client requirement. I looked for server requirements for php-shopify and only found that CURL has to be enabled. To see servers php settings, see here: http://inventory.mikedeans.com

dylan-uurainen avatar Feb 04 '21 17:02 dylan-uurainen

Try to provide Error log

shahnCM avatar Feb 07 '21 03:02 shahnCM