Jump to content

prestoav

Members
  • Posts

    237
  • Joined

  • Last visited

Community Answers

  1. prestoav's post in 'Unable to move uploaded file to...' error on Fasthosts (but is does upload) was marked as the answer   
    I think this is now fixed.
    Following this thread: https://processwire.com/talk/topic/1002-cant-upload-imagefiles-problem/
    I created /site/assest/uploads which didn't previously exist and then added this line to /site/config.php immediately below the debug line
    $config->uploadTmpDir = dirname(__FILE__) . '/assets/uploads/'; It seems the temp upload directory was either not set or not writable. 
    Hope this helps someone.
  2. prestoav's post in Using $page->find("field%=value") Where value is inside an array? was marked as the answer   
    Thanks Tom. Although I had tried that idea your message prompted me to dig a little deeper. It does work but...
    The category I was testing was titled 'Hints & Tips'. Even though both the page title and category title were cleaned so the '&' was presented as the HTML entity '&' in both cases the selector still doesn't work. However, changing the title of the category to 'Hints and Tips' has made the selector you shared work.
    Awsome, thanks!
×
×
  • Create New...