View Issue Details

IDProjectCategoryView StatusLast Update
1470Composrstatspublic2013-12-17 04:08
ReporterGuest Assigned ToGuest  
PriorityhighSeverityminor 
Status resolvedResolutionfixed 
Summary1470: When you try to view site stats after you enter the date coverage....
DescriptionPHP NOTICE [8] Undefined variable: reasonable_max in adminzone\pages\modules\admin_stats.php on line 1246 (version: 9.0.10, PHP version: 5.3.20, URL: /adminzone/index.php?page=admin_stats&type=_page&iscreen=site%2Fpages%2Fmodules%2Fgalleries.php)

Here is the stack trace:

Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check Composr website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.
File 'D:\\hshome\\c313343\\brat-rats.com\\sources\\failure.php'
Line '805'
Function 'get_html_trace'
Args
File 'D:\\hshome\\c313343\\brat-rats.com\\sources\\global2.php'
Line '1,042'
Function '_fatal_exit'
Args

'PHP NOTICE [8] Undefined variable: reasonable_max in adminzone\\pages\\modules\\admin_stats.php on line 1246'
File 'D:\\hshome\\c313343\\brat-rats.com\\sources\\failure.php'
Line '224'
Function 'fatal_exit'
Args

'PHP NOTICE [8] Undefined variable: reasonable_max in adminzone\\pages\\modules\\admin_stats.php on line 1246'
File 'D:\\hshome\\c313343\\brat-rats.com\\sources\\global2.php'
Line '905'
Function '_Composr_error_handler'
Args

'notice'

8

'Undefined variable: reasonable_max'

'adminzone\\pages\\modules\\admin_stats.php'

1246
File 'D:\\hshome\\c313343\\brat-rats.com\\adminzone\\pages\\modules\\admin_stats.php'
Line '1,246'
Function 'Composr_error_handler'
Args

8

'Undefined variable: reasonable_max'

'D:\\hshome\\c313343\\brat-rats.com\\adminzone\\pages\\modules\\admin_stats.php'

1246

array
File 'D:\\hshome\\c313343\\brat-rats.com\\adminzone\\pages\\modules\\admin_stats.php'
Line '199'
Function 'show_page'
Class 'Module_admin_stats'
Object Module_admin_stats::__set_state(array( ))
Type '->'
Args
File 'D:\\hshome\\c313343\\brat-rats.com\\sources\\zones.php'
Line '425'
Function 'run'
Class 'Module_admin_stats'
Object Module_admin_stats::__set_state(array( ))
Type '->'
Args
File 'D:\\hshome\\c313343\\brat-rats.com\\sources\\site.php'
Line '862'
Function 'load_module_page'
Args

'adminzone/pages/modules/admin_stats.php'

'admin_stats'
File 'D:\\hshome\\c313343\\brat-rats.com\\sources\\site.php'
Line '646'
Function 'request_page'
Args

'admin_stats'

true
File 'D:\\hshome\\c313343\\brat-rats.com\\adminzone\\index.php'
Line '39'
Function 'do_site'
Steps To ReproduceGoing to site stats choosing the date span and hit continue. Then choosing the area you want to view "Start" pages stats it goes to the error screen
TagsNo tags attached.
Attach Tags
Attached Files
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Guest

2013-12-17 04:08

reporter   ~1918

This started AFTER I ran the upgrade and upgrader.php to update 9.09 to version 9.10

Chris Graham

2013-12-18 14:43

administrator   ~1920

Automated response: Viewing stats for a page failing

An incorrect change in 9.0.10 caused an error when viewing stats for a specific page.

Chris Graham

2013-12-18 14:43

administrator   ~1921

Fixed in git commit dce04b8 (https://github.com/chrisgraham/Composr/commit/dce04b8 - link will become active once code pushed)

A hotfix (a TAR of files to upload) have been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

Issue History

Date Modified Username Field Change