[Radiant] Re: Update Task accidentally run twice (Page Attachments error)

2008-05-05 Thread Ben Morrow
 Do you have other extensions installed that use atachment_fu such as the
 gallery extension?

Yes indeed. Could that be the cause of the conflict?
-- 
Posted via http://www.ruby-forum.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] Re: Re: Update Task accidentally run twice (Page Attachments error)

2008-05-05 Thread Andrea Franz
On Mon, May 5, 2008 at 2:34 PM, Ben Morrow [EMAIL PROTECTED] wrote:

 But, if that was the cause, then anyone using Page Attachments and
 Gallery should have the error. If you have both installed, do you see
 that message (already initialized constant FLAGS) when you start the
 server?

 Thanks for working with me on this one Andrea, I appreciate it!



What version of radiant,  gallery and page_attachmens are you using? Latest
for all?

-- 
Andrea Franz
http://gravityblast.com - http://nimboo.net
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Upgrading Gallery Extension

2008-05-05 Thread Marshal Linfoot
I'm currently using Andrea Franz's amazing Gallery extension, version
0.7.6, and would like to upgrade to his latest 0.7.10 version. Would I
use the same procedure as installing it the first time or is there a
different upgrade procedure? I don't want to lose the existing
galleries...

Thanks for any pointers.
-- 
marshal
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Re: Re: Re: Update Task accidentally run twice (Page Attachments error)

2008-05-05 Thread Ben Morrow
Did some more testing, this is interesting...

I created a new Radiant project with a new database. I then
installed the Page Attachments extension (and only that extension). I
started the server.

I see the same error messages:

\deletemeruby script/server -e production
= Booting Mongrel (use 'script/server webrick' to force WEBrick)
= Rails application starting on http://0.0.0.0:3000
= Call with -d to detach
= Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with production environment...
/deleteme/vendor/extensions/page_attachments/lib/geometry.rb:6: warning:
already initialized constant FLAGS
/deleteme/vendor/extensions/page_attachments/lib/geometry.rb:11:
warning: already initialized constant RFLAGS
/deleteme/vendor/extensions/page_attachments/lib/geometry.rb:28:
warning: already initialized constant RE
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready.  INT = stop (no restart).
** Mongrel 1.1.2 available at 0.0.0.0:3000
** Use CTRL-C to stop.
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Re: Radiant 0.6.6 - environment.rb changes

2008-05-05 Thread Arik Jones
No it will use the version that you declare using RADIANT_GEM_VERSION

David Piehler wrote:
 Quick question: The default Radiant 0.6.6 environment.rb file no longer
 contains the RADIANT_GEM_VERSION = '0.6.6' flag. Is this flag still
 usable, or will Radiant default to using the newest gem regardless?
 
 Thanks,
 - Dave

-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Haloscan API ?

2008-05-05 Thread Arik Jones
Is there an API for HaloScan?
-- 
Posted via http://www.ruby-forum.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] Mailer extension problem with redirect

2008-05-05 Thread [EMAIL PROTECTED]
Nikos Delibaltadakis schrieb:
 I installed the mailer extension with radiant 0.6.6.
 (I followed more or less the wiki HOWTO), on my site
 which is hosted in railsplayground with fastcgi.

 The extension sends the message properly, however in:
 1) Firefox: displays a message you are being redirected, with redirected
 being a link with the redirection page, set in config. The redirection
 doesnt occur automatically but only by pressing the link.
 2) IE 7: displays a 500 error page (message, as i already mentioned, is
 being send properly)

 is this some common problem due to misconfiguration?


 thank you
 Nikos Delibaltadakis
 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
   
Unfortunately I have no time to test the following code with the mailer
extension but
I had a similar problem in an extension that I am actualy developing.

Does anyone with this problem in the mailer extension can change the
line 30 in mailer_page.rb from

response.redirect(form_conf[:redirect_to], :status = 302)

to

response.redirect(form_conf[:redirect_to], 302 Found)

and tell whether it works?
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Alternate extension paths

2008-05-05 Thread Arik Jones
How do I load additional extension load paths that are possibly located
somewhere else on my server? Is that even possible?
-- 
Posted via http://www.ruby-forum.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] Mailer extension problem with redirect

2008-05-05 Thread Nikos Delibaltadakis
I did exactly this, changed it to
response.redirect(form_conf[:redirect_to], 302)
and it worked.

On Mon, May 5, 2008 at 11:36 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:

 Nikos Delibaltadakis schrieb:
  I installed the mailer extension with radiant 0.6.6.
  (I followed more or less the wiki HOWTO), on my site
  which is hosted in railsplayground with fastcgi.
 
  The extension sends the message properly, however in:
  1) Firefox: displays a message you are being redirected, with
 redirected
  being a link with the redirection page, set in config. The redirection
  doesnt occur automatically but only by pressing the link.
  2) IE 7: displays a 500 error page (message, as i already mentioned, is
  being send properly)
 
  is this some common problem due to misconfiguration?
 
 
  thank you
  Nikos Delibaltadakis
  ___
  Radiant mailing list
  Post:   Radiant@radiantcms.org
  Search: http://radiantcms.org/mailing-list/search/
  Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
 
 Unfortunately I have no time to test the following code with the mailer
 extension but
 I had a similar problem in an extension that I am actualy developing.

 Does anyone with this problem in the mailer extension can change the
 line 30 in mailer_page.rb from

 response.redirect(form_conf[:redirect_to], :status = 302)

 to

 response.redirect(form_conf[:redirect_to], 302 Found)

 and tell whether it works?

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Alternate extension paths

2008-05-05 Thread Sean Cribbs

Arik,

By default, Radiant uses extension paths from your project and from the 
Radiant source (either in vendor or the gem).  To add a path to be 
searched for extensions, add this line inside the initialization block 
in config/environment.rb:


config.extension_paths  /path/to/your/extensions

Subdirectories of that path will be searched for extensions.

Sean

Arik Jones wrote:

How do I load additional extension load paths that are possibly located
somewhere else on my server? Is that even possible?
  


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Upgrading Gallery Extension

2008-05-05 Thread Marshal Linfoot
YIKES! Following the instructions for installing the Gallery extension
I did the following:

 cd vendor/extensions
 git clone git://github.com/pilu/radiant-gallery.git gallery

and got a message that git-clone would not overwrite an existing
directory (a good thing!). So I ran this instead:

 git clone git://github.com/pilu/radiant-gallery.git gallery2

creating a new directory, gallery2, and the whole website stopped
functioning with a server temporarily busy message. Restarted
LiteSpeed - no change. No errors in the LiteSpeed logs. Moved the new
gallery2 dir out of the way, restarted LiteSpeed and everything back
to normal. Whew!

Thinking it was permissions problems on gallery2, I changed them all
to match the working gallery. Moved gallery2 back into
vendor/extensions and same thing all over again.

I'm stuck now, unsure of how to upgrade. But I suspect something like:

 disable current gallery from the main admin page
 move gallery dir out of vendor/extensions
 move gallery2 into vendor/extensions and rename to gallery
 run the rake install task
 restart LiteSpeed

Anyone successfully upgraded? What did you do, am I on the right track?

On Mon, May 5, 2008 at 12:40 PM, Andrea Franz [EMAIL PROTECTED] wrote:

 On Mon, May 5, 2008 at 6:17 PM, Marshal Linfoot [EMAIL PROTECTED] wrote:

   I'm currently using Andrea Franz's amazing Gallery extension, version
   0.7.6, and would like to upgrade to his latest 0.7.10 version. Would I
   use the same procedure as installing it the first time or is there a
   different upgrade procedure? I don't want to lose the existing
   galleries...
  
   Thanks for any pointers.


  You can launch the radiant:extensions:gallery:install task.
  This will trigger the migrations and it will upgrade the public files
  without deleting anything from the db.

  --
  Andrea Franz
  http://gravityblast.com - http://nimboo.net
  ___
  Radiant mailing list
  Post:   Radiant@radiantcms.org
  Search: http://radiantcms.org/mailing-list/search/
  Site:   http://lists.radiantcms.org/mailman/listinfo/radiant




-- 
marshal
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Upgrading Gallery Extension

2008-05-05 Thread Andrea Franz
On Tue, May 6, 2008 at 12:22 AM, Marshal Linfoot [EMAIL PROTECTED] wrote:

 YIKES! Following the instructions for installing the Gallery extension
 I did the following:

  cd vendor/extensions
  git clone git://github.com/pilu/radiant-gallery.git gallery

 and got a message that git-clone would not overwrite an existing
 directory (a good thing!). So I ran this instead:

  git clone git://github.com/pilu/radiant-gallery.git gallery2


You can go in the gallery extension dir and simply type: git pull.Otherwise
you can remove the gallery folder and clone the new gallery from github.
Then restart the server.

creating a new directory, gallery2, and the whole website stopped
 functioning with a server temporarily busy message. Restarted
 LiteSpeed - no change. No errors in the LiteSpeed logs. Moved the new
 gallery2 dir out of the way, restarted LiteSpeed and everything back
 to normal. Whew!


I think because you can't have 2 gallery extension, even if you renamed the
folder to gallery2.
Remove the old gallery, and check out the new one. It should work. Let me
know!


-- 
Andrea Franz
http://gravityblast.com - http://nimboo.net
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant