Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #25832
    Profile photo of Douglas
    Douglas
    Participant

    Woops! Yes, image is there – a question of patience (and clearing the cache)

    #25831
    Profile photo of Douglas
    Douglas
    Participant

    Thanks Robin.

    The mkdir confirmed that the install was being prevented from creating directories. It was more than just write permissions though. So here’s the scoop for anyone else encountering the problem. PHP scripts run by default with user ‘nobody’. As the files are owned by my username, PHP is unable to write to them or modify them. The solution is a script wrapper allowing the files to run under a real username. I used SuEXEC so that instead of using the Apache default, PHP files are executed using CGI.

    So installation works, files are uploadable through the browser, files are parsed and thumbnails are generated. All good news. The permalink to the image generated works but, for now, the image is not displayed on the public view of the site 🙁 The only limitation of using CGI for PHP I am aware of is the inability to send custom headers to the browser but can’t imagine why custom headers would be used here.

    #25801
    Profile photo of Douglas
    Douglas
    Participant

    Thanks, George.

    Either there are more directories which have not been created by the install (I manually set up ss_media with /new and /tmp below) or there is something more fundamental with my server setup.

    The cron job parses the images but does not create a thumbnail so the catalogue page shows only the EXIF data (and the JPEG images stay in /new). Even trying to upload a thumbnail directly does not change this. There is plenty memory but I tried with a small JPEG to be certain and the result was the same.

    BTW, loved your Hershey Rollercoaster pics!

    #25799
    Profile photo of Douglas
    Douglas
    Participant

    Hi George

    Thanks for the response.

    That’s exactly the problem. There SHOULD be an ss-media directory there but there was not one created by the install procedure. I created one myself and FTP’d images to it but clearly, as the processor parsed those images, and got the EXIF tags, but did not create the thumbnails, there is a sub-directory structure needed also.

    That’s why I was wondering if I could create the directory structure manually or, alternatively, if there are some obvious changes I need to make before running the installation again.

    Douglas

Viewing 4 posts - 1 through 4 (of 4 total)