I don't know why I can't get this working on my production machine --
so I stuck it on a development machine with a mongrels cluster +
apache + mysql and an outside ip, and it works just fine.  I'll try to
figure it out later.  Thanks for your help.

Charlie

On 11/1/07, Charlie Caroff <[EMAIL PROTECTED]> wrote:
> Matthias, I'm using Mysql, and my database.yml files looks like this
>
> development:
>   adapter: mysql
>   host: localhost
>   database: instiki
>   username: root
>   password: password
>
> test:
>   adapter: mysql
>   host: localhost
>   database: instiki
>   username: root
>   password: password
>
> production:
>   adapter: mysql
>   host: localhost
>   database: instiki
>   username: root
>   password: password
>
> Charlie
>
>
> On 11/1/07, Matthias Tarasiewicz <[EMAIL PROTECTED]> wrote:
> > this sounds like the known sqlite problem to me.
> > please try a
> >
> > rake db:migrate RAILS_ENV=production
> >
> > from the instiki root directory to recreate the sqlite database with
> > the sqlite version from your system. this is a known sqlite issue.
> > which version of sqlite are you running? (output of 'sqlite3 -version')
> >
> > -m
> >
> >
> > On 01.11.2007, at 18:17, Charlie Caroff wrote:
> >
> > > Ok, I deleted the rails directory under ./vendors, I turned off
> > > apache, and now have webrick running. I am accessing my instiki via my
> > > ip address:2500.  I get the setup page, fill it in, and am redirected
> > > to create a homepage.  Now when I try save that, I get this error:
> > >
> > > [2007-11-01 09:13:54] ERROR `/wiki/new/HomePage' not found.
> > > ip - - [01/Nov/2007:09:13:54 PST] "GET /wiki/new/HomePage HTTP/1.1"
> > > 404 291
> > > http://my.server.ip:2500/wiki/new/HomePage -> /wiki/new/HomePage
> > >
> > > Any hints?
> > > Charlie
> > >
> > >
> > >
> > >
> > >
> > > On 11/1/07, Matthias Tarasiewicz <[EMAIL PROTECTED]> wrote:
> > >> charlie,
> > >>
> > >> does the same error occur, if you are trying to access your instiki
> > >> directly via yourhostname:2500? (in this case apache would cause the
> > >> problem)
> > >>
> > >> another idea: try to delete the rails directory from /vendor/rails
> > >> (if you have rails already installed on your system) and see if the
> > >> error still occurs.
> > >>
> > >> -m
> > >>
> > >>
> > >> On 01.11.2007, at 17:41, Charlie Caroff wrote:
> > >>
> > >>> I'd like to emphasize that I have instiki running just fine on my
> > >>> development machine on port 2500.  I can't get it running on my
> > >>> production machine either using mongrel_rails / apache or using
> > >>> webrick.
> > >>>
> > >>> The sanitize.rb error comes when I try to run instiki on my
> > >>> production
> > >>> machine using mongrel_rails and apache on port 80 using reverse
> > >>> proxying.  Here is the software I'm using:
> > >>>
> > >>> Ruby 1.8.6
> > >>> rails 1.2.3
> > >>> FreeBSD 6.2
> > >>> instiki 0.1.2
> > >>> mysql 5.0
> > >>> apache 2.2
> > >>>
> > >>> I have many gems installed -- here are some of what i think the
> > >>> relevant ones are:
> > >>>
> > >>> Bluecloth 1.0.0
> > >>> mongrel (1.0.4, 0.3.13.4)
> > >>> mongrel_cluster (1.0.3, 0.2.1)
> > >>> mysql (2.7)
> > >>>
> > >>> In an attempt to simplify things, I opened up port 2500 on my
> > >>> production machine, and booted up webrick, with instiki in
> > >>> development
> > >>> mode, using mysql.  I see the first setup page, and after I fill it
> > >>> in, I'm redirected to the home page.  when I try to save the home
> > >>> page, I get this error in my browser:
> > >>>
> > >>> Application error (Apache)
> > >>>
> > >>> Change this error message for exceptions thrown outside of an action
> > >>> (like in Dispatcher setups or broken Ruby code) in public/500.html
> > >>>
> > >>> And these errors in my development.log:
> > >>>
> > >>> /usr/local/lib/ruby/1.8/cgi.rb:279: warning: already initialized
> > >>> constant CR
> > >>> /usr/local/lib/ruby/1.8/cgi.rb:282: warning: already initialized
> > >>> constant LF
> > >>> /usr/local/lib/ruby/1.8/cgi.rb:285: warning: already initialized
> > >>> constant EOL
> > >>> /usr/local/lib/ruby/1.8/cgi.rb:287: warning: already initialized
> > >>> constant REVISION
> > >>> /usr/local/lib/ruby/1.8/cgi.rb:292: warning: already initialized
> > >>> constant PATH_SEPARATOR
> > >>> /usr/local/lib/ruby/1.8/cgi.rb:313: warning: already initialized
> > >>> constant HTTP_STATUS
> > >>> /usr/local/lib/ruby/1.8/cgi.rb:317: warning: already initialized
> > >>> constant RFC822_DAYS
> > >>> /usr/local/lib/ruby/1.8/cgi.rb:320: warning: already initialized
> > >>> constant RFC822_MONTHS
> > >>>
> > >>> Charlie
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> On 11/1/07, Matthias Tarasiewicz <[EMAIL PROTECTED]> wrote:
> > >>>> huh, this is a very strange problem. which version of instiki are
> > >>>> you running?
> > >>>> can you tell more on your os, ruby version, additional gems
> > >>>> installed,
> > >>>> rails version?
> > >>>>
> > >>>> -matthias
> > >>>>
> > >>>> On Nov 1, 2007 12:16 AM, Charlie Caroff <[EMAIL PROTECTED]>
> > >>>> wrote:
> > >>>>> Hi, I set up instiki, I can fill in the values on the initial
> > >>>>> setup
> > >>>>> page.  Then when I hit "save", I get a page that says "you are
> > >>>>> being
> > >>>>> redirected", but I'm not redirected - I have to click the link.
> > >>>>>
> > >>>>> Then, I am at the "Creating Home Page" page, and when I enter some
> > >>>>> text into that page, and click "submit", I get this error in my
> > >>>>> browser . . .
> > >>>>>
> > >>>>> Internal Error
> > >>>>>
> > >>>>> An application error occurred while processing your request.
> > >>>>>
> > >>>>> . . . and this error in my production.log:
> > >>>>>
> > >>>>> SyntaxError (/usr/home/charlie/instiki/lib/sanitize.rb:227: too
> > >>>>> short
> > >>>>> multibyte code string: /^(
> > >>>>>          [\x09\x0A\x0D\x20-\x7E]            # ASCII
> > >>>>>        | [\xC2-\xDF][\x80-\xBF]             # non-overlong 2-byte
> > >>>>>        |  \xE0[\xA0-\xBF][\x80-\xBF]        # excluding overlongs
> > >>>>>        | [\xE1-\xEC\xEE\xEF][\x80-\xBF]{2}  # straight 3-byte
> > >>>>>        |  \xED[\x80-\x9F][\x80-\xBF]        # excluding surrogates
> > >>>>>        |  \xF0[\x90-\xBF][\x80-\xBF]{2}     # planes 1-3
> > >>>>>        | [\xF1-\xF3][\x80-\xBF]{3}          # planes 4-15
> > >>>>>        |  \xF4[\x80-\x8F][\x80-\xBF]{2}     # plane 16
> > >>>>>      )*$/):
> > >>>>>
> > >>>>>
> > >>>>> Anyone seen this one before?
> > >>>>>
> > >>>>> Charlie
> > >>>>> _______________________________________________
> > >>>>> Instiki-users mailing list
> > >>>>> [email protected]
> > >>>>> http://rubyforge.org/mailman/listinfo/instiki-users
> > >>>>>
> > >>>> _______________________________________________
> > >>>> Instiki-users mailing list
> > >>>> [email protected]
> > >>>> http://rubyforge.org/mailman/listinfo/instiki-users
> > >>>>
> > >>> _______________________________________________
> > >>> Instiki-users mailing list
> > >>> [email protected]
> > >>> http://rubyforge.org/mailman/listinfo/instiki-users
> > >>
> > >> _______________________________________________
> > >> Instiki-users mailing list
> > >> [email protected]
> > >> http://rubyforge.org/mailman/listinfo/instiki-users
> > >>
> > > _______________________________________________
> > > Instiki-users mailing list
> > > [email protected]
> > > http://rubyforge.org/mailman/listinfo/instiki-users
> >
> > _______________________________________________
> > Instiki-users mailing list
> > [email protected]
> > http://rubyforge.org/mailman/listinfo/instiki-users
> >
>
_______________________________________________
Instiki-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/instiki-users

Reply via email to