World: r3wp
[!CureCode] web-based bugtracking tool
older newer | first last |
Henrik 30-Aug-2009 [576] | http://97.107.135.89/bugs/index.rsp |
Graham 30-Aug-2009 [577] | that means there is an error |
Henrik 30-Aug-2009 [578] | this was also present before I changed the httpd config, so there must be a different error somewhere. |
Graham 30-Aug-2009 [579x4] | because there is an error, the gzipped stuff sent to the browser can not be decodoed |
so check the trace.log | |
just use r3bugs as your database handle | |
it's not relevant what the database name is | |
Henrik 30-Aug-2009 [583] | found an error message. decoding it... |
Graham 30-Aug-2009 [584] | it should be in plain text .. |
Henrik 30-Aug-2009 [585] | either 'sess, 'validate or 'request is none where they shouldn't be |
Graham 30-Aug-2009 [586x2] | well... did you login ? |
so that you have a validated session? | |
Henrik 30-Aug-2009 [588] | no, but no pages are working at all, so I can't log in. |
Graham 30-Aug-2009 [589] | what's your database string? |
Henrik 30-Aug-2009 [590] | just [root-:-localhost], but I don't think this is a database problem. it's more fundamental. |
Graham 30-Aug-2009 [591x2] | I'll try it out ... now where to download mysql .. |
http://dev.mysql.com/downloads/mysql/5.1.html#win32 | |
Dockimbel 30-Aug-2009 [593x2] | Database string should be root:<password>@localhost/r3bugs |
Looks like the install.r script hasn't been updated to match latest database schema. | |
Graham 30-Aug-2009 [595] | we guessed that :) |
Henrik 30-Aug-2009 [596x2] | as suspected, it didn't help to alter the db string. |
I'm curious why this error doesn't appear in the browser. | |
Graham 30-Aug-2009 [598] | aren't you getting a message about the browser doens't understand ? |
Henrik 30-Aug-2009 [599x2] | 0/8-09:28:22.596130-[RSP] ##RSP Script Error: URL = /bugs/index.rsp File = www/bugs/index.rsp ** Script Error : Cannot use path on none! value ** Where: rsp-script ** Near: [if all [ not sess/login? none? validate/full [action word! *] 'identify = request/content/action ] [ either invalid: validate/full [ login - * pass - * ] [ err?: yes ] [ .... more stuff after that |
yes. I usually get an RSP error message. | |
Dockimbel 30-Aug-2009 [601] | What Cheyenne version are you using? |
Henrik 30-Aug-2009 [602] | I think it's the latest exe for linux. |
Dockimbel 30-Aug-2009 [603] | From the error message, I think that something is messed up in app-init.r, maybe the captcha loading part. Is your Cheyenne version the one with View engine included? |
Henrik 30-Aug-2009 [604x2] | it reports back version 2.7.6.4.2 |
(could use a phpinfo() like page) | |
Dockimbel 30-Aug-2009 [606] | Try a probe system/product to see if View is there. |
Graham 30-Aug-2009 [607] | oh well, I can't help ... mysql fails to install under windows 7 |
Henrik 30-Aug-2009 [608] | Doc: it says Pro |
Graham 30-Aug-2009 [609] | Doc, thought about providing sql scripts for other dbs? |
Henrik 30-Aug-2009 [610x3] | looks like 'session/content is none, which is apparently not expected. |
which to me looks like the session was not started | |
it looks to me that Curecode is a webapp, due to the presence of an app-init.r file, so I'll have to find documentation on how to describe it as such | |
Dockimbel 30-Aug-2009 [613] | Oh, you didn't declared the webapp in Cheyenne, CC can't work without that. Here's an example: webapp [ virtual-root "/curecode/" root-dir %/c/dev/curecode/ locales-dir %private/locales/ ] |
Henrik 30-Aug-2009 [614x4] | yay! now at least something is output, but there are still errors. so far so good. :-) |
and finally it runs | |
now I'm trying to add a project, but on the index.rsp page in the manage section, I get: URL = /bugs/manage/index.rsp File = www/bugs/manage/links.rsp ** Script Error : Invalid path value: clear ** Where: rsp-script ** Near: [response/clear response/redirect request/web-app ] | |
there is no response/clear in the docs, so I assume this is a newer cheyenne feature? | |
Will 30-Aug-2009 [618] | try changing with response/reset |
Henrik 30-Aug-2009 [619x2] | that helped. now to create a user account... |
but no code image is generated on the registration page. I assume View is needed for this? | |
Will 30-Aug-2009 [621] | for captcha , yes |
Henrik 30-Aug-2009 [622] | ** Script Error : draw has no value ** Where: generate ** Near: [save/png img: make binary! 25000] Looks like it. |
Dockimbel 30-Aug-2009 [623] | response/clear => you've found a bug, it's a typo, as Will says, it should be response/reset. (now fixed in 0.9.9). |
Henrik 30-Aug-2009 [624] | ok, thanks |
Dockimbel 30-Aug-2009 [625] | Did you removed the admin user creation from the install script? You need that admin user in order to create new projects and manage them (the bug you just hit is in a code branch that is evaluated only if a non-admin user try to access manager pages). |
older newer | first last |