As far as I can tell, this is because of the call to file_check_path, which in turn checks to see if the directory is writable.
However I see no reason why textimage should be able to write to the directory in question, I think read only access should be sufficient.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | textimage_147553.patch | 2.02 KB | drewish |
Comments
Comment #1
leoklein commentedShould this be a 'feature request'?
In any case, the error message "current font path is invalid. The default font will be used" is completely misleading -- it's fooled a number of people here judging by the bug reports.
Comment #2
drewish commentedas has been pointed out forcing the fonts directory to be writable is a bad idea. file_check_directory shouldn't be used. the attached patch replaces it with is_dir() calls.
Comment #3
drewish commentedmarked http://drupal.org/node/111838 as a duplicate
Comment #4
wundo commentedCommited,
thanks drewish
Comment #5
asbdpl commentedApplied patch, no errors, textimage still complains about "entered fonr path is invalid".
Solution:
* Disable module teximage
* Replace it by modules Captcha / Image captcha / Text captcha.
Now, everything - image captchas, text captachas, and math captchas - works like a charms.
Regards, -asb
Comment #6
decipheredThis should not have been marked as won't fix if the issue was still present.
Marked as closed.