Menu

Unable to open - looks like extra / in code

Help
2000-10-05
2000-10-06
  • Keith Pettit

    Keith Pettit - 2000-10-05

    First of all.  I love the program.  It's clean, simpple and was fairly easy to install except for this glitch.

    It looks like there is an extra / in the code somewhere.  Here is the error I'm getting

    Warning: Unable to open /usr/local/httpd/htdocs/phpix/albums//Angelita/DSC00007__scaled_120.jpg in /usr/local/httpd/htdocs/phpix/index.phtml on line 101

    Notice the extra / after the album name.  Please let me know what I need to do to fix this.  This is the 5th image program that I've tried and I think this one will do what I want. 

    Thanks again for the great program.

    Keith

     
    • Robert A. Holak

      Robert A. Holak - 2000-10-06

      I looked through my apache logs and none of the requests appeared to have double slashes.  Double slashes should not usually be a problem either, unless maybe apache is more strict about these things.
      Another possibility is that the image is not being created. I remember that, using ImageMagick from within PHP, I did not see an error saying that the image was not created, but then I got the error you got.
      I would be happy to chat with you on IRC and we can track down the problem tomorrow?  Look for me on EFNET - I will make a #PHPix channel.
      Good luck.

       
    • Anonymous

      Anonymous - 2000-10-06

      Actually, I got a similar error, but the double slashes weren't the culprit (as well they shouldn't be.) My apache error logs were throwing an ImageMagick error, which I was able to fix by changing the "-scale" argument to convert into "-geometry".

      I made that change and a couple of font and color tweaks to make the albums match the rest of my site, and otherwise this program was really easy to use, and awfully robust. Hooray!

       
      • Robert A. Holak

        Robert A. Holak - 2000-10-06

        You can also change "-scale" to "-sample", as I did in 1.0.1 release - what is your URL if I may check out your album, and let me know if you want me to post a link to it on my page.  I will be making a list of albums created by PHPix users (that want me to post their site of course) There is no hidden tracking in there heh heh :_)

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.