![]() |
|
|
#1
|
|||
|
|||
|
Tried to upload some pictures on a new install, but it wouldn't work - mkdir was failing to create the 'cachedimages' directory.
A bit of investigation led to the protected_images directory variable not being set. Bizarre. To cut a long story short, the php code was $imagedir = $siteArr[Protected_Images_Directory]; On my server, this doesn't work. It has to be $imagedir = $siteArr['Protected_Images_Directory']; ie, the word is in single quotes. Is this a bug in MonkeyCMS, or is there a setting somewhere I can create to 'force' the original method to work? This is on php 5.2.10 by the way, so don't know if its a recent change...?
__________________
http://www.cscomputerservices.co.uk/ | Providing complete computer solutions | Web hosting with MonkeyCMS pre-installed |
| Thread Tools | |
| Display Modes | |
|
|