Quote from: markh at Mar 30, 2012, 06:29 AMTry setting phpthumb_document_root to /home/www/websites/domain.com/ and phpthumb_allow_src_above_docroot to yes.
not resolve.
the only solution I found is to edit as I said before :/
----------------------------------
canale irc Italiano #modx server: tophost.azzurra.org
Issue Summary. This occurs, in my case, only if the TV image is assigned a media Source with the following parameters
myCustomMS:
basePath: assets/templates/templatename/images/products/
basePathRelative: true
baseUrl: assets/templates/templatename/images/products/
baseUrlRelative: true
.....
Modx revo 2.2.0 pl
Installation in subfolder www.domain.com/subfolder/
----------------------------------
canale irc Italiano #modx server: tophost.azzurra.org
Did anyone figure this out? I'm encountering this problem again.
phpthumb document_root setting seem to have no effect at all.
The only solution i found is to hardcode the absolute path into core/model/phpthumb/phpthumb.class.php at line 1025
replacing
$AbsoluteFilename = $this->config_document_root.$filename;
by
$AbsoluteFilename = "/home/domain/www" . $filename;
-
☆ A M B ☆
- 24,524 Posts
As far as I know, this has been a problem for a long time.
-
☆ A M B ☆
- 397 Posts
And still is a problem. I just implemented Babel 2.2.5 with Revo 2.2.5 and am getting the same error.
Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.
-
☆ A M B ☆
- 397 Posts
Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.