e2interactive forums » Sample of (E)2 Photo Gallery

Search:

Would e2 work with Apache server?

(10 posts)

Tags:


  1. Mehran
    Member

    I hvae apache server 2.x running and have not been able to get the e2 to run!

    Thanks,

    Posted 6 months ago #
  2. If your Apache server is running PHP then yes. I am running on an Apache server, but the Apache server has nothing to do with the script working, you need PHP to get the gallery to work.

    If you are having issues shoot me a link to your install and I can look at it and see if I can diagnose your problem. What errors are you having? What errors are you seeing?

    Posted 6 months ago #
  3. Mehran
    Member

    Thanks for the info. I installed the PHP and I got 90% of it working. Here are the issues I am experiencing:

    1. The forward and reverse arrows are not showing up for the imagethumbs.
    2. I get the following error message when using the uploader
    "Large Image Not Uploaded
    Error: Destination directory can't be created. Can't carry on a processThumbnail not created and not uploaded
    Error: Destination directory can't be created. Can't carry on a process"

    These pictures are not large at all.

    http://mehrans.selfip.com:8008/e2/index.php
    user: test
    passwd: 123

    Thanks

    Posted 6 months ago #
  4. Mehran
    Member

    BTW - I have done this too.

    ====================================

    Okay, sorry about that, but I have fixed this issue. You'll need to download the latest and replace the js/e2photo2.js file or download this file only:

    Download e2photo2.js update

    I have now fixed it and your thumbnails scrolling will work with this update.

    To be able to grab this file name, would be an easy change.

    Open up the getfolders.php file and find the following line (about line #58):

    echo "$galleryName";echo"[".$j."]=['".$path."/".$file[name]."', '".$width."', '".$height."', '".$size."', '".$title."', '".$author."', '".$copyright."', '".$description."', '".$j."']\n";

    change it to:

    echo "$galleryName";echo"[".$j."]=['".$path."/".$file[name]."', '".$width."', '".$height."', '".$size."', '".$file[name]."', '".$author."', '".$copyright."', '".$description."', '".$j."']\n";

    ===========================

    My browser shows an error message on the lower left corner, which points to the index.php file line 97 char 12 (<div id="thumbs">).

    I have not changed this file.

    Thanks,

    Posted 6 months ago #
  5. Do you have the GD or GD2 library installed with your php? It is what is needed to run the resizing part. You could simply resize the photos and ftp them to the appropriate folder, as long as you have images in the the folder allocated in the config.php file the gallery will work.

    Posted 6 months ago #
  6. Mehran
    Member

    The GD2 is installed now, but I am having the same issue with the forward and reverse arrows as well as the 1st picture is not loading.

    I only see these issues on the system that everything is installed, but everything looks normal and working when I use other computers!

    Why is that?

    Thanks,

    Posted 6 months ago #
  7. Mehran
    Member

    BTW - The interface counter is always showing one addtional pix than I have in my images and imagethumbs folders. The last picture is not displayed and it shrinks to a dot.

    Thanks

    Posted 6 months ago #
  8. Mehran
    Member

    I took care of the additional pix issues. For some reason every time I upload a pix a file "Thumb.db" gets generated and put in the images and imagethumbs folders.

    Why?

    Posted 6 months ago #
  9. If you are having the arrows and 1st image issue, download the latest files and replace the e2photo2.js file in the js folder.

    The Thumb.db file, I'd have no idea,. I am sorry I wouldn't be of much help with Apache or Server settings stuff, I mainly built websites in html and php. To be sure that my script ignores any file with the extensions of .db, you could open up the getfolders.php file and locate the following:

    if ($file == "." || $file == ".." || $file == ".DS_Store") continue; (You will find this 3 times in the file)

    and change it to:

    if ($file == "." || $file == ".." || $file == ".DS_Store" || $file == "Thumb.db") continue;

    See if that helps.

    Posted 6 months ago #
  10. Mehran
    Member

    Thank you for all your help.

    I fixed the Thumbs.db issue by turning on the "Do not cash thumbnails" under the folder view properties. Apparently this is a Microsoft generated file.

    I will try the latest e2photo2.js once more. As I mentioned before, this problem does not show up on other computers.

    Thanks

    Posted 6 months ago #

RSS feed for this topic

Reply

You must log in to post.