Same problem here with strato.de :/
----
Edit:
After some searches i found a Error-Track here:
http://tracker.modx.com/issues/54
Looks like someone else had the same Problem on phpThumb for REVO on a strato-Server.
The document_root variable gets false path.informations! If you want to fix the problem:
1. create Snippet which outputs the absolute path:
<?php
echo $_SERVER['DOCUMENT_ROOT'].$_SERVER['PHP_SELF'];
?>
Get the output of this snippet, its the file path you need for configuring phpthumb.
2. Edit the phpThumb-Config File:
assets/snippets/phpthumb/phpThumb.config.php
Edit and comment out the following line:
$PHPTHUMB_CONFIG['document_root'] = realpath((@$_SERVER['DOCUMENT_ROOT'] && file_exists(@$_SERVER['DOCUMENT_ROOT'].$_SERVER['PHP_SELF'])) ? $_SERVER['DOCUMENT_ROOT'] : str_replace(dirname(@$_SERVER['PHP_SELF']), '', str_replace(DIRECTORY_SEPARATOR, '/', realpath('.'))));
to:
//$PHPTHUMB_CONFIG['document_root'] = realpath((@$_SERVER['DOCUMENT_ROOT'] && file_exists(@$_SERVER['DOCUMENT_ROOT'].$_SERVER['PHP_SELF'])) ? $_SERVER['DOCUMENT_ROOT'] : str_replace(dirname(@$_SERVER['PHP_SELF']), '', str_replace(DIRECTORY_SEPARATOR, '/', realpath('.'))));
then add the following line and add the path you get from the snippet under 1.
$PHPTHUMB_CONFIG['document_root'] = 'YOUR-PATH-HERE';
Your path will end with 'htdocs' - If your modx-installation is in a SUB.Directory, add the subdirectory on the end of the path as the snippet from 1. dont displays the subdirectory-path!
Looks like strato got some very weird document-path config.hack on their shared hostings! Get your customers onto your servers!
Good luck!
[ed. note: urbandigital last edited this post 9 years, 8 months ago.]