e2interactive forums » Sample of (E)2 Photo Gallery

Search:

error messsage - can't upload images

(10 posts)

  1. Help, I've uploaded the files, but when I go to my site to log in to the uploader (http://www.yoursite.com/gallery_location/uploader), nothing comes up except this error message (see below). Any suggestions? Thank you! Melissa

    Warning: main(../config.php): failed to open stream: No such file or directory in /home/content/T/h/e/TheBoss128/html/images/uploader/index.php on line 2

    Fatal error: main(): Failed opening required '../config.php' (include_path='.:/usr/local/lib/php') in /home/content/T/h/e/TheBoss128/html/images/uploader/index.php on line 2

    Posted 5 months ago #
  2. Line 2, that's wierd. The config file is not included until line 53. I wonder if the file on unzip, stripped all the white space. Thus causing the problem.

    Open the index.php file and let me know if the code looks formatted like this:

    http://www.e2interactive.com/blog/forums/images/screenshot_01.gif

    Posted 5 months ago #
  3. What code should I be looking at? I'm not sure if you mean it should have that link somewhere in the text or that another line of text should look like that. I'm not sure where to look.

    I also managed to upload some photos, but when I go to the main page of my website it is blank. On some browers it comes up with the messag"

    'Path is not a directory: ../images'

    Did I type in the name incorrectly? How should the directories for the 'images' and image thumbnails' be typed?

    Thanks!

    Posted 5 months ago #
  4. Ah, I've figured it out, almost. I had the images path listed incorrectly in the config.php file. However, now I still have to manually move the images to the correct folders (images folder and imagethumbs folder). The uploader is putting the files in the uploader folder instead of the images and imagethumbs folder.

    Another question, though...how do I customize the gallery page (add a menu with links to other pages, for example).

    Thanks so much!

    Melissa

    Posted 5 months ago #
  5. In the config.php file the path to your image is relative to the index.php file. When using the uploader, the folder location is realtive to your uploader folder location. If you are using the default setup then in the config file your folder location would be:

    $gallerypath="images";
    $thumbpath="imagethumbs";

    and in the uploader section you'd put

    ../images/ and ../imagethumbs/

    If you want to put links to the side or around the gallery, you just need to keep intact the html you see there within the body. If you mess with <div> tags or eliminate any you could break the gallery.

    Posted 5 months ago #
  6. OK, me again. I had everything up and running, but then decided to make only the one stylesheet available. I managed to do that, but now, only the thumbnail image is showing, not the main image (the "loading" symbol is working, but the image isn't loading). Any suggestions?

    Thanks!

    Posted 5 months ago #
  7. I pulled your page up in firefox using the firebug extension and it gave me two errors:

    thumbnailnum is not defined  # (line 95)
    [Break on this error] <script type="text/javascript">if(thumbnailnum>maxthumbvisible...
    
    thumbnailnum is not defined  # (line 92)
    [Break on this error] <script type="text/javascript">if(thumbnailnum>maxthumbvisible...

    Which means you've erased more than just the style sheets.

    Posted 5 months ago #
  8. OK, thanks! I've gone back over the instructions on how to make only one stylesheet available, but I can't figure out what I'm doing wrong. I think I handled the instructions choosing a stylesheet (at the top) correctly, however, things seem to go wrong when I swop the text after the tag '<div id="thumbtoggler">'

    I am supposed to delete everything BETWEEN '<div id="thumbtoggler">' and the very next '</div>' tag, right, and replace it with the text listed. I've done that but things aren't working. Only the thumbnails are showing. For some reason it isn't downloading the main images in the gallery.

    Thanks!

    Posted 5 months ago #
  9. So your currently not including the mootools.v1.11.js, e2photo.js and e2photo2.js files correctly. Without those referenced correctly the gallery will not work. The path you have on them is: e2_photo_gallery_full/js/mootools.v1.11.js, e2_photo_gallery_full/js/e2photo.js and e2_photo_gallery_full/js/e2photo2.js

    If you fix these to be referenced correctly you might not have the errors you're getting

    Posted 5 months ago #
  10. It works! WOO HOO! Thanks so much!

    Posted 5 months ago #

RSS feed for this topic

Reply

You must log in to post.