loshMiS

loshMiS supports this item

Supported

This author's response time can be up to 1 business day.

602 comments found.

Is it possible to add an option to Vanguard like a “Maintenance mode” where you can enable it and it wlll only allow Administrators (or people with a permission) to only login.

Ah yeah, some files didn’t move over :O I am now trying to use the json API, I have enabled it ect in the config, but when I am trying to send a POST request to the login I seem to not be getting a json in return instead its a XML saying “Token Mismatch”, here is a hurl request I am trying: https://gyazo.com/caf871f7094d50a135e2a66a58f74576

Hey,

The API itself is available under ”/api” group, so you should send the request to “website.com/api/login”. I’ve just checked the documentation and it looks like I haven’t pointed that out explicitly inside the actual API Documentation that whole “api” section is located under ”/api” group, but it is pointed out here: https://docs.vanguardapp.io/configuration.html#json-api

Thanks for letting me know, I’ll update the API documentation now.

Regards,

Milos

Hey, Alright thank you! I was here scratching my head like “Why isn’t this working” lol But now its fine :D Thank you.

Hello, upon installing this application for mine and my partners network I get this issue:

[2017-08-24 00:07:59] production.ERROR: Call to undefined method Illuminate\Database\Query\Builder::socialNetworks()

[2017-08-24 00:07:59] production.ERROR: #0 C:\MAMP\htdocs\Admin\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Builder.php(1254): Illuminate\Database\Query\Builder->__call(‘socialNetworks’, Array)

We were having issues with the update so we decided to start a fresh install, the first issue I had was doing a fresh install on the already existing vanguard database which gave me:

Base table or view not found: 1146 Table 'vanguard.countries' doesn't exist (SQL: insert into `countries` (`id`, `capital`, `citizenship`, `country_code`, `currency`, `currency_code`, `currency_sub_unit`, `full_name`, `iso_3166_2`, `iso_3166_3`, `name`, `region_code`, `sub_region_code`, `eea`, `calling_code`, `currency_symbol`, `flag`) values (4, Kabul, Afghan, 004, afghani, AFN, pul, Islamic Republic of Afghanistan, AF, AFG, Afghanistan, 142, 034, 0, 93, ؋, AF.png))

[2017-08-23 23:23:32] production.ERROR: #0 C:\MAMP\htdocs\Admin\vendor\laravel\framework\src\Illuminate\Database\Connection.php(607): Illuminate\Database\Connection->runQueryCallback(‘insert into `co…’, Array, Object(Closure))

So then I decided to try fresh install vanguard on a different mysql server, following the steps, creating the database ‘vanguard’ before hand etc, but then I ran into that socialNetworks issue. I was wondering if you know anything about this and/or can help!

Thank you in advanced! :),

Morgan

by
by
by
by
by
by