Git Product home page Git Product logo

tnt-analytics-issues's People

Contributors

nticaric avatar

Watchers

 avatar  avatar  avatar  avatar

tnt-analytics-issues's Issues

Routes doesn't work

Hi there,

I just purchased the package and I'm not able to access the dashboard at all.

I installed it according to your docs without any errors, I've set TNT_ANALYTICS_PATH="search-analytics" in my .env file and removed the middleware in the tnt-analytics config file.

After that I suppose I should be able to access https://myurl.test/search-analytics, but i get 404.

The searches are making entries to the tnt_analytics_entries table.

I use:
Laravel 6.2
PHP 7.4
Laravel Voyager (tcg/voyager) 1.5.2
pvtl/voyager-frontend 1.0.2
teamtnt/laravel-scout-tntsearch-driver 11.6.0
teamtnt/tnt-analytics 1.4.0
laravel/scout 7.2.1

When I do php artisan route:list --path=search-analytics i get this:

+--------+-----------+----------------------------------------------------+----------------------------------+-----------------------------------------------------------------------------+---------------+
| Domain | Method    | URI                                                | Name                             | Action                                                                      | Middleware    |
+--------+-----------+----------------------------------------------------+----------------------------------+-----------------------------------------------------------------------------+---------------+
|        | GET|HEAD  | search-analytics                                   |                                  | TeamTNT\TNTAnalytics\Http\Controllers\TNTAnalyticsController@index          | tnt-analytics |
|        | GET|HEAD  | search-analytics/chart/query-per-period.json       |                                  | TeamTNT\TNTAnalytics\Http\Controllers\TNTAnalyticsController@queryPerPeriod | tnt-analytics |
|        | GET|HEAD  | search-analytics/model/{model}                     |                                  | TeamTNT\TNTAnalytics\Http\Controllers\ModelsController@index                | tnt-analytics |
|        | GET|HEAD  | search-analytics/query-details/{query}             |                                  | TeamTNT\TNTAnalytics\Http\Controllers\TNTAnalyticsController@queryDetails   | tnt-analytics |
|        | POST      | search-analytics/query/expansions                  | expansions.store                 | TeamTNT\TNTAnalytics\Http\Controllers\QueryExpansionsController@store       | tnt-analytics |
|        | GET|HEAD  | search-analytics/query/expansions                  | expansions.index                 | TeamTNT\TNTAnalytics\Http\Controllers\QueryExpansionsController@index       | tnt-analytics |
|        | GET|HEAD  | search-analytics/query/expansions/create           | expansions.create                | TeamTNT\TNTAnalytics\Http\Controllers\QueryExpansionsController@create      | tnt-analytics |
|        | PUT|PATCH | search-analytics/query/expansions/{expansion}      | expansions.update                | TeamTNT\TNTAnalytics\Http\Controllers\QueryExpansionsController@update      | tnt-analytics |
|        | GET|HEAD  | search-analytics/query/expansions/{expansion}      | expansions.show                  | TeamTNT\TNTAnalytics\Http\Controllers\QueryExpansionsController@show        | tnt-analytics |
|        | DELETE    | search-analytics/query/expansions/{expansion}      | expansions.destroy               | TeamTNT\TNTAnalytics\Http\Controllers\QueryExpansionsController@destroy     | tnt-analytics |
|        | GET|HEAD  | search-analytics/query/expansions/{expansion}/edit | expansions.edit                  | TeamTNT\TNTAnalytics\Http\Controllers\QueryExpansionsController@edit        | tnt-analytics |
|        | GET|HEAD  | search-analytics/query/overview                    | tnt-analytics-query-overview     | TeamTNT\TNTAnalytics\Http\Controllers\TNTAnalyticsController@queryDetails   | tnt-analytics |
|        | GET|HEAD  | search-analytics/query/overview/all                | tnt-analytics-query-overview-all | TeamTNT\TNTAnalytics\Http\Controllers\QueryDetailsController@all            | tnt-analytics |
|        | POST      | search-analytics/reports                           | reports.store                    | TeamTNT\TNTAnalytics\Http\Controllers\ReportsController@store               | tnt-analytics |
|        | GET|HEAD  | search-analytics/reports                           | reports.index                    | TeamTNT\TNTAnalytics\Http\Controllers\ReportsController@index               | tnt-analytics |
|        | GET|HEAD  | search-analytics/reports/create                    | reports.create                   | TeamTNT\TNTAnalytics\Http\Controllers\ReportsController@create              | tnt-analytics |
|        | GET|HEAD  | search-analytics/reports/graph/week                |                                  | TeamTNT\TNTAnalytics\Http\Controllers\ReportsController@graphWeek           | tnt-analytics |
|        | PUT|PATCH | search-analytics/reports/{report}                  | reports.update                   | TeamTNT\TNTAnalytics\Http\Controllers\ReportsController@update              | tnt-analytics |
|        | DELETE    | search-analytics/reports/{report}                  | reports.destroy                  | TeamTNT\TNTAnalytics\Http\Controllers\ReportsController@destroy             | tnt-analytics |
|        | GET|HEAD  | search-analytics/reports/{report}                  | reports.show                     | TeamTNT\TNTAnalytics\Http\Controllers\ReportsController@show                | tnt-analytics |
|        | GET|HEAD  | search-analytics/reports/{report}/edit             | reports.edit                     | TeamTNT\TNTAnalytics\Http\Controllers\ReportsController@edit                | tnt-analytics |
|        | GET|HEAD  | search-analytics/search                            | search.index                     | TeamTNT\TNTAnalytics\Http\Controllers\SearchController@index                | tnt-analytics |
+--------+-----------+----------------------------------------------------+----------------------------------+-----------------------------------------------------------------------------+---------------+

PS: it doesn't change anything if I delete my custom path from the .env file, still 404.

Can you please help?

Fail to install with teamtnt/laravel-scout-tntsearch-driver 12

Hello guys,

I'm trying to update to Laravel 9 and php8.

Because of the scout update I needed to update to teamtnt/laravel-scout-tntsearch-driver 12, but tnt-analytics can't deal with that:
teamtnt/tnt-analytics v1.4.0 requires teamtnt/laravel-scout-tntsearch-driver ^11.1.0

Any advise?

composer update issue

Hi,

I've got auth.json in place, but when I do composer update it fails with the following:

https://satis.tnt.studio could not be fully loaded (curl error 28 while downloading https://satis.tnt.studio/packages.json: Failed to connect to satis.tnt.studio port 443 after 7890 ms: Operation timed out), package information was loaded from the local cache and may be out of date

In CurlDownloader.php line 377:

  curl error 28 while downloading https://satis.tnt.studio/p2/guzzlehttp/guzzle.json: Failed to connect to satis.tnt.studio port 443 after 7880 ms: Operation timed out

Does it even after composer du

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.