[TYPO3-english] Runtime debug
Sorin Ivascu
Sorin.Ivascu at stimme-der-hoffnung.de
Wed Mar 17 12:31:40 CET 2010
Hi,
I've managed to succesfully setup the "Debug Configurations" (I say succesfully as when I click on Debug, the browser opens with the right index.php file) but the debugger doesn't stop at any of my breakpoints. And moreover, in the PHP Debug Perspective, the Debug window (by default up-left), doesn't seem to be enabled... I mean the Stop button is not enabled, nor any of the others.
Has any of you encountered this situation?
(I'll describe here my settings in Run->Debug Configurations.
- I have my Eclipse workspace set up at d:\work\workspace
- Apache document root is d:\work\www\typo3\ (here is where I have the index.php)
- I have a local web project, named project.sdh, which I can acces by http://project.sdh/index.php
- The project uses an extension which I am now developing, and that is stored at d:\arbeit\www\typo3\typo3conf\ext\current_ext
- So, in the server tab in Run->Debug Configurations, in the file input box I have entered simply /index.php?id=526&no_cache=1 (with the page id parameter in querystring)
- Auto generate is checked)
Thanks in advance and best wishes!
Sorin
-----Ursprüngliche Nachricht-----
Von: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-bounces at lists.typo3.org] Im Auftrag von typo3-english-request at lists.typo3.org
Gesendet: Mittwoch, 17. März 2010 10:05
An: typo3-english at lists.typo3.org
Betreff: TYPO3-english Digest, Vol 78, Issue 36
Send TYPO3-english mailing list submissions to
typo3-english at lists.typo3.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
or, via email, send a message with subject or body 'help' to
typo3-english-request at lists.typo3.org
You can reach the person managing the list at
typo3-english-owner at lists.typo3.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of TYPO3-english digest..."
Today's Topics:
1. mm_forum security update shows now changes against previous
version? (Christopher L?rken)
2. Re: mm_forum security update shows now changes against
previous version? (David Bruchmann)
3. Re: Runtime debug (Christopher L?rken)
4. Re: Realurl for xml news (Philipp Gampe)
5. Re: mm_forum security update does have the changes
(Christopher L?rken)
6. Language on site (Tomas Norre Mikkelsen)
7. Configuring and limiting "new content element" in Typo3 4.3
(Rohit Vachhani)
8. Re: Runtime debug (Xavier Perseguers)
9. Get image data without actually showing the image (jochem nabuurs)
10. Re: Realurl for xml news (Dmitry Dulepov)
11. Re: Get image data without actually showing the image
(Andreas Kie?ling)
12. Re: Get image data without actually showing the image
(jochem nabuurs)
----------------------------------------------------------------------
Message: 1
Date: Tue, 16 Mar 2010 17:32:31 +0100
From: Christopher L?rken <lists at bytro.com>
Subject: [TYPO3-english] mm_forum security update shows now changes
against previous version?
To: typo3-english at lists.typo3.org
Message-ID: <mailman.1.1268757333.21342.typo3-english at lists.typo3.org>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Hi,
as announced in today's typo3-announce mail [1] and security advisory
[2], the mm_forum extension shows cross site scripting vulnerabilities.
Since we have adjusted parts of the code I will have to look at the
changes and merge them into our version. I've downloaded the brand new
t3x file for version 1.8.3 from the extension repository and compared it
against the SVN snapshot of the previous 1.8.2. But: I found no changes...
The forge SVN does not yet contain a 1.8.3 tag, the current trunk
version shows no commits regarding critical security fixes and since the
current t3x file is exactly the same as that of version 1.8.2, I'd
really like to know what are the changes and what are the
vulnerabilities...?
Does anyone have more information?
Thanks in advance and best wishes,
Christopher
----
[1] http://lists.typo3.org/pipermail/typo3-announce/2010/000149.html
[2] http://typo3.org/teams/security/security-bulletins/typo3-sa-2010-007/
------------------------------
Message: 2
Date: Tue, 16 Mar 2010 17:55:14 +0100
From: David Bruchmann <typo3-en at bruchmann-web.de>
Subject: Re: [TYPO3-english] mm_forum security update shows now
changes against previous version?
To: TYPO3 English <typo3-english at lists.typo3.org>
Message-ID:
<mailman.1004.1268758700.610.typo3-english at lists.typo3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Von: Christopher L?rken <lists at bytro.com>
Gesendet: Dienstag, 16. M?rz 2010 17:32:31
Hi,
>
> as announced in today's typo3-announce mail [1] and security advisory
> [2], the mm_forum extension shows cross site scripting vulnerabilities.
>
> Since we have adjusted parts of the code I will have to look at the
> changes and merge them into our version. I've downloaded the brand new
> t3x file for version 1.8.3 from the extension repository and compared it
> against the SVN snapshot of the previous 1.8.2. But: I found no changes...
>
> The forge SVN does not yet contain a 1.8.3 tag, the current trunk
> version shows no commits regarding critical security fixes and since the
> current t3x file is exactly the same as that of version 1.8.2, I'd
> really like to know what are the changes and what are the
> vulnerabilities...?
>
This is an item for the security-team and the forum-developers but NEVER
for the public mailinglist.
Best Regards
David
------------------------------
Message: 3
Date: Tue, 16 Mar 2010 18:14:20 +0100
From: Christopher L?rken <lists at bytro.com>
Subject: Re: [TYPO3-english] Runtime debug
To: typo3-english at lists.typo3.org
Message-ID: <mailman.1.1268759843.24836.typo3-english at lists.typo3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Am 09.03.2010 11:41, schrieb Xavier Perseguers:
>
> I started a wiki page on this [1] as this topic comes quite often in
> these lists. As the time of writing it's still "empty" but it will
> hopefully be populated with useful information soon.
>
> [1] http://wiki.typo3.org/index.php/Efficiently_Debugging_TYPO3
>
I've added a description for XDebug with Eclipse which worked for me.
------------------------------
Message: 4
Date: Tue, 16 Mar 2010 19:41:52 +0100
From: "Philipp Gampe" <phil at philippgampe.info>
Subject: Re: [TYPO3-english] Realurl for xml news
To: typo3-english at lists.typo3.org
Message-ID: <mailman.1.1268765089.32478.typo3-english at lists.typo3.org>
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Am 16.03.2010, 13:00 Uhr, schrieb Sergio Catal? Gil <scatala at iti.upv.es>:
>
> Hi:
>
> I'm trying to configure rss feeds on my web site using tt_news
> extension. Everything works ok except the ugly urls. I configured some
> time ago realurl extension for showing nice urls on news articles, but
> if i access from rss, the urls are ugly again.
>
> Is there anything additional I have to do? :-(
no, unless you want to change tt_news ... it does not use api for RSS and
thus realurl can't work...
have a look at my patch [1] which fixes external links, but has his own
problem (with linkhandler)
basically you have to check if typolink() ist used whenever a link is
generated...
[1] http://bugs.typo3.org/view.php?id=9114
--
Philipp Gampe
http://www.philippgampe.info
------------------------------
Message: 5
Date: Tue, 16 Mar 2010 20:12:20 +0100
From: Christopher L?rken <lists at bytro.com>
Subject: Re: [TYPO3-english] mm_forum security update does have the
changes
To: typo3-english at lists.typo3.org
Message-ID: <mailman.1.1268766928.3125.typo3-english at lists.typo3.org>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
I am sorry for any trouble I may have caused, I've contacted the
security team and I did indeed overlook the changes.
Please disregard these posts.
Sorry,
Christopher
Am 16.03.2010 17:32, schrieb Christopher L?rken:
> Hi,
>
> as announced in today's typo3-announce mail [1] and security advisory
> [2], the mm_forum extension shows cross site scripting vulnerabilities.
>
> Since we have adjusted parts of the code I will have to look at the
> changes and merge them into our version. I've downloaded the brand new
> t3x file for version 1.8.3 from the extension repository and compared it
> against the SVN snapshot of the previous 1.8.2. But: I found no changes...
>
> The forge SVN does not yet contain a 1.8.3 tag, the current trunk
> version shows no commits regarding critical security fixes and since the
> current t3x file is exactly the same as that of version 1.8.2, I'd
> really like to know what are the changes and what are the
> vulnerabilities...?
>
>
> Does anyone have more information?
>
> Thanks in advance and best wishes,
> Christopher
>
>
> ----
> [1] http://lists.typo3.org/pipermail/typo3-announce/2010/000149.html
> [2] http://typo3.org/teams/security/security-bulletins/typo3-sa-2010-007/
------------------------------
Message: 6
Date: Tue, 16 Mar 2010 20:24:08 +0100
From: Tomas Norre Mikkelsen <tomasnorre at gmail.com>
Subject: [TYPO3-english] Language on site
To: TYPO3 English <typo3-english at lists.typo3.org>
Message-ID:
<mailman.1028.1268767620.610.typo3-english at lists.typo3.org>
Content-Type: text/plain; charset=UTF-8
Hi,
I have a page with mm_forum, danish, english and german.. I have a
translated page (alternative language) for all lang. But my danish
lang i not shown. the english and german works fine.. but the danish
shows default lang. (eng)
I have tried to clear the typo3temp and reload from TER-server. the
dk/mm_forum/ folder contain a danish locallang.xml, with danish
translation, but not working.. hints ???
I have the same issue on my loginpage with the newloginbox plugin..
Looks like a simple error while its both pages, but i can find the error :(
--
Best Regards
Tomas Norre Mikkelsen
tomasnorre at gmail.com
------------------------------
Message: 7
Date: Wed, 17 Mar 2010 08:33:30 +0100
From: Rohit Vachhani <rohit.vi at gmail.com>
Subject: [TYPO3-english] Configuring and limiting "new content
element" in Typo3 4.3
To: TYPO3 English <typo3-english at lists.typo3.org>
Message-ID:
<mailman.1115.1268811384.610.typo3-english at lists.typo3.org>
Content-Type: text/plain; charset=ISO-8859-1
Hello All,
I have the Typo3 version 4.3 running with me and I wanted to limit the
addition of the "new content element" for a page. Currently, I have
configured the "new content element", added FCE and controlled the element
types which can be chosen. Now, problem is, I can keep on adding the new
contents and cannot control it.
I was looking for a way to limit the addition of "new content element" to a
particular number for a template (the small link with green plus mark). I am
right now configuring the system, which will be used by others to add
content and if people can go on adding the new contents, this will distort
the page.
Looking forward for some tips and tricks.
Kind Regards,
Rohit
------------------------------
Message: 8
Date: Wed, 17 Mar 2010 09:01:14 +0100
From: Xavier Perseguers <typo3 at perseguers.ch>
Subject: Re: [TYPO3-english] Runtime debug
To: typo3-english at lists.typo3.org
Message-ID: <mailman.1.1268813045.16581.typo3-english at lists.typo3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Christopher,
>> I started a wiki page on this [1] as this topic comes quite often in
>> these lists. As the time of writing it's still "empty" but it will
>> hopefully be populated with useful information soon.
>>
>> [1] http://wiki.typo3.org/index.php/Efficiently_Debugging_TYPO3
>
> I've added a description for XDebug with Eclipse which worked for me.
Thanks for contributing!
--
Xavier Perseguers
http://xavier.perseguers.ch/en
------------------------------
Message: 9
Date: Wed, 17 Mar 2010 09:08:49 +0100
From: jochem nabuurs <jochem at roquin.nl>
Subject: [TYPO3-english] Get image data without actually showing the
image
To: typo3-english at lists.typo3.org
Message-ID: <mailman.1.1268813500.19989.typo3-english at lists.typo3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi list,
I've created the following code for generating an image with a mask onto
it, to use as a background for a website.
// Fetch one random image from border column,
// apply a mask onto it, and use the url in the body tag
//
// In order for the code below to work, you need to set the following
// settings inside local_conf.php or change them through the
installtool
// $TYPO3_CONF_VARS['GFX']['gdlib_png'] = '1';
// $TYPO3_CONF_VARS['GFX']['gdlib_2'] = '1';
// $TYPO3_CONF_VARS['GFX']['png_truecolor'] = '1';
// ---------------------------------------------------------------------
temp.headerImage = CONTENT
temp.headerImage {
// Fetch a random image from the database
table= tt_content
select {
pidInList = 2
max = 1
where = CType='image'
andWhere (
colPos=3 AND
image!=''
)
orderBy = rand()
}
// Generate a new image from the old one,
// with a nice green gradient on top of it.
renderObj = COA
renderObj {
// generate the image
10 = IMAGE
10 {
params = style="display:none;"
file = GIFBUILDER
file {
XY = 1000, 750
format = jpg
quality = 100
// get the original image
10 = IMAGE
10 {
file {
import = uploads/pics/
import.field = image
width = 1000
height = 750
}
offset = 0,0
}
15 = IMAGE
15 {
offset = 0,0
file = fileadmin/images/foto.png
file {
width = 1000
height = 750
}
}
}
}
// Create the bodytag contents
// With the TSFE:lastImageInfo object,
// you've got access to the image data
// Don't know exactly how this works.
20 = TEXT
20.dataWrap = <body id="home" style="background-image:
url({TSFE:lastImageInfo|3});">
20.insertData = 1
}
}
page.234 < temp.headerImage
page.bodyTagCObject = TEXT
page.bodyTagCObject < temp.headerImage.20
The above works perfect, but the "page.234" part outputs an image tag in
the HTML code, which is not what i want. I've partially solved this with
setting params = style="display:none;" so the image isn't displayed.
I'd like to remove the "page.234 < .." part but then the image object
isn't available (or something like that) and with it, the lastImageInfo
data.
What I'd like to know is how to access the lastImageInfo object of the
generated image, without having to output the actual image as a HTML
element.
Thanks in advance,
Jochem Nabuurs
------------------------------
Message: 10
Date: Wed, 17 Mar 2010 10:14:23 +0200
From: Dmitry Dulepov <dmitry.dulepov+t3ml at gmail.com>
Subject: Re: [TYPO3-english] Realurl for xml news
To: typo3-english at lists.typo3.org
Message-ID: <mailman.1.1268813835.20325.typo3-english at lists.typo3.org>
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Hi!
On 2010-03-16 20:41:52 +0200, Philipp Gampe said:
> basically you have to check if typolink() ist used whenever a link is
> generated...
It is used.
--
Dmitry Dulepov
TYPO3 expert / TYPO3 security team member
Read more @ http://dmitry-dulepov.com/
------------------------------
Message: 11
Date: Wed, 17 Mar 2010 09:18:20 +0100
From: Andreas Kie?ling <andreas.kiessling at web.de>
Subject: Re: [TYPO3-english] Get image data without actually showing
the image
To: typo3-english at lists.typo3.org
Message-ID: <mailman.1.1268814073.20950.typo3-english at lists.typo3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Jochem,
> I'd like to remove the "page.234 < .." part but then the image object
> isn't available (or something like that) and with it, the lastImageInfo
> data.
>
> What I'd like to know is how to access the lastImageInfo object of the
> generated image, without having to output the actual image as a HTML
> element.
>
You need to use IMG_RESOURCE instead of IMAGE. It will give you just the
path to the image / generated image + fill the register
lastImgResourceInfo with information about dimensions etc (but of
course, only if the IMG_RESOURCE is placed somewhere on the page)
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/8/7/
referencing to ->
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/2/
To be complete: http://wiki.typo3.org/index.php/TSref/getText :
TSFE:lastImgResourceInfo|3 contains the path to the (scaled) image file
Greets,
Andreas
------------------------------
Message: 12
Date: Wed, 17 Mar 2010 10:00:20 +0100
From: jochem nabuurs <jochem at roquin.nl>
Subject: Re: [TYPO3-english] Get image data without actually showing
the image
To: typo3-english at lists.typo3.org
Message-ID: <mailman.1.1268816592.24344.typo3-english at lists.typo3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Andreas Kie?ling wrote:
> Hi Jochem,
>
>> I'd like to remove the "page.234 < .." part but then the image object
>> isn't available (or something like that) and with it, the lastImageInfo
>> data.
>>
>> What I'd like to know is how to access the lastImageInfo object of the
>> generated image, without having to output the actual image as a HTML
>> element.
>>
>
> You need to use IMG_RESOURCE instead of IMAGE. It will give you just the
> path to the image / generated image + fill the register
> lastImgResourceInfo with information about dimensions etc (but of
> course, only if the IMG_RESOURCE is placed somewhere on the page)
>
> http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/8/7/
>
> referencing to ->
> http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/2/
>
>
> To be complete: http://wiki.typo3.org/index.php/TSref/getText :
> TSFE:lastImgResourceInfo|3 contains the path to the (scaled) image file
>
> Greets,
> Andreas
Dear Andreas,
Thanks for your reply. For the record:
You stated that i need to use IMG_RESOURCE instead of IMAGE and
lastImgResourceInfo instead of lastImageInfo, but they both work.
You also stated the following (which is more interesting) :
" ... only if the IMG_RESOURCE is placed somewhere on the page)"
My question was, that I'd like to know is how to access the
lastImageInfo object of the generated image, without having to output
the actual image as a HTML element.
I'm guessing that you're saying that this is not possible and that I
allways have to output the image with something like
...
page.234 < temp.headerImage
...
Kind regards
------------------------------
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
End of TYPO3-english Digest, Vol 78, Issue 36
*********************************************
More information about the TYPO3-english
mailing list