This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########### | |
WORKING below | |
########## | |
## DO NOT ## | |
UPDATE tt_content | |
SET tx_flux_parent = SUBSTRING(tx_flux_column, INSTR(tx_flux_column, ':') + 1) | |
WHERE tx_flux_column != "" AND tx_flux_column IS NOT NULL AND tx_flux_parent IS NULL AND uid = 27 | |
####################### |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( $_POST['action'] == 'save' ) { | |
if ( isset( $_POST['save_pdf'] ) ) { | |
foreach ( $_POST['save_pdf'] as $save_idart ) { | |
generate_pdf_file ( $save_idart, $save_to_disc=true ); | |
} | |
//*** | |
set_time_limit(1800); // run max for 30min | |
$debug = true; | |
if ( $_POST['action'] == 'save' ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## into Page TS | |
TCEMAIN.table.pages { | |
disablePrependAtCopy = 1 | |
disableHideAtCopy = 1 | |
} | |
TCEMAIN.table.tt_content { | |
disablePrependAtCopy = 1 | |
disableHideAtCopy = 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// in die conlib/db_mysql.inc | |
/* public: connection management */ | |
function connect($Database = "", $Host = "", $User = "", $Password = "") { | |
/* Handle defaults */ | |
if ("" == $Database) | |
$Database = $this->Database; | |
if ("" == $Host) | |
$Host = $this->Host; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// in die conlib/db_mysql.inc | |
/* public: connection management */ | |
function connect($Database = "", $Host = "", $User = "", $Password = "") { | |
/* Handle defaults */ | |
if ("" == $Database) | |
$Database = $this->Database; | |
if ("" == $Host) | |
$Host = $this->Host; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find Verz -type d -print0 | xargs -0 chmod 750 | |
find Verz -type f -print0 | xargs -0 chmod 640 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysqldump --default-character-set=utf8 -udb58799_xxx -pxxxxxxxxxx -hmysql5.xxxxxx.de db58799_xxx > db58799_xxx_1211_v2.sql | |
mysql --default-character-set=utf8 -udb58799_xxx -pxxxxxxxxxx -hmysql5.xxxxxx.de db58799_xxx < db58799_xxx_1211_v2.sql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################## | |
## tt_news ################### | |
plugin.tt_news { | |
# Pagebrowser konfigurieren | |
usePiBasePagebrowser = 1 | |
pageBrowser { | |
#maxPages = 5 | |
#tableParams = 0 | |
showPBrowserText = 0 | |
showFirstLast = 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Strong quoting | |
Strong quoting is very easy to explain: | |
Inside a single-quoted string nothing(!!!!) is interpreted, except the single-quote that closes the quoting. | |
echo 'Your PATH is: $PATH' | |
That $PATH won't be expanded, it's interpreted as normal ordinary text, because it's surrounded by strong quotes. | |
In practise that means, to produce a text like Here's my test… as a single-quoted string, you have to leave and re-enter the single-quoting to get the character "'" as literal text: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It's not only RealURL's problem - although it's most common while users are manipulating this file manually to add custom rules. Anyway this problem also ocures with typo3conf/localconf.php. | |
How to confirm: | |
Right click on the broken image and choose Open image in new window it will open a file with address like: http://somedomain.tld/typo3/thumbs.php?&file=..%2Fuploads%2...etc use some browser to preview the source code ie. in Chrome prepend the address with view-source: like: view-source:http://somedomain.tld/typo3/thumbs.php?&file=...etc. There should not be any whitespaces before the code of image... | |
How to prevent? | |
As you wrote. Check your config files like realurl_conf.php or localconf.php and make sure that there are no spaces before <?php. In case of script ending.... just remove the ?> tag, so script will end automatically without white spaces (even if you'll add 100 empty lines after last line of code), unfortunately sometimes finding this one annoying space in configs takes hours, so.... |