Open dylan-uurainen opened 3 years ago
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
Try to provide Error log
Error log
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