Recent Posts by nkay

Subscribe to Recent Posts by nkay 8 posts found

posted 9 years ago
nkay 8 posts

Forum: Instiki – Topic: Instiki hyperlinks failures

Thanks for the response. Unfortunately the same error occurs. I have tried many different syntax’s each resulting the same error.

I did figure out that if I tried to upload a file into instiki (which automatically creates a ‘files’ folder in the Webs directory, and moved the html file to the newly created ‘files’ folder and update the code I can get it to not error out. If I create additional folders nested in the ‘files’ folder than it errors back out. I checked permissions on the folders and everything is fine.

I guess also a functionality thing I noticed is that if you click on the hyperlink to an local hosted html page. Instiki calls up a download box within the browser and asks the user if they want to save the html file locally, instead of actually opening the page within the browser as an actual webpage. Is this an issue or just how instiki displays local html files?

 
posted 9 years ago
nkay 8 posts

edited 9 years ago

Forum: Instiki – Topic: Instiki hyperlinks failures

I am having an issues with hyperlinks with our WIKI page using the textile markup. Hyperlinks to external webpages work eg. “www.google.com” but any internal html pages within the instiki filesystem end up getting application errors.
We have a folder inside the main Web folder called Wiki_files which has many different HTML files but if we link to any of them e.g…

“Environment Configuration”:http://acesrep:2500/aces/wiki_files/environments/AcesEnvironments.html)

I receive “Internal Error” An application error occurred while processing your request. Looking at the source of the page I get these dumps.

(d:/instiki-0.19.6/vendor/rails/actionpack/lib/action_controller/base.rb:1339:in perform_action' d:/instiki-0.19.6/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in call_filters’ d:/instiki-0.19.6/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in block in run_before_filters' d:/instiki-0.19.6/vendor/rails/actionpack/lib/action_controller/filters.rb:206:in call’ d:/instiki-0.19.6/vendor/rails/actionpack/lib/action_controller/filters.rb:206:in block in around_proc' d:/instiki-d:/0.19.6/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in call’ d:/instiki-0.19.6/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in evaluate_method' d:/instiki-0.19.6/vendor/rails/actionpack/lib/action_controller/filters.rb:184:in call’ d:/instiki-0.19.6/vendor/rails/actionpack/lib/action_controller/filters.rb:635:in run_before_filters' d:/instiki-0.19.6/vendor/rails/actionpack/lib/action_controller/filters.rb:615:in call_filters’ d:/instiki-0.19.6/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `block in run_before_filters')


If I open up the HTML document within the server itself it works fine but not as a link through instiki wiki.

 
posted almost 11 years ago
nkay 8 posts

Forum: Instiki – Topic: Windows installation not working

I got it working! YIPPIE! I had to do a complete reinstall with a different version of ruby and devkit.

So any tips on migrating an already running wiki on a different server? I see Instiki created a “WEBS” folder which includes a folder with the name of the wiki. Does everything belong in the folder where the name of the file is ie. “ACES” or does it stay in the “WEBS” folder.

 
posted almost 11 years ago
nkay 8 posts

edited almost 11 years ago

Forum: Instiki – Topic: Windows installation not working

Well im writing up simple documentation as i figure things out one at a time. I can send it too you if you want once everything is up and running.

Yes, if i run the command “bundle install –path vendor/bundle” when it gets to the Fetching source index for Rubygems etc on where it reads the gemfile it will always stop on a gem name saying it cannot find the gem gemname <>=version in any of the gem sources listed in your Gemfile.
If i manually type in Gem install gem name it will work. I have a feeling its the syntax or something inside the gemfile. I had to do the same for Rake and itextomml. Which brings me up to another issue i ran into.

Im getting an error when trying to install itextomml… Im wondering if its maybe the version of ruby i have installed or something. Something with the timezone.


(Building native extensions. This could take a while… ERROR: Error installing itextomml: ERROR: Failed to build gem native extension. C:/Ruby187/bin/ruby.exe extconf.rb creating Makefile

make gcc -I. -I/C/Ruby187/lib/ruby/1.8/i386-mingw32 -I/C/Ruby187/lib/ruby/1.8/i386-mingw32 -I. -g -O2 -DFD_SETSIZE=256 -Ditex2MML_CAPTURE -c itex2MML ruby.c In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:755:0, from itex2MML_ruby.c:832: c:/Ruby187/lib/ruby/1.8/i386-mingw32/missing.h:29:8: error: redefinition of ‘struct timezone’ In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:57:0, from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186, from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37, from itex2MML_ruby.c:832: c:\rubydevkit\mingw\bin../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/time.h:260:8: note: originally defined here make: *** [itex2MML_ruby.o] Error 1)

 
posted almost 11 years ago
nkay 8 posts

edited almost 11 years ago

Forum: Instiki – Topic: Windows installation not working

Thanks for the response.. I have installed sqlite3 per your direction and looks like it has passed the sqlite3 portion of the install.. However looks like every gem listed on the gem file i have to install manually including “rake, nokogiri, and itextomml” however im getting errors now with itextomml so that would be a bit to troubleshoot.

Never had so much trouble for something that is supposed to be so simple.. ugh..

 
posted almost 11 years ago
nkay 8 posts

edited almost 11 years ago

Forum: Instiki – Topic: Windows installation not working

thanks for the reply. I currently have Ruby 1.8.7-p371 installed with the dev kit.

So are you saying i need to download and install that package then attempt to run “ruby bundle install –path vendor/bundle” again?

Im completly new to everything here.. I have aquired this outdated windows server that i had to upgrade to 2008r2. A week ago i just learned what ruby is so you really have to bear with me.

How does this installation work? What i gather you use “GIT” to download all the packages or i think bundles is the term and then ruby installs them on the system? If thats the case, then my problem is when ruby is tries downloading the package from rubygems.org repository as it cant locate sqlite3. Even though i could manually go to the rubygems website and locate sqlite3.

Could i download this manually from rubygems.org and maybe install it?

 
posted almost 11 years ago
nkay 8 posts

edited almost 11 years ago

Forum: Instiki – Topic: Windows installation not working

I have figured out the above error.. however, now i recieve an error from the gemfile when trying to download the bundles:

D:\instiki-0.19.6>ruby bundle install –path vendor/bundle Updating http://github.com/distler/file_signature.git Updating http://github.com/distler/maruku.git Fetching source index for http://rubygems.org/ Could not reach rubygems repository http://rubygems.org/ Could not find gem ‘sqlite3 (>= 0)’ in any of the gem sources listed in your Gemfi

It cant find sqlite3 in the repository however if i try to modify the gemfile in anyway and give sqlite3 a version number or somthing i receive an syntax error. How should I contruct the gemfile and maybe force it to find the specific version thats in rubygems.org

This is the sqlite portion of the gemfile now:

“source “http://rubygems.org”gem “sqlite3”, :require => “sqlite3”

If i follow the syntax from the other bundles ie.. :require => “sqlite3” , “~> 1.3.7”

 
posted almost 11 years ago
nkay 8 posts

Forum: Instiki – Topic: Windows installation not working

Im trying to migrate an existing wiki running on a old outdated server onto a new 2008 r2 x64 server. I have installed Ruby 1.9.3 onto the new computer and ran the Ruby bundle install –path vendor/bundle command as stated on the website however it looks like im getting a no such file or directory. I have verified that the source.rb file is located in the correct location.


D:\instiki-0.19.6\instiki-0.19.6>ruby bundle install –path vendor/bundle Fetching http://github.com/distler/file_signature.git D:/instiki-0.19.6/instiki-0.19.6/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/source.rb:57 8:in “’: No such file or directory - git clone “http://github.com/distler/file_signature.git” “D:/i nstiki-0.19.6/instiki-0.19.6/vendor/bundle/ruby/1.9.1/cache/bundler/git/file_signature-9e3f3d6fbf544 b2242ffca379f5f61bb2971e94e” –bare –no-hardlinks (Errno::ENOENT)


Also If there is any documentation or help on migrating the old wiki to the new server would be great.