Re: [Radiant] Log error with Gallery
Anton Aylward wrote: MtnBiker said the following on 03/06/2009 09:25 PM: AFAIK these two gif's are associated with Gallery and in particular lightbox which Gallery uses. But they are buried here: /vendor/extensions/gallery/public/images/extensions/gallery/lightbox/closelabel.gif Ah, if that's the ONLY place they are then I suspect you have not fully installed the gallery. The rake for it should have copied that to /public/images/extensions/gallery/lightbox/closelabel.gif No, don't copy it by hand! Do the complete job and use the proper method. Use rake radiant:extensions:gallery:update I ran the rake and still get the same log error: Processing SiteController#show_page (for 96.229.227.87 at 2009-03-07 01:15:04) [GET] Parameters: {url=[assets, closelabel.gif], action=show_page, controller=site} Cookie set: session_token=5b3121382345e6c4fa87706ede7a1fa349ae310e; path=/; expires=Sat, 21 Mar 2009 09:15:04 GMT Completed in 550ms (DB: 50) | 404 Not Found [http://knobby.keeptherubbersidedown.com/assets/closelabel.gif] similar for loading.gif = I understand that I shouldn't be copying by hand, I did that as a stop gap. I figured there must be more wrong. Thanks I think something else is going on, but won't be able to look into it more until maybe tomorrow afternoon. -- View this message in context: http://www.nabble.com/Log-error-with-Gallery-tp22383765p22385762.html Sent from the Radiant - User (New) mailing list archive at Nabble.com. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Log error with Gallery
MtnBiker said the following on 03/07/2009 04:19 AM: Anton Aylward wrote: No, don't copy it by hand! Do the complete job and use the proper method. Use rake radiant:extensions:gallery:update I ran the rake and still get the same log error: What was the output of running rake? -- Last year I went fishing with Salvador Dali. He was using a dotted line. He caught every other fish. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Does Radiant use mechanize gem?
Hi. I have Radiant site on Dream Host and have local gem installation. When I do gem update it seems the mechanize gem is downloaded because Radiant requires it? The problem is the mechanize gem never successfully installs. I get the error message pasted below, and when I contacted DH support, they said they can't make libxslt available, that I would have to compile the mechanize gem for linux machine and upload it myself. But I do not have access to linux machine. Is there a way to get around / prevent the mechanize gem from getting stuck? Thanks. Ken -error message- [wolverine]$ gem update Updating installed gems Updating mechanize Building native extensions. This could take a while... ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError) ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb update checking for libxml/parser.h in /opt/local/include/,/opt/local/include/ libxml2,/usr/include/libxml2,/usr/include,/usr/local/include/libxml2,/ usr/include/libxml2... yes checking for libxslt/xslt.h in /opt/local/include/,/opt/local/include/ libxml2,/usr/include/libxml2,/usr/include,/usr/local/include/libxml2,/ usr/include/libxml2... no libxslt is missing. try 'port install libxslt' or 'yum install libxslt' *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby1.8 --with-xml2-dir --without-xml2-dir --with-xml2-include --without-xml2-include=${xml2-dir}/include --with-xml2-lib --without-xml2-lib=${xml2-dir}/lib --with-xslt-dir --without-xslt-dir --with-xslt-include --without-xslt-include=${xslt-dir}/include --with-xslt-lib --without-xslt-lib=${xslt-dir}/lib Gem files will remain installed in /home/kenhan/.gems/gems/ nokogiri-1.2.1 for inspection. Results logged to /home/kenhan/.gems/gems/nokogiri-1.2.1/ext/nokogiri/ gem_make.out ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Log error with Gallery
Anton Aylward wrote: MtnBiker said the following on 03/07/2009 04:19 AM: Anton Aylward wrote: No, don't copy it by hand! Do the complete job and use the proper method. Use rake radiant:extensions:gallery:update I ran the rake and still get the same log error: What was the output of running rake? Running rake the second time: rake radiant:extensions:gallery:update (in /home/ktrsd/knobby.keeptherubbersidedown.com/current) Copying /public/javascripts/extensions/gallery/lite_sortable.js... mkdir -p /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/javascripts/extensions/gallery cp /home/ktrsd/knobby.keeptherubbersidedown.com/current/vendor/extensions/gallery/public/javascripts/extensions/gallery/lite_sortable.js /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/javascripts/extensions/gallery/lite_sortable.js Copying /public/javascripts/extensions/gallery/slider.js... mkdir -p /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/javascripts/extensions/gallery cp /home/ktrsd/knobby.keeptherubbersidedown.com/current/vendor/extensions/gallery/public/javascripts/extensions/gallery/slider.js /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/javascripts/extensions/gallery/slider.js Copying /public/javascripts/extensions/gallery/builder.js... mkdir -p /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/javascripts/extensions/gallery cp /home/ktrsd/knobby.keeptherubbersidedown.com/current/vendor/extensions/gallery/public/javascripts/extensions/gallery/builder.js /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/javascripts/extensions/gallery/builder.js Copying /public/javascripts/extensions/gallery/lightbox.js... mkdir -p /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/javascripts/extensions/gallery cp /home/ktrsd/knobby.keeptherubbersidedown.com/current/vendor/extensions/gallery/public/javascripts/extensions/gallery/lightbox.js /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/javascripts/extensions/gallery/lightbox.js Copying /public/javascripts/extensions/gallery/gallery/panel.js... mkdir -p /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/javascripts/extensions/gallery/gallery cp /home/ktrsd/knobby.keeptherubbersidedown.com/current/vendor/extensions/gallery/public/javascripts/extensions/gallery/gallery/panel.js /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/javascripts/extensions/gallery/gallery/panel.js Copying /public/javascripts/extensions/gallery/gallery/tree.js... mkdir -p /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/javascripts/extensions/gallery/gallery cp /home/ktrsd/knobby.keeptherubbersidedown.com/current/vendor/extensions/gallery/public/javascripts/extensions/gallery/gallery/tree.js /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/javascripts/extensions/gallery/gallery/tree.js Copying /public/javascripts/extensions/gallery/gallery/edit_form.js... mkdir -p /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/javascripts/extensions/gallery/gallery cp /home/ktrsd/knobby.keeptherubbersidedown.com/current/vendor/extensions/gallery/public/javascripts/extensions/gallery/gallery/edit_form.js /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/javascripts/extensions/gallery/gallery/edit_form.js Copying /public/javascripts/extensions/gallery/gallery/zoom_slider.js... mkdir -p /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/javascripts/extensions/gallery/gallery cp /home/ktrsd/knobby.keeptherubbersidedown.com/current/vendor/extensions/gallery/public/javascripts/extensions/gallery/gallery/zoom_slider.js /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/javascripts/extensions/gallery/gallery/zoom_slider.js Copying /public/javascripts/extensions/gallery/gallery/utils.js... mkdir -p /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/javascripts/extensions/gallery/gallery cp /home/ktrsd/knobby.keeptherubbersidedown.com/current/vendor/extensions/gallery/public/javascripts/extensions/gallery/gallery/utils.js /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/javascripts/extensions/gallery/gallery/utils.js Copying /public/images/extensions/gallery/admin/reorder-children.png... mkdir -p /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/images/extensions/gallery/admin cp /home/ktrsd/knobby.keeptherubbersidedown.com/current/vendor/extensions/gallery/public/images/extensions/gallery/admin/reorder-children.png /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/images/extensions/gallery/admin/reorder-children.png Copying /public/images/extensions/gallery/admin/edit.png... mkdir -p /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/images/extensions/gallery/admin cp /home/ktrsd/knobby.keeptherubbersidedown.com/current/vendor/extensions/gallery/public/images/extensions/gallery/admin/edit.png /home/ktrsd/knobby.keeptherubbersidedown.com/current/public/images/extensions/gallery/admin/edit.png
Re: [Radiant] Log error with Gallery
There may be something else going on here. I had three subdomains trying different radiant installations: One was test.keeptherubbersidedown.com WITHOUT gallery installed and I get this in my log SOMETIMES Processing SiteController#show_page (for 96.229.227.87 at 2009-03-06 17:46:07) [GET] Parameters: {url=[assets, closelabel.gif], action=show_page, controller=site} Completed in 293ms (DB: 47) | 404 Not Found [http://test.keeptherubbersidedown.com/assets/closelabel.gif] = I know a bit more now and think I should start over again. But not sure how far to roll it back, meaning are my subdomains getting confused with each other or cross the databases because I copied the database.yml. I definitely have separate databases now, but in one of my several iterations might not have. Thanks for your help Anton and hope I haven't run anyone through a useless exercise, but I am learning. -- View this message in context: http://www.nabble.com/Log-error-with-Gallery-tp22383765p22388905.html Sent from the Radiant - User (New) mailing list archive at Nabble.com. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Installing Radiant with Gallery at Dreamhost
I've been having problems with my installation (see my posts of the last week) and am going to start over again. Here's what I plan to do. Is this correct: 1. Set up subdomain with Passenger and add /current/public to web directory path 2. Set up MySQL database. Only production 3. SSH to subdomain and run the following git clone git://github.com/radiant/radiant.git rename folder radiant to current (I may do this in an ftp client) create database.yml and make sure to add host: mysql.mydomain.com (I may do this in an ftp client and text editor) rake production db:bootstrap cd current git clone git://github.com/technoweenie/attachment_fu.git vendor/plugins/attachment_fu git clone git://github.com/pilu/radiant-gallery.git vendor/extensions/gallery rake RAILS_ENV=production radiant:extensions:gallery:install (select option 2 for Toaster) Thanks for any comments. -- View this message in context: http://www.nabble.com/Installing-Radiant-with-Gallery-at-Dreamhost-tp22389489p22389489.html Sent from the Radiant - User (New) mailing list archive at Nabble.com. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Using Environment Variables
I have a staging and production site using Radiant. I would like to clearly show that the site I am looking at is the staging site. I know via the rails environment variable that I am running staging (or production). Its easy to check the variable in rails, but is there an easy way in radiant to do something like IF Environment is staging THEN display staging ELSE display nothing END ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Does Radiant use mechanize gem?
Ken, No, Radiant does not require mechanize, but you might have something installed that requires it? Sean K H wrote: Hi. I have Radiant site on Dream Host and have local gem installation. When I do gem update it seems the mechanize gem is downloaded because Radiant requires it? The problem is the mechanize gem never successfully installs. I get the error message pasted below, and when I contacted DH support, they said they can't make libxslt available, that I would have to compile the mechanize gem for linux machine and upload it myself. But I do not have access to linux machine. Is there a way to get around / prevent the mechanize gem from getting stuck? Thanks. Ken -error message- [wolverine]$ gem update Updating installed gems Updating mechanize Building native extensions. This could take a while... ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError) ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb update checking for libxml/parser.h in /opt/local/include/,/opt/local/include/libxml2,/usr/include/libxml2,/usr/include,/usr/local/include/libxml2,/usr/include/libxml2... yes checking for libxslt/xslt.h in /opt/local/include/,/opt/local/include/libxml2,/usr/include/libxml2,/usr/include,/usr/local/include/libxml2,/usr/include/libxml2... no libxslt is missing. try 'port install libxslt' or 'yum install libxslt' *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby1.8 --with-xml2-dir --without-xml2-dir --with-xml2-include --without-xml2-include=${xml2-dir}/include --with-xml2-lib --without-xml2-lib=${xml2-dir}/lib --with-xslt-dir --without-xslt-dir --with-xslt-include --without-xslt-include=${xslt-dir}/include --with-xslt-lib --without-xslt-lib=${xslt-dir}/lib Gem files will remain installed in /home/kenhan/.gems/gems/nokogiri-1.2.1 for inspection. Results logged to /home/kenhan/.gems/gems/nokogiri-1.2.1/ext/nokogiri/gem_make.out ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Using Environment Variables
If you have two databases - one for staging and one for production - you can change the 'admin.title' and 'admin.subtitle' Radiant::Config properties in those respective databases. Example: $ script/console staging Radiant::Config['admin.subtitle'] = STAGING ENVIRONMENT exit Sean Tony Davis wrote: I have a staging and production site using Radiant. I would like to clearly show that the site I am looking at is the staging site. I know via the rails environment variable that I am running staging (or production). Its easy to check the variable in rails, but is there an easy way in radiant to do something like IF Environment is staging THEN display staging ELSE display nothing END ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Installing Radiant with Gallery at Dreamhost
Replying to self since I had some typos in the original which I corrected. As I noted there, I still get the missing gif error, so something is wrong with my procedure Here are my notes from the installation. http://radgall.keeptherubbersidedown.com/installation.txt http://radgall.keeptherubbersidedown.com/installation.txt This includes all feedback from the installation. I'm trying to follow http://github.com/pilu/radiant-gallery/tree/master http://github.com/pilu/radiant-gallery/tree/master installation instructions for Gallery Thank you for any help. -- View this message in context: http://www.nabble.com/Installing-Radiant-with-Gallery-at-Dreamhost-tp22389489p22392096.html Sent from the Radiant - User (New) mailing list archive at Nabble.com. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant