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

Console: Proxy sync throws error #1343

Closed
dev7ch opened this issue Jun 26, 2017 · 6 comments
Closed

Console: Proxy sync throws error #1343

dev7ch opened this issue Jun 26, 2017 · 6 comments

Comments

@dev7ch
Copy link
Contributor

dev7ch commented Jun 26, 2017

I wanted to enjoy the super cool admin/sync command but i didn't get satisfied ;)
Any ideas?

Exception 'yii\base\InvalidParamException' with message 'Syntax error.'

in /Users/silvan/Sites/_luya/kmb-neu/vendor/yiisoft/yii2/helpers/BaseJson.php:132

Stack trace:
#0 /Users/silvan/Sites/_luya/kmb-neu/vendor/yiisoft/yii2/helpers/BaseJson.php(106): yii\helpers\BaseJson::handleJsonError(4)
#1 /Users/silvan/Sites/_luya/kmb-neu/vendor/luyadev/luya-module-admin/src/commands/ProxyController.php(183): yii\helpers\BaseJson::decode('actionSync()
#3 /Users/silvan/Sites/_luya/kmb-neu/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#4 /Users/silvan/Sites/_luya/kmb-neu/vendor/yiisoft/yii2/base/Controller.php(156): yii\base\InlineAction->runWithParams(Array)
#5 /Users/silvan/Sites/_luya/kmb-neu/vendor/yiisoft/yii2/console/Controller.php(128): yii\base\Controller->runAction('', Array)
#6 /Users/silvan/Sites/_luya/kmb-neu/vendor/yiisoft/yii2/base/Module.php(523): yii\console\Controller->runAction('', Array)
#7 /Users/silvan/Sites/_luya/kmb-neu/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('admin/proxy', Array)
#8 /Users/silvan/Sites/_luya/kmb-neu/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('admin/proxy', Array)
#9 /Users/silvan/Sites/_luya/kmb-neu/vendor/yiisoft/yii2/base/Application.php(380): yii\console\Application->handleRequest(Object(yii\console\Request))
#10 /Users/silvan/Sites/_luya/kmb-neu/vendor/luyadev/luya-core/base/Boot.php(170): yii\base\Application->run()
#11 /Users/silvan/Sites/_luya/kmb-neu/vendor/luyadev/luya-core/bin/luya(21): luya\base\Boot->applicationConsole()
#12 {main}

@nadar
Copy link
Contributor

nadar commented Jun 26, 2017

I assume u have entered a wrong admin proxy url. Https? with/without www?

@nadar
Copy link
Contributor

nadar commented Jun 26, 2017

or you are not running the same version as the version (make sure u run composer install first).

@dev7ch
Copy link
Contributor Author

dev7ch commented Jun 26, 2017

ok thx, composer install done ... i ll check the urls later

@nadar
Copy link
Contributor

nadar commented Jun 26, 2017

And keep in mind its just the server url like: https://yourproxywebsite.com without /admin ;-)

@nadar
Copy link
Contributor

nadar commented Jun 26, 2017

and you should also be able to run the command in verbose mode, so u got more details on what went wrong while connecting to the proxy

@dev7ch
Copy link
Contributor Author

dev7ch commented Jun 26, 2017

finally after admin/proxy/clear and new setup for proxy sync all went fine ...
its fixed so far, thx

@dev7ch dev7ch closed this as completed Jun 26, 2017
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

2 participants