UniversityPCCare / gsx-rest-php

PHP+MySQL implementation for Apple's GSX REST API
GNU General Public License v3.0
13 stars 6 forks source link

composer #9

Open alopezruiz opened 2 years ago

alopezruiz commented 2 years ago

Hi, my name is Alejandro, from Spain.

Sure it's not an ISSUE or a BUG,

Could you please post a url or something to once

1) I download gsx-rest-php to my server www folder 2) I change config.ini, test-declarations.php files with my configuration and some details required 3) I install composer in the same folder 4) I "composer u" in the same folder

but test.php doesn't works

Could you please help me, so I've never use composer. I surf the web for many many pages... also I tried composer require upcc/gsx-rest-php but error rise related with "stable version"

Thanks you in advance.

Screenshot 2022-02-03 at 18 58 28
alopezruiz commented 2 years ago

What error do you get when you run test.php?

Thanks you @upccjesse

Just blank screens

after execute test.php

in line $gsx = new UPCC\GSXHandler($userEmail, $shipTo); or if I remove UPCC\ ... after calling GSXHandler.php its goes ahead... until ... $this->pdoHandler = new PDOHandler($config["HOST"], $config["DB"], $config["USER"], $config["PASS"], $config["PORT"]); in construct self::initializeDatabase($host, $db, $user, $pass, $port);

PDO library is initialised on my PHP 7+ installation.

Thanks you Alejandro