[TYPO3-core] RFC #10259: Bug: Update reference index contains misleading (wrong!) instructions

Daniel Krupke email at danielkrupke.de
Mon Feb 23 20:13:29 CET 2009


Hi Christian,

> Resolved the latter three entries as duplicates.

Thank you for resolving duplicates!

> +1 on reading and testing, I just think the first hunk in
> typo3/sysext/lowlevel/dbint/index.php could probably be discarded.

Please see attached a new patch that fits your proposal with first
hunk. I also uploaded this patch to bugtracker [1]. In bugtracker the
wrongly assigned tag "category menu" can of course be deleted. It must
have been added when I chose "pending in core" tag.

[1] http://bugs.typo3.org/view.php?id=10259

So long,
Daniel

-- 
newmedia.solutions sk | Krupke & Siemon GbR
Daniel Krupke
Rosenbergstr. 28
70174 Stuttgart
Mobil +49 177 / 642 74 92
info at newmedia-solutions.de
www.newmedia-solutions.de
ICQ# 51473103
-------------- next part --------------
Index: typo3/sysext/lowlevel/dbint/index.php
===================================================================
--- typo3/sysext/lowlevel/dbint/index.php	(revision 5055)
+++ typo3/sysext/lowlevel/dbint/index.php	(working copy)
@@ -373,8 +373,13 @@
 
 			// Output content:
 		$content = $GLOBALS['LANG']->getLL('clickToUpdateRefIndex') . ' <input type="submit" name="_update" value="' . $GLOBALS['LANG']->getLL('updateNow') . '" /><br/>';
-		$content.= $GLOBALS['LANG']->getLL('clickToTestRefIndex') . ' <input type="submit" name="_check" value="' . $GLOBALS['LANG']->getLL('checkNow') . '" /><br/>';
-		$content.= $GLOBALS['LANG']->getLL('checkScript') . '<br/>' . t3lib_extMgm::extPath('lowlevel').'dbint/cli/refindex_cli.phpsh';
+		$content.= $GLOBALS['LANG']->getLL('clickToTestRefIndex') . ' <input type="submit" name="_check" value="' . $GLOBALS['LANG']->getLL('checkNow') . '" /><br/><br/>';
+		$content.= '<p>' . $GLOBALS['LANG']->getLL('checkScript') . '</p><br />';
+		$content.= '<p>' . $GLOBALS['LANG']->getLL('checkScript_check_description') . '<br />' . 
+					$GLOBALS['LANG']->getLL('checkScript_check_example') . '</p><br />';
+		$content.= '<p>' . $GLOBALS['LANG']->getLL('checkScript_update_description') . '<br />' . 
+					$GLOBALS['LANG']->getLL('checkScript_update_example') . '</p><br />';
+		$content.= '<p>' . $GLOBALS['LANG']->getLL('checkScript_more') . '</p>';
 		$this->content.= $this->doc->section($GLOBALS['LANG']->getLL('updateRefIndex'), $content, false, true);
 	}
 
Index: typo3/sysext/lowlevel/dbint/locallang.xml
===================================================================
--- typo3/sysext/lowlevel/dbint/locallang.xml	(revision 5055)
+++ typo3/sysext/lowlevel/dbint/locallang.xml	(working copy)
@@ -24,7 +24,12 @@
 			<label index="updateNow">Update now!</label>
 			<label index="clickToTestRefIndex">Click here to test reference index:</label>
 			<label index="checkNow">Check now!</label>
-			<label index="checkScript">You can also run the check as a shell script if the processing takes longer than the PHP max_execution_time allows:</label>
+			<label index="checkScript">You can also run the check as a shell script using CLI if the processing takes longer than the PHP max_execution_time allows.</label>
+			<label index="checkScript_check_description">To check the reference index use:</label>
+			<label index="checkScript_check_example">php /path/to/your/typo3/cli_dispatch.phpsh lowlevel_refindex -c</label>
+			<label index="checkScript_update_description">To update the reference index use:</label>
+			<label index="checkScript_update_example">php /path/to/your/typo3/cli_dispatch.phpsh lowlevel_refindex -e</label>
+			<label index="checkScript_more">Make sure that a BE user with the name _cli_lowlevel exists. For more details see: /path/to/your/typo3/sysext/lowlevel/HOWTO_clean_up_TYPO3_installations.txt</label>
 			<label index="updateRefIndex">Update reference index</label>
 			<label index="showSQL">Show SQL parts</label>
 			<label index="useFormattedStrings">Use formatted strings, labels and dates instead of original values for results</label>


More information about the TYPO3-team-core mailing list