Bug #23400
closedPagetree fails to reload
Added by Martin Jacobs over 14 years ago. Updated about 6 years ago.
0%
Description
Pagtree fails to reload after adding new pages.
Also no pagtree reload in a fresh version. Browsers: Firefix 3.6, Chrome, IE8
(issue imported from #M15495)
Files
0015495.patch (571 Bytes) 0015495.patch | Administrator Admin, 2010-11-29 17:40 |
Updated by Steffen Kamper over 14 years ago
please verify the version you use and provide steps to reproduce.
Updated by Martin Jacobs over 14 years ago
Using TYPO3 4.2.2 and PHP 5.2.6
Having this problem with and without Templa-Viola.
Installed a fresh TYPO3 dummy version. In this version adding a new page also does not reload the page tree. Page tree only reloads if i copy a page per drag and drop.
Updated by Steffen Kamper over 14 years ago
please use recent version!
For 4.2 it's 4.2.14
latest is 4.4.2
Updated by Martin Jacobs over 14 years ago
Sorry, i'm using version TYPO3 4.4.2 (and not 4.2.2) and PHP 5.2.6.
Having this problem with and without Templa-Viola.
Installed a fresh TYPO3 dummy version. In this version adding a new page also does not reload the page tree. Page tree only reloads if i copy a page per drag and drop.
Updated by Renga about 14 years ago
BE user (admin) is not having any issue. But I face the same issue when regular BE user logs in. No page tree is displayed.
MY PHP Info is as below.
- DEBUG SYSTEM INFORMATION - START ###
HTTP_HOST : www.rengucha.com
TYPO3_HOST_ONLY : www.rengucha.com
TYPO3_PORT :
PATH_INFO :
QUERY_STRING : TYPO3_INSTALL[type]=phpinfo
REQUEST_URI : /typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
HTTP_REFERER : http://www.rengucha.com/typo3/install/index.php?TYPO3_INSTALL[type]=about
TYPO3_REQUEST_HOST : http://www.rengucha.com
TYPO3_REQUEST_URL : http://www.rengucha.com/typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
TYPO3_REQUEST_SCRIPT: http://www.rengucha.com/typo3/install/index.php
TYPO3_REQUEST_DIR : http://www.rengucha.com/typo3/install/
TYPO3_SITE_URL : http://www.rengucha.com/
TYPO3_SITE_SCRIPT : typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
TYPO3_SSL :
TYPO3_REV_PROXY :
SCRIPT_NAME : /typo3/install/index.php
TYPO3_DOCUMENT_ROOT : /var/www/web2
SCRIPT_FILENAME : /var/www/web2/typo3/install/index.php
REMOTE_ADDR : 192.55.140.2
REMOTE_HOST :
HTTP_USER_AGENT : Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 (.NET CLR 3.5.30729)
HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5
CONST: PHP_OS : Linux
CONST: TYPO3_OS :
CONST: PATH_thisScri: /var/www/web2/typo3/install/index.php
CONST: php_sapi_name: apache2handler
OTHER: TYPO3_VERSION: 4.4.2
OTHER: PHP_VERSION : 5.2.4-2ubuntu5.7
imagecreatefromgif(): 1
imagecreatefrompng(): 1
imagecreatefromjpeg(: 1
imagegif() : 1
imagepng() : 1
imagejpeg() : 1
imagettftext() : 1
OTHER: IMAGE_TYPES : 15
OTHER: memory_limit : 64M
SERVER: SERVER_PORT : 80
SERVER: SERVER_SOFTW: Apache
SERVER: GATEWAY_INTE: CGI/1.1
SERVER: SCRIPT_NAME : /typo3/install/index.php
SERVER: PATH_TRANSLA:
T3CV_GFX: image_proc: 1
T3CV_GFX: gdlib : 1
T3CV_GFX: gdlib_png :
T3CV_GFX: im : 1
T3CV_GFX: im_path : /usr/bin/
T3CV_GFX: im_path_lz: /usr/X11R6/bin/
T3CV_GFX: im_version: gm
T3CV_GFX: im_negate_: 0
T3CV_GFX: im_imvMask: 0
T3CV_GFX: im_combine: combine - DEBUG SYSTEM INFORMATION - END ###
Updated by Steffen Gebert about 14 years ago
Please describe the exact steps, how you're creating the page (there are various ways), please post screenshots/screencast.
Please also have a look at your browser's error console.
Updated by Renga about 14 years ago
1.0 When I log in as backend user with admin privileges I see the page tree, no issue. Only issue is when a non-admin back end user logs in it does not show anything in pagetree.
2.0 In the Error console I see lot of warnings.
the same link with different line numbers
Warning: Error in parsing value for 'background-image'. Declaration dropped.
Source File: http://www.rengucha.com/typo3temp/compressor/merged-dde84b391f36072513540fb4a22faba2-d7a62cad2dc1e6228e8efee44c66ffc2.css?1284856719
Line: 663
Warning: Unknown property 'border-top-left-radius'. Declaration dropped.
Source File: http://www.rengucha.com/typo3temp/compressor/merged-dde84b391f36072513540fb4a22faba2-d7a62cad2dc1e6228e8efee44c66ffc2.css?1284856719
Line: 672
Warning: Unknown property 'zoom'. Declaration dropped.
Source File: http://www.rengucha.com/typo3temp/compressor/xtheme-t3skin-0d086beb4bfc244d07ac99e96fbbcdb4.css?1284856720
Line: 285
Updated by Patrick Broens about 14 years ago
@Renga,
The problem you are describing is a different one than the one Martin reported. He is talking about 'reloading' the page tree, you are talking about 'loading' the page tree. Your problem might be with the DB Mounts. Did you check that? Otherwise report a different bug, please.
Updated by Patrick Broens about 14 years ago
I've faced the similar problem with Templavoila and it is probably in typo3/js/tree.js
refresh: function() {
var r = new Date();
var loc = window.location.href.replace(/&randNum=\d+/, '');
var addSign = loc.indexOf('?') > 0 ? '&' : '?';
window.location = loc + addSign + 'randNum=' + r.getTime();
},
window.location.href sometimes get the hash sign (#) at the end of the href, although the hash is empty. The reload url will then get like index.php?id=123#&randNum=1234567890, which has already been cached and makes the reload impossible.
After doing the replace on loc, another replace should be done for removing the hash sign, like
loc = loc.replace('#', '');
I will test it and post a patch soon.
Updated by Oliver Hader almost 14 years ago
@Patrick Broens: Exactly, the '#' character is the problem...
Find attached a patch that fixes this issue.
Updated by Oliver Hader almost 14 years ago
- TYPO3_4-3 (rev. 9723)
- TYPO3_4-4 (rev. 9724)
- Trunk (rev. 9725)