On Jul 26, 2005, at 12:51 PM, Robin Bowes wrote:

> Tobias Luetke wrote:
>
>>> That'll work for one fastcgi instance, but what about all of the
>>> others?  I don't think we have any way to communicate between them.
>>>
>> Doh, you are right. Well we can tell the user to restart the web
>> server in big and fat letters after a migration run.
>>
>
> As I pointed out in a previous reply, that's going to seriously  
> affect how easy it is to use typo in a shared hosting environment.

You don't actually need to restart apache, just the dispatch.fcgi  
processes that belong to you.  That shouldn't be a big deal in most  
shared environments.


Scott
From scott at sigkill.org  Tue Jul 26 16:03:10 2005
From: scott at sigkill.org (Scott Laird)
Date: Tue Jul 26 15:57:38 2005
Subject: [typo] I only get the admin interface
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>


On Jul 26, 2005, at 12:56 PM, Patrick Lenz wrote:
> On Jul 26, 2005, at 12:21 PM, Urban Hafner wrote:
>> And another thing: It seems like the subtitle is of fixed length,
>> because my subtitle is truncated. So it would be nice if either  
>> the the
>> text field in the admin pane where you type in your subtitle was  
>> fixed
>> length, too or you'd remove that limit altogether.
>>
>
> The limit should be 255 chars at max, what are you seeing? If  
> you're seeing anything less than that, please open a ticket via  
> http://typo.leetsoft.com/

The MySQL schema limited subtitles (and other config variables) to 40  
characters until [441].  You should be able to fix it on the fly with  
an 'alter table' command.


Scott
From robin-lists at robinbowes.com  Tue Jul 26 16:20:16 2005
From: robin-lists at robinbowes.com (Robin Bowes)
Date: Tue Jul 26 16:14:31 2005
Subject: [typo] Upgade errors
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>     <[EMAIL PROTECTED]>     
<[EMAIL PROTECTED]>     <[EMAIL PROTECTED]>     <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

Scott Laird wrote:
> 
> On Jul 26, 2005, at 12:51 PM, Robin Bowes wrote:
>>
>> As I pointed out in a previous reply, that's going to seriously  
>> affect how easy it is to use typo in a shared hosting environment.
> 
> 
> You don't actually need to restart apache, just the dispatch.fcgi  
> processes that belong to you.  That shouldn't be a big deal in most  
> shared environments.

OK, how does that work? I run typo on my own server at home and have 
fastcgi processes defined in httpd.conf (apache2).

How would I set things up to allow non-privileged users to control 
fastcgi processes?

R.

-- 
http://robinbowes.com

If a man speaks in a forest,
and his wife's not there,
is he still wrong?
From kevin at sb.org  Tue Jul 26 16:49:48 2005
From: kevin at sb.org (Kevin Ballard)
Date: Tue Jul 26 16:45:25 2005
Subject: [typo] Upgade errors
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>     <[EMAIL PROTECTED]>     
<[EMAIL PROTECTED]>     <[EMAIL PROTECTED]>     <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

Run the fastcgi process as the user who owns it.

I'm running Typo on DreamHost, and it runs the fastcgi processes as  
my user, so I can just go ahead and kill the processes (or, more  
nicely, tell it to restart with, IIRC, USR1) pretty easily.

On Jul 26, 2005, at 4:20 PM, Robin Bowes wrote:

> OK, how does that work? I run typo on my own server at home and  
> have fastcgi processes defined in httpd.conf (apache2).
>
> How would I set things up to allow non-privileged users to control  
> fastcgi processes?

-- 
Kevin Ballard
[EMAIL PROTECTED]
http://www.tildesoft.com
http://kevin.sb.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2378 bytes
Desc: not available
Url : 
http://rubyforge.org/pipermail/typo-list/attachments/20050726/c67f17af/smime-0001.bin
From trejkaz at trypticon.org  Tue Jul 26 17:46:11 2005
From: trejkaz at trypticon.org (Trejkaz)
Date: Tue Jul 26 17:37:55 2005
Subject: [typo] .htaccess or custom dispatcher
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

On Wed, 27 Jul 2005 02:08, Rahul Dave wrote:
> Hi,
> The .htaccess trick to match old files or rewrite works for regular
> files only, as one might expect. I'm switching over to Typo from Radio
> Userland and then Blogger, so I have a bunch of directories with old
> archives I'd like to access which are below /. The trouble with adding
> a -d rule to the RewriteRule's is that it matches / itself. Is there a
> way to do this at the .htaccess level itself (I dont seem to be
> permitted ScriptAlias's unfortunately) or is the way to go the writing
> of a custom controller to match specific directories and spit out html
> (or suitably redirect to a moved set of archival directories..)
> Rahul

I'm not exactly sure what you're after, but I usually use a "^$" rule right up 
the top of the list to match the root, if I want it to have different 
behaviour from the rules it matches below.

TX

-- 
             Email: Trejkaz Xaoza <[EMAIL PROTECTED]>
          Web site: http://trypticon.org/
         Jabber ID: [EMAIL PROTECTED]
   GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F  A62C B8C7 BC8B 037E EA73
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://rubyforge.org/pipermail/typo-list/attachments/20050727/e435c8f8/attachment.bin
From trejkaz at trypticon.org  Tue Jul 26 23:44:56 2005
From: trejkaz at trypticon.org (Trejkaz)
Date: Tue Jul 26 23:40:08 2005
Subject: [typo] I only get the admin interface
Message-ID: <[EMAIL PROTECTED]>

I'm getting a similar issue as the original poster on this thread after moving
to the version in the SVN repository.  It always redirects to the admin screen
no matter what.

There is a small difference though...

> You need to save your general settings once and then pick 'activate'
> in the themes admin next to the only available theme 'azure' to make
> sure your blog has all the settings it needs. We're working on a more
> friendly solution here.

In my case, I've saved all my general settings, and the theme is already marked
as active (thus, no "activate" link appears, so I can't fix it.)

Which way out from here? :-)

TX


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
From scott at sigkill.org  Tue Jul 26 23:50:40 2005
From: scott at sigkill.org (Scott Laird)
Date: Tue Jul 26 23:45:07 2005
Subject: [typo] I only get the admin interface
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>


On Jul 26, 2005, at 8:44 PM, Trejkaz wrote:

> I'm getting a similar issue as the original poster on this thread  
> after moving
> to the version in the SVN repository.  It always redirects to the  
> admin screen
> no matter what.
>
> There is a small difference though...
>
>
>> You need to save your general settings once and then pick 'activate'
>> in the themes admin next to the only available theme 'azure' to make
>> sure your blog has all the settings it needs. We're working on a more
>> friendly solution here.
>>
>
> In my case, I've saved all my general settings, and the theme is  
> already marked
> as active (thus, no "activate" link appears, so I can't fix it.)
>
> Which way out from here? :-)

I just tried to duplicate this and failed--I set up a new DB with the  
2.0.6 schema and immediately upgraded to trunk without problems.  I  
had to run 'rake migrate', not use the built-in migration tool, but I  
was able to set the theme without problems.

Can you look in your settings DB table and see if there's an entry  
for 'theme'?


Scott
From kevin at sb.org  Tue Jul 26 23:52:28 2005
From: kevin at sb.org (Kevin Ballard)
Date: Tue Jul 26 23:48:08 2005
Subject: [typo] I only get the admin interface
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

The issue is that the active theme now actually says "(Active theme)"  
instead of having an "Activate" link, but the active theme is active  
by default, not because it's set that way in the settings table. And  
the lack of a stored setting for this causes the admin redirect.

Until this bug is fixed, simply visit http://domain:port/admin/themes/ 
switchto?theme=azure (replacing domain and port, obviously) to save  
the theme setting to the db and end the redirect.

On Jul 26, 2005, at 11:44 PM, Trejkaz wrote:

> In my case, I've saved all my general settings, and the theme is  
> already marked
> as active (thus, no "activate" link appears, so I can't fix it.)
>
> Which way out from here? :-)

-- 
Kevin Ballard
[EMAIL PROTECTED]
http://www.tildesoft.com
http://kevin.sb.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2378 bytes
Desc: not available
Url : 
http://rubyforge.org/pipermail/typo-list/attachments/20050726/670977b9/smime.bin
From trejkaz at trypticon.org  Wed Jul 27 00:02:08 2005
From: trejkaz at trypticon.org (Trejkaz)
Date: Tue Jul 26 23:57:12 2005
Subject: [typo] I only get the admin interface
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

Quoting Kevin Ballard <[EMAIL PROTECTED]>:
> Until this bug is fixed, simply visit 
> http://domain:port/admin/themes/ switchto?theme=azure (replacing 
> domain and port, obviously) to save  the theme setting to the db and 
> end the redirect.

Thanks for that, problem solved.

A lot of these new admin features are so neat that it's a shame they're only
visible to the admins. :-)

TX


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Reply via email to