Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help me #11

Open
dragerlive opened this issue Dec 23, 2014 · 14 comments
Open

Help me #11

dragerlive opened this issue Dec 23, 2014 · 14 comments

Comments

@dragerlive
Copy link

I have this problem :Parse error: syntax error, unexpected '[' in /home/u326474077/public_html/libs/CSGOShop.class.php on line 33

@dragerlive
Copy link
Author

CSGOShop.class.php not touch

@jamie-simmonds
Copy link

You need PHP 5.4 or newer

@dragerlive
Copy link
Author

Jamie96, I made a PHP 5.4, but after that the error changed
Fatal error: Call to undefined function Imgur\Exception() in /home/u326474077/public_html/libs/imgur-php-wrapper/Imgur.php on line 60

@jamie-simmonds
Copy link

https://github.com/ohMatty/CSGOShop/blob/master/config/app.php

Set the imgurId and appSecret to your api details

@dragerlive
Copy link
Author

Jamie96, Where can I get a imgurId and appSecret

@dragerlive
Copy link
Author

Jamie96, I get a imgurID and ClientSecret (appsecret) from this site https://imgur.com.
After I put everything in
'imgur' => [
'appId' => 'My ClientID',
'appSecret' => 'ClientSecret',

'steam' => [
'apiKey' => My apiKey (steam)',
'maxInventory' => 1050

and nothing else touching (everything else is standard, as here https://github.com/ohMatty/CSGOShop/blob/master/config/app.php)
Now I have another error:
Fatal error: Uncaught exception 'ActiveRecord\ConfigException' with message 'Connections must be an array' in /home/u326474077/public_html/libs/php-activerecord/lib/Config.php:128 Stack trace: #0 /home/u326474077/public_html/libs/CSGOShop.class.php(124): ActiveRecord\Config->set_connections(true) #1 /home/u326474077/public_html/libs/CSGOShop.class.php(107): CSGOShop->setupActiveRecord() #2 /home/u326474077/public_html/libs/CSGOShop.class.php(23): CSGOShop->initClasses() #3 /home/u326474077/public_html/index.php(3): CSGOShop->__construct(true) #4 {main} thrown in /home/u326474077/public_html/libs/php-activerecord/lib/Config.php on line 128

@dragerlive
Copy link
Author

Jamie96, Pls help

@ElPresidentePro
Copy link

What system do you use?

@ElPresidentePro
Copy link

I use xampp windows using the program and it works well

@ElPresidentePro
Copy link

Jaime a question, if you do not load the inventory and do not logs on is that this bug or for reasons Profile

@dragerlive
Copy link
Author

I use win 7 and I don't use programms, I use hosting site hostinger.com

@ElPresidentePro
Copy link

ok hostinger you pay or free plan?

@dragerlive
Copy link
Author

Free plan

@dragerlive
Copy link
Author

I can download XAMPP, add me in steam аnd if not hard to tell how you did site :)
http://steamcommunity.com/id/vladlem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants