myaspm / redmine_stats_2

Updated version of Luis Fontes' redmine_stats plugin.
12 stars 4 forks source link

Got 404 error when accessing to Statistics with redmine 3.4.2 #8

Open darklord1990 opened 7 years ago

darklord1990 commented 7 years ago

Hi

I got 404 error with contain "The page you were trying to access doesn't exist or has been removed." when accessing to Statistics site (.../global_stats/current_week)

Below is my redmine info : Environment: Redmine version 3.4.2.stable Ruby version 2.3.1-p112 (2016-04-26) [x86_64-linux-gnu] Rails version 4.2.8 Environment production Database adapter Mysql2 SCM: Git 2.7.4 Filesystem
Redmine plugins: redmine_stats 0.0.1

Please help to check this error.

Thanks Mark

myaspm commented 7 years ago

I'll take a look when i get home, i hope it's not urgent?

darklord1990 commented 7 years ago

Do you find out the error ?

LancelotLiu commented 7 years ago

I temporary remove lines as below in app/views/stats/index.html.erb. It works again but I don't know why :p

<h3><%= l(:stats_label_more_active_issues)%></h3><br> <%= render :partial => 'simple', :locals => { :issues => @top5, :filter_by => "created_on" } %>

cappuMUC commented 7 years ago

The issue appears due to changes in Redmine.

r16401: Removes issues/list_simple partial, no longer used.

Downloading the file _list_simple.html.erb from an older version and putting it back to $REDMINE_ROOT/app/views/issues/ does the job.

myaspm commented 7 years ago

Guys i was in Eid holiday for a month and had no internet so sorry about that. Will see if i can adapt to the changes in a few days.

mauro-miatello commented 7 years ago

https://github.com/luisfontes19/redmine_stats/issues/43 i've tried to download _list_simple.html.erb but it doesn't fix

EDIT: solved after a while, maybe a cache problem

carlosarceleon commented 6 years ago

Hi,

I also experienced this issue, with Redmine 3.4.4.

Fixed as suggested by @cappuMUC, by replacing _list_simple.html.erb with the 16400 revision and restarting Redmine.