Giter VIP home page Giter VIP logo

guacamole-php-sdk's People

Contributors

ridvanaltun avatar thebadalamaster avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

guacamole-php-sdk's Issues

Class 'ridvanaltun\\Guacamole\\Guacamole' not found

PHP Fatal error: Uncaught Error: Class 'ridvanaltun\Guacamole\Guacamole' not found in /var/www/html/guacamole-php-sdk/test.php:9\nStack trace:\n#0 {main}\n thrown in /var/www/html/guacamole-php-sdk/test.php on line 9

PHP Fatal error: Uncaught GuzzleHttp\\Exception\\RequestException: cURL error 3: <url> malformed

PHP Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 3: malformed (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for /api/tokens in /var/www/html/guacamole-php-sdk/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:211\nStack trace:\n#0 /var/www/html/guacamole-php-sdk/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(158): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array)\n#1 /var/www/html/guacamole-php-sdk/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(110): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))\n#2 /var/www/html/guacamole-php-sdk/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(47): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))\n#3 /var/www/html/guacamole-php-sdk/vendor/guzzlehttp/guzzle/src/Handler/ in /var/www/html/guacamole-php-sdk/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 211

Trying to assing a connection returns mystifying error: "{"message":"Unexpected internal error","translatableMessage":{"key":"APP.TEXT_UNTRANSLATED","variables":{"MESSAGE":"Unexpected internal error"}},"statusCode":null,"expected":null,"type":"INTERNAL_ERROR"}

$server = new Guacamole($host, $username, $password, [
        'timeout' => 5,
        'verify'  => false, // don't verify ssl
    ]);

    $user = new User($server);
    $connections = ['104'];
    $user->assignConnections('admin20', $connections);

I basically copied and pasted the example code.

Thanks in Advance :)

syntax error, unexpected ')'

PHP Parse error: syntax error, unexpected ')' in /var/www/html/guacamole-php-sdk/src/Operation.php on line 66

/**
 * Bind token
 *
 * @param   array  $options  Request options
 *
 * @return  array            New request options
 */
private function withAuthToken(array $options) {
	return array_merge(
		$options, [
			'query' => ['token' => $this->token],
		], <------- In this line
	);
}

Could not find a matching version of package ridvanaltun/guacamole

composer require ridvanaltun/guacamole
Do not run Composer as root/super user! See https://getcomposer.org/root for details

[InvalidArgumentException]
Could not find a matching version of package ridvanaltun/guacamole. Check the package spelling, your version constraint and that the package is available in a stability which matche
s your minimum-stability (stable).

require [--dev] [--prefer-source] [--prefer-dist] [--fixed] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] []...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.