Error: An Internal Error Has Occurred.

329 views
Skip to first unread message

ibasaw

unread,
Oct 24, 2013, 8:14:05 AM10/24/13
to candyca...@googlegroups.com
hi,

i got an Redmine 2.3.2 database

i installe last candycane with it

it work, except issues page, always got this error

An Internal Error Has Occurred.

Error: An Internal Error Has Occurred.



got theses errors on preview page, issues pages list, issue detail and new issue, and config


Why ?


how to solve this ?



here some error log

2013-10-24 14:06:05 Error: [PDOException] SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Enumeration.opt' in 'where clause'
Request URL: /projects/v2-hachette-vins/issues/index?query_id=0
Stack Trace:
#0 /var/lib/candycane/lib/Cake/Model/Datasource/DboSource.php(460): PDOStatement->execute(Array)
#1 /var/lib/candycane/lib/Cake/Model/Datasource/DboSource.php(426): DboSource->_execute('SELECT `Enumera...', Array)
#2 /var/lib/candycane/lib/Cake/Model/Datasource/DboSource.php(670): DboSource->execute('SELECT `Enumera...', Array, Array)
#3 /var/lib/candycane/lib/Cake/Model/Datasource/DboSource.php(1081): DboSource->fetchAll('SELECT `Enumera...', false)
#4 /var/lib/candycane/lib/Cake/Model/Model.php(2696): DboSource->read(Object(Enumeration), Array)
#5 /var/lib/candycane/app/Model/Query.php(153): Model->find('list', Array)
#6 /var/lib/candycane/app/Controller/Component/QueriesComponent.php(33): Query->available_filters(Array, Array)
#7 /var/lib/candycane/app/Controller/IssuesController.php(161): QueriesComponent->retrieve_query(0)
#8 [internal function]: IssuesController->index()
#9 /var/lib/candycane/lib/Cake/Controller/Controller.php(486): ReflectionMethod->invokeArgs(Object(IssuesController), Array)
#10 /var/lib/candycane/lib/Cake/Routing/Dispatcher.php(187): Controller->invokeAction(Object(CakeRequest))
#11 /var/lib/candycane/lib/Cake/Routing/Dispatcher.php(162): Dispatcher->_invoke(Object(IssuesController), Object(CakeRequest), Object(CakeResponse))
#12 /var/lib/candycane/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#13 {main}
2013-10-24 14:06:10 Error: [PDOException] SQLSTATE[42S22]: Column not found: 1054 Unknown column 'opt' in 'where clause'
Request URL: /issues/show/769
Stack Trace:
#0 /var/lib/candycane/lib/Cake/Model/Datasource/DboSource.php(460): PDOStatement->execute(Array)
#1 /var/lib/candycane/lib/Cake/Model/Datasource/DboSource.php(426): DboSource->_execute('SELECT `Priorit...', Array)
#2 /var/lib/candycane/lib/Cake/Model/Datasource/DboSource.php(670): DboSource->execute('SELECT `Priorit...', Array, Array)
#3 /var/lib/candycane/lib/Cake/Model/Datasource/DboSource.php(1081): DboSource->fetchAll('SELECT `Priorit...', false)
#4 /var/lib/candycane/lib/Cake/Model/Model.php(2696): DboSource->read(Object(Enumeration), Array)
#5 /var/lib/candycane/app/Model/Enumeration.php(18): Model->find('all', Array)
#6 /var/lib/candycane/app/Model/Issue.php(492): Enumeration->get_values('IPRI')
#7 /var/lib/candycane/app/Controller/IssuesController.php(1077): Issue->findPriorities(0)
#8 /var/lib/candycane/app/Controller/IssuesController.php(266): IssuesController->_set_edit_form_values()
#9 [internal function]: IssuesController->show()
#10 /var/lib/candycane/lib/Cake/Controller/Controller.php(486): ReflectionMethod->invokeArgs(Object(IssuesController), Array)
#11 /var/lib/candycane/lib/Cake/Routing/Dispatcher.php(187): Controller->invokeAction(Object(CakeRequest))
#12 /var/lib/candycane/lib/Cake/Routing/Dispatcher.php(162): Dispatcher->_invoke(Object(IssuesController), Object(CakeRequest), Object(CakeResponse))
#13 /var/lib/candycane/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#14 {main}
2013-10-24 14:06:12 Error: [PDOException] SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Member.role_id' in 'on clause'
Request URL: /projects/v2-hachette-vins
Stack Trace:
#0 /var/lib/candycane/lib/Cake/Model/Datasource/DboSource.php(460): PDOStatement->execute(Array)
#1 /var/lib/candycane/lib/Cake/Model/Datasource/DboSource.php(426): DboSource->_execute('SELECT `Member`...', Array)
#2 /var/lib/candycane/lib/Cake/Model/Datasource/DboSource.php(670): DboSource->execute('SELECT `Member`...', Array, Array)
#3 /var/lib/candycane/lib/Cake/Model/Datasource/DboSource.php(1081): DboSource->fetchAll('SELECT `Member`...', false)
#4 /var/lib/candycane/lib/Cake/Model/Model.php(2696): DboSource->read(Object(Member), Array)
#5 /var/lib/candycane/app/Controller/ProjectsController.php(1005): Model->find('all', Array)
#6 /var/lib/candycane/app/Controller/ProjectsController.php(298): ProjectsController->_get_members_by_role()
#7 [internal function]: ProjectsController->show()
#8 /var/lib/candycane/lib/Cake/Controller/Controller.php(486): ReflectionMethod->invokeArgs(Object(ProjectsController), Array)
#9 /var/lib/candycane/lib/Cake/Routing/Dispatcher.php(187): Controller->invokeAction(Object(CakeRequest))
#10 /var/lib/candycane/lib/Cake/Routing/Dispatcher.php(162): Dispatcher->_invoke(Object(ProjectsController), Object(CakeRequest), Object(CakeResponse))
#11 /var/lib/candycane/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#12 {main}

Jonas Wilhelm

unread,
Nov 14, 2013, 5:10:57 AM11/14/13
to candyca...@googlegroups.com
I have got the same error.

yan...@gmail.com

unread,
Nov 14, 2013, 5:13:32 AM11/14/13
to candyca...@googlegroups.com, candyca...@googlegroups.com
Candycane uses redmine 0.8 database. Do db:migrate as equals to redmine 0.8
 
You should try on backup or replica.

iPhoneから送信

2013/11/14 19:10、Jonas Wilhelm <jonas....@gmail.com> のメッセージ:

--
このメールは Google グループのグループ「candycane-users」の登録者に送られています。
このグループから退会し、メールの受信を停止するには、candycane-use...@googlegroups.com にメールを送信します。
その他のオプションについては、https://groups.google.com/groups/opt_out にアクセスしてください。

Dries Bultynck

unread,
Jan 12, 2014, 9:30:31 AM1/12/14
to candyca...@googlegroups.com
I got the same error. 
I'm new to candycane.
Since i don't know anything from Ruby, i chose candycane.

I've put the files in the directory & filled in the credentials (Step 1)
Installed it & deleted the install (Step 2)

After that i only get a page with "error occurred"
no css, only the login links etc.

What can i do?

Op donderdag 14 november 2013 11:13:32 UTC+1 schreef yando:
このグループから退会し、メールの受信を停止するには、candycane-users+unsubscribe@googlegroups.com にメールを送信します。
その他のオプションについては、https://groups.google.com/groups/opt_out にアクセスしてください。

Leinad R

unread,
Feb 11, 2014, 6:09:47 AM2/11/14
to candyca...@googlegroups.com
hey guys!
i had the same error. ...several times... i didn´t notice any kind of scheme behind this. the error notice appearred randomly.
i just overrode the files from cc on the server and voila... it ran again. it´s not elegant but it worked for me..... until now...

yando

unread,
Feb 11, 2014, 9:53:08 AM2/11/14
to candyca...@googlegroups.com
You may have to provide more detailed log from your server.
clearing cache file under app/tmp/cache/ should be worth to try. do not delete directory under app/tmp/cache, just file.

2014年1月12日日曜日 23時30分31秒 UTC+9 Dries Bultynck:

yando

unread,
Feb 11, 2014, 9:53:45 AM2/11/14
to candyca...@googlegroups.com
did you see that error at random?

2014年2月11日火曜日 20時09分47秒 UTC+9 Leinad R:
Reply all
Reply to author
Forward
0 new messages