PhotoStack

Beta 352

No ZIP beta is available until the next revision.

r352 is now available for download. http://photostack.org/releases/beta-352.zip

Permissions problems are not fixed. Line 79 in io_csv.php should read $fp = fopen($this->config->base_path.$this->config->pathto_galleries.$gallery->id."/metadata.csv","w");

  • Permissions problems should be null and void, if you are having any, let me know.
  • htaccess/mod_rewrite stuff was fixed.
  • ImageMagick and GD libraries are supported and working correctly.
  • Upload panel is now smart, detects a ZIP or Image file.
  • You can now upload a ZIP with folders in it!
  • Tons of little fixes. I think we’re getting close.

(Hint for TXDers: You won’t have to fix permissions on galleries ever. Paths to Unzip are: /usr/local/bin/unzip Path to Convert is: /usr/local/bin/convert)

15 Comments

  1. kermit said,

    October 3, 2005 @ 2:42 pm

    Still having problem as before. Could not create gallery info, could not add image to gallery. Permission probs. ?

  2. noel said,

    October 3, 2005 @ 4:07 pm

    kermit, try doing a fresh install - also, any errors you can report helps. also, be as specific with your system. PHP4 or 5, mod_php or suexec?

    -Noel

  3. andrew said,

    October 3, 2005 @ 6:46 pm

    same permission problem as kermit — new install

    it looks like the new gallery folder is being created with a 755 permissions when it really needs to be 777.

  4. noel said,

    October 3, 2005 @ 7:28 pm

    Andrew and Kermit,

    Are you ACTUALLY setting the permissions first. Of course the folder will be created with 755, however you should set it to 777 then all subsequent galleries will be created successfully.

  5. noel said,

    October 3, 2005 @ 7:30 pm

    Also, when commenting, tell me which version of PHP you are using.

  6. noel said,

    October 3, 2005 @ 7:39 pm

    Found the problem with all of you (I think it is a php 4 issue) here is the fix:

    line 79 in io_csv.php should read:

    $fp = fopen($this->config->base_path.$this->config->pathto_galleries.$gallery->id.”/metadata.csv”,”w”);

    (minus realpath())

  7. Adrian Rinehart-Balfe said,

    October 3, 2005 @ 8:02 pm

    Noel, having the same issue with editing options overlaying the photo, possibly just a CSS issue as it doesn’t happen on IE, just Opera and Firefox. I’ll have a poke around in the CSS in case I can find the problem for you. You can concentrate on the heavy-duty php stuff!

  8. Adrian Rinehart-Balfe said,

    October 3, 2005 @ 8:21 pm

    I think my problem might be related to the size of my images. I added ‘clear: both;’ to the fifty-fifty class and now the editing options are below the image. Some of my images overflow from the 650px wide ‘wrap’. I have the image resize option disabled in my config. Once the final release is out I’ll change the CSS to suit me so unless others are coming across this issue, you shouldn’t worry about it.

    In your original plan, where should the image editing options be in relation to the image?

  9. noel said,

    October 3, 2005 @ 8:37 pm

    The admin template is generally left alone and all image sizes should stay the same. Did you edit admin.php?

  10. noel said,

    October 3, 2005 @ 8:42 pm

    Adrian!!! Thank you! found the problem, will be fixed in the next beta. I’ll get it out tonight too.

  11. Andrew said,

    October 3, 2005 @ 9:51 pm

    This is great. Almost everything that I’ve tried is working. One thing is strange though, on the main page, the thumbnail for a gallery always shows up as the standard browser question mark. When I try to create thumbnails, I get a bunch of errors on line 315, 319, and 323 in the file admin.class.php. The error reads:

    Warning: fopen(): URL file-access is disabled in the server configuration in [path name here]

  12. Stacey said,

    October 3, 2005 @ 11:34 pm

    I am now able to upload, save, edit and delete images! So that’s great. But, I still cannot create new galleries and I can’t delete the existing one either. When I try to delete the gallery on the first page, I get this text: An error occurred: We could not delete this gallery, perhaps it doesn’t exist, or the permissions aren’t correct?

    Not sure if this will help, but here are lots of details:

    I did install beta 352 from scratch
    I did correct line 79 in io_csv.php (as specified above)
    And I made sure to first set all of the permissions for config.main.php, config.users.php, cache (dir), galleries (dir) to 777
    I edited config.main.php so that the file paths were correct
    oh, and I turned mod rewrite on and made mod_rewrite.htacces into .htaccess
    however, when I realized that the gallery problem was still happening, I turned mod rewrite off and added mod_rewrite back in front of .htacess

    Here are my server details (it’s Bluehost):

    Operating system: Linux
    Kernel version: 2.6.9-11.ELsmp
    Apache version: 1.3.33 (Unix)
    PHP version: 4.3.11

    Thanks,
    Stacey

  13. Adrian Rinehart-Balfe said,

    October 4, 2005 @ 12:50 am

    Glad to have been of assistance Noel. That slight tweak to the admin CSS has been the only change I have made. I kinda figure that finding problems in a modified beta program is a less than pointless exercise. I’m pleased that it is near to release, my Wife has been nagging me about setting it up for her sites!

  14. noel said,

    October 4, 2005 @ 1:30 am

    Stacey, if you’ll let me have FTP access and give me a url i’ll take a look at it - mind-boggling

    noel [at] noeljackson [dot] com

  15. David Kapp said,

    October 4, 2005 @ 4:20 am

    I just wanted to let you know I got the Beta 352 working perfectly tonight and want to thank you for such great software. I have already been busy customizing it.

    Here is a link to my little customization as of tonight. Hard telling where it will go from here. I noticed your site doesn’t have any screenshots, so let me know if you want some.

    http://www.lifekapptured.com/gallery/

    BTW> I changed Line 79 in io_csv.php like you suggested, and never had a problem since.

    Thanks again.
    Dave

RSS feed for comments on this post · TrackBack URI