[TYPO3] ownership of uploads/

Cedric Sam cedric.sam at savoirfairelinux.com
Mon Aug 21 21:59:04 CEST 2006


Thank you Christopher,

I found my problem. It was simply because the php.ini disallow file copy...

-Cedric

typo3-english-request at lists.netfielders.de wrote:
> Send TYPO3-english mailing list submissions to
> 	typo3-english at lists.netfielders.de
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> or, via email, send a message with subject or body 'help' to
> 	typo3-english-request at lists.netfielders.de
> 
> You can reach the person managing the list at
> 	typo3-english-owner at lists.netfielders.de
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of TYPO3-english digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Setting a shortcut dynamicly (PEF)
>    2. ownership of uploads/ (Cedric Sam)
>    3. Re: HMENU and TMENU help please (Christopher)
>    4. Re: ownership of uploads/ (Christopher)
>    5. Re: Setting a shortcut dynamicly (Tyler Kraft)
>    6.  position of images (Stanislav Rusn?k)
>    7. GifBuilder and letter-spacing (LaPointe, Matthew)
>    8. Re: Setting a shortcut dynamicly (Bernd Wilke)
>    9.  EXT module link to List???? (Aji Johannes)
>   10.  Template not in module list for creating backend group? (Bing Du)
>   11. Re: Template not in module list for creating backend group?
>       (Christopher)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 21 Aug 2006 16:49:56 +0200
> From: PEF <xx at xx.xx>
> Subject: Re: [TYPO3] Setting a shortcut dynamicly
> To: typo3-english at lists.netfielders.de
> Message-ID:
> 	<mailman.1.1156171794.4794.typo3-english at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Hi Tyler.
> 
> This might do it! I just have to figure out how to do it the most 
> elegant way.
> 
> Thanks
> Peter
> 
> 
> 
> Tyler Kraft wrote:
>> set up two shortcut pages and using ts conditions just remove them from 
>> the dynamic menu using the HMENU excludeUID property
>>
>> hth
>>
>>
>>
>> PEF wrote:
>>> Hi
>>>
>>> In my menu I have a shortcut that points to a subpage. On certain 
>>> conditions I want to points this shortcut to another subpage. The 
>>> reason for <this is, that when conditions are met, the first page will 
>>> be hidden. In state one both pages are visible.
>>>
>>> I've tried to change the shortcut through php, by setting the shortcut 
>>> parameter for this item in $menuArr. But without luck.
>>>
>>> Is it possible to change a shortcut dynamicaly? Or is there another 
>>> way of doing this, that I haven't been aware of?
>>>
>>> Shortcut
>>> --- condition 1
>>> --- condition 2
>>>
>>> Just in case.... I know that the problem would be solved by setting 
>>> the shortcut to the second page from the beginning. And this could of 
>>> course be the final solution.
>>>
>>> Bye
>>> Peter
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 21 Aug 2006 11:30:55 -0400
> From: Cedric Sam <cedric.sam at savoirfairelinux.com>
> Subject: [TYPO3] ownership of uploads/
> To: typo3-english at lists.netfielders.de
> Message-ID:
> 	<mailman.7139.1156174238.24118.typo3-english at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Dear list,
> 
> I am having errors when the backend attempts to copy files to the 
> uploads/ directory. I inspected the ownership of the folder, and it is 
> belonging to the local user. However, even with rights set to 777, I am 
> getting errors:
> 
> 1: Copying file 
> '/home/intranet/public_html/fileadmin/templates/latestnews.htm' failed!: 
> The destination path (/home/intranet/public_html/uploads/tx_ttnews) may 
> be write protected. Please make it write enabled!. 
> (tt_content:463:pi_flexform)
> 
> Anyone has seen this before? Also, the user running the webserver is 
> "nobody". I don't have access to root to change ownerships, etc, 
> obviously...
> 
> Thanks,
> 
> -Cedric
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Mon, 21 Aug 2006 09:17:31 -0700
> From: Christopher <bedlamhotel at gmail.com>
> Subject: Re: [TYPO3] HMENU and TMENU help please
> To: "TYPO3 English" <typo3-english at lists.netfielders.de>
> Message-ID:
> 	<mailman.7153.1156177054.24118.typo3-english at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Hello again,
> 
> On 8/21/06, Bryan <support at chillifactory.co.za> wrote:
> 
> <snip>
> 
>> thank you very much for your input, and yes using Joey's method would be
>> the best, but I'm still learning here and having some difficulties. The
>> entire site must be dynamic, and that is the purpose of using Typo3. So
>> in using your TS above/below with some mods, would help. But I'm not
>> that clued up on TS yet. What would I have to enter into my HTML
>> template to populate it with dynamic TS. I've entered your TS above into
>> my menu cOject extension, which my Menu template calls, but I get
>> nothing. Here below is what I've got: (PS sorry if its a bit long)
>>
>> # Configuring the Auto-Parser for main template:
>> plugin.tx_automaketemplate_pi1 {
>>   content = FILE
>>   content.file = fileadmin/template/main.htm
>>   elements {
>>     BODY.all = 1
>>     BODY.all.subpartMarker = DOCUMENT_BODY
>> # Main TEMPLATE cObject for the BODY
>> temp.mainTemplate = TEMPLATE
>> temp.mainTemplate {
>>   template =< plugin.tx_automaketemplate_pi1
>>   workOnSubpart = DOCUMENT_BODY
>>
>>     # Substitute the ###product_menu### subpart with dynamic menu:
>>   subparts.product_menu < temp.products
>>
>>     # Substitute the ###content### subpart with some example content:
>>   subparts.content < styles.content.get
>> }
>>
>>
>> # Default PAGE object:
>> page = PAGE
>> page.typeNum = 0
>>
>> # Copying the content from TEMPLATE for <body>-section:
>> page.10 < temp.mainTemplate
>>
>> # Menu products (navigation)
>> lib.navigation = COA
>> lib.navigation {
>>  wrap = <div id="navigation">|</div>
>>
>>  5 = HTML
>>  5 {
>>    value = More Products
>>    value.wrap = <h3>|</h3>
>>  }
>>
>>  10 = HMENU
>>  10 {
>>    1 = TMENU
>>    1 {
>>      noBlur = 1
>>
>>      NO {
>>        wrapItemAndSub = <li>|</li>
>>      }
>>
>>      ACT = 1
>>      ACT < .NO
>>      ACT.wrapItemAndSub = <li class="current">|</li>
>>    }
>>  }
>> }
> 
> Well, you haven't added the new TS to your template just by adding it
> to your template if you know what I mean :-)
> 
> Have a look at (or revisit) the MTB tutorial [1]. You basically need a
> 'subpart' or 'mark' in your HTML template for the menu (I guess you
> probably already have this), and then you need to put something IN the
> subpart/mark. You're already doing this in your template when you do
> this stuff:
> 
> subparts.content < styles.content.get
> 
> So, if you have a subpart in your template like this:
> 
> 
> <!--###MENU_OR_SOMETHING###-->
> ...
> ...
> ...
> <!--###MENU_OR_SOMETHING###-->
> 
> 
> ...you're going to have to add something like:
> 
> 
> subparts.MENU_OR_SOMETHING < lib.navigation
> 
> 
> -Christopher
> 
> 
> [1] http://typo3.org/documentation/document-library/tutorials/doc_tut_templselect/current/view/
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Mon, 21 Aug 2006 09:23:35 -0700
> From: Christopher <bedlamhotel at gmail.com>
> Subject: Re: [TYPO3] ownership of uploads/
> To: "TYPO3 English" <typo3-english at lists.netfielders.de>
> Message-ID:
> 	<mailman.7170.1156177422.24118.typo3-english at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Hello,
> 
> On 8/21/06, Cedric Sam <cedric.sam at savoirfairelinux.com> wrote:
>> Dear list,
>>
>> I am having errors when the backend attempts to copy files to the
>> uploads/ directory. I inspected the ownership of the folder, and it is
>> belonging to the local user. However, even with rights set to 777, I am
>> getting errors:
>>
>> 1: Copying file
>> '/home/intranet/public_html/fileadmin/templates/latestnews.htm' failed!:
>> The destination path (/home/intranet/public_html/uploads/tx_ttnews) may
>> be write protected. Please make it write enabled!.
>> (tt_content:463:pi_flexform)
>>
>> Anyone has seen this before? Also, the user running the webserver is
>> "nobody". I don't have access to root to change ownerships, etc,
>> obviously...
> 
> Question: how do you know that public_html/uploads/tx_ttnews is writable?
> Suggestions:
> 
> 1. Check the install tool to make sure that the necessary top-level
> directories ARE writable
> 2. Change (or have your host change) all directories that need to be
> script-writeable to 775
> 3. Have your host run something like this as root:
> 
> cd /home/intranet/public_html
> chgrp -R nobody uploads typo3conf typo3temp
> 
> This should allow scripts to write to those directories and is
> probably a little better than setting permissions to 777...
> 
> 
> -Christopher
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Mon, 21 Aug 2006 17:32:32 +0100
> From: Tyler Kraft <headhunterxiii at yahoo.ca>
> Subject: Re: [TYPO3] Setting a shortcut dynamicly
> To: typo3-english at lists.netfielders.de
> Message-ID:
> 	<mailman.1.1156177953.10885.typo3-english at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Well I would prob set up the menu to list both pages to start with. And 
> then add the exclude statement and test excluding each page indivually 
> to make sure that works.
> 
> Then I would slowly start putting in the conditionals. I suspect from 
> what you've said that the PIDinRootline (or matching sertian user groups 
> if there are login states) might be the most useful one for you.
> 
> 
> 
> 
> 
> PEF wrote:
>> Hi Tyler.
>>
>> This might do it! I just have to figure out how to do it the most 
>> elegant way.
>>
>> Thanks
>> Peter
>>
>>
>>
>> Tyler Kraft wrote:
>>> set up two shortcut pages and using ts conditions just remove them 
>>> from the dynamic menu using the HMENU excludeUID property
>>>
>>> hth
>>>
>>>
>>>
>>> PEF wrote:
>>>> Hi
>>>>
>>>> In my menu I have a shortcut that points to a subpage. On certain 
>>>> conditions I want to points this shortcut to another subpage. The 
>>>> reason for <this is, that when conditions are met, the first page 
>>>> will be hidden. In state one both pages are visible.
>>>>
>>>> I've tried to change the shortcut through php, by setting the 
>>>> shortcut parameter for this item in $menuArr. But without luck.
>>>>
>>>> Is it possible to change a shortcut dynamicaly? Or is there another 
>>>> way of doing this, that I haven't been aware of?
>>>>
>>>> Shortcut
>>>> --- condition 1
>>>> --- condition 2
>>>>
>>>> Just in case.... I know that the problem would be solved by setting 
>>>> the shortcut to the second page from the beginning. And this could of 
>>>> course be the final solution.
>>>>
>>>> Bye
>>>> Peter
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Mon, 21 Aug 2006 19:36:20 +0200
> From: Stanislav Rusn?k <monstrozita at gmail.com>
> Subject: [TYPO3]  position of images
> To: typo3-english at lists.netfielders.de
> Message-ID:
> 	<mailman.1.1156181770.19827.typo3-english at lists.netfielders.de>
> Content-Type: text/plain; charset=windows-1250; format=flowed
> 
> Hi all.
> 
> I`m wondering if it is possible to set space between pictures when using 
>   image content element.
> For example:
> I`ve got pictures ordered in two columns and I want to move one of the 
> columns more to the right.
> 
> Stanislav Rusn?k
> 
> 
> ------------------------------
> 
> Message: 7
> Date: Mon, 21 Aug 2006 13:48:32 -0400
> From: "LaPointe, Matthew" <MLaPointe at venterinstitute.org>
> Subject: [TYPO3] GifBuilder and letter-spacing
> To: "TYPO3 English" <typo3-english at lists.netfielders.de>
> Message-ID:
> 	<mailman.7248.1156182514.24118.typo3-english at lists.netfielders.de>
> Content-Type: text/plain;	charset="US-ASCII"
> 
> The only way I have found to increase letter-spacing (kerning/tracking)
> in the text of a GifBuilder object is with the property "spacing", which
> (as the documentation states) renders ugly. Is there any other way to
> achieve this?
> 
> Thank you.
> 
> Matt
> 
> 
> ------------------------------
> 
> Message: 8
> Date: Mon, 21 Aug 2006 19:58:43 +0200
> From: Bernd Wilke <xoonsji02 at sneakemail.com>
> Subject: Re: [TYPO3] Setting a shortcut dynamicly
> To: typo3-english at lists.netfielders.de
> Message-ID:
> 	<mailman.1.1156183124.21784.typo3-english at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> On Mon, 21 Aug 2006 13:43:40 +0200, PEF wrote
> with subject "[TYPO3] Setting a shortcut dynamicly":
> 
>> Hi
>>
>> In my menu I have a shortcut that points to a subpage. On certain 
>> conditions I want to points this shortcut to another subpage. The reason 
>> for this is, that when conditions are met, the first page will be 
>> hidden. In state one both pages are visible.
>>
>> I've tried to change the shortcut through php, by setting the shortcut 
>> parameter for this item in $menuArr. But without luck.
>>
>> Is it possible to change a shortcut dynamicaly? Or is there another way 
>> of doing this, that I haven't been aware of?
>>
>> Shortcut
>> --- condition 1
>> --- condition 2
>>
>> Just in case.... I know that the problem would be solved by setting the 
>> shortcut to the second page from the beginning. And this could of course 
>> be the final solution.
> 
> 
> have you seen the field "shortcut mode"?
> One mode is: "first subpage"
> 
> As far as I got your problem it is the solution.
> and don't enter anything in "shortcut to page".
> 
> Bernd




More information about the TYPO3-english mailing list