View Issue Details

This issue affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
05029Bug reportsStatisticspublic2011-03-29 17:04
Reportermedicnick Assigned Toc_schmitz  
PriorityurgentSeveritycrash 
Status closedResolutionunable to reproduce 
Product Version1.91RC5 
Summary05029: Fatal error: Call to a member function RecordCount() on a non-object in E:{path}\htdocs\limesurvey\admin\html.php on l
Description

When creating a new survey the survey is created but when attempting to enter it in admin, this error returns: Fatal error: Call to a member function RecordCount() on a non-object in E:{path}\htdocs\limesurvey\admin\html.php on l21

Survey importing does not work at all, not sure if that is related issue or should be a separate bug report.

Steps To Reproduce

Create a new survey.

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)9872
I will donate to the project if issue is resolvedYes
Story point estimate
BrowserIE8 and Chrome
Database type & versionMSSQL 2008
Server OS (if known)Win
Webserver software & version (if known)IIS7
PHP Version5.2.5

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2011-03-15 11:35

developer   ~14437

I can't reproduce in last svn version.

Mazi

Mazi

2011-03-21 00:49

updater   ~14487

Can you test if this problem shows up with MS SQL only? I think is is no problem when using MySQL?! 

medicnick

medicnick

2011-03-21 21:55

reporter   ~14498

I am no longer able to duplicate the first complaint but am still unable to import surveys, groups, or questions. There is no error message provided, it simply goes from the import screen <submit> button back to the HOME view of the admin page.

Mazi

Mazi

2011-03-22 16:40

updater   ~14513

Please switch on debug mode by adding the following line to your config.php file:
[code]$debug = '1';[/code]

Are there any additional errors reported on top of the page?

medicnick

medicnick

2011-03-22 19:08

reporter   ~14516

Actually, debug was set as [code]$debug = 1;[/code]. Adding the single quote completely resolved file importing and now it works! I'm pretty sure that a 0 was exchanged for a 1 in the config.php file and no mention was made of the single quotes. What other fields should have single quotes? Thanks!

Mazi

Mazi

2011-03-23 16:19

updater   ~14526

Carsten, should the debug notation always use single quotes instead of numeric values?

c_schmitz

c_schmitz

2011-03-29 17:04

administrator   ~14600

Always numeric values. I don't think the 'sudden working' is not related to the debug parameter. Maybe he fixed some other error in config.php on the way.
Anyway, I can't reproduce this and related to 05028 this is more likely a system problem than a bug.

Issue History

Date Modified Username Field Change
2011-03-13 07:57 medicnick New Issue
2011-03-15 11:35 DenisChenu Note Added: 14437
2011-03-21 00:49 Mazi Note Added: 14487
2011-03-21 00:49 Mazi Assigned To => c_schmitz
2011-03-21 00:49 Mazi Status new => feedback
2011-03-21 21:55 medicnick Note Added: 14498
2011-03-21 21:55 medicnick Status feedback => assigned
2011-03-22 16:40 Mazi Note Added: 14513
2011-03-22 16:40 Mazi Status assigned => feedback
2011-03-22 19:08 medicnick Note Added: 14516
2011-03-22 19:08 medicnick Status feedback => assigned
2011-03-23 16:19 Mazi Note Added: 14526
2011-03-29 17:04 c_schmitz Note Added: 14600
2011-03-29 17:04 c_schmitz Status assigned => closed
2011-03-29 17:04 c_schmitz Resolution open => fixed
2011-03-29 17:04 c_schmitz Resolution fixed => unable to reproduce