e2interactive forums » (E)2 Photo Gallery FAQ

Search:

Error:'tempgallery'

(9 posts)

Tags:


  1. ioseba
    Member

    Hello, I have a problem in this url http://www.goierritelebista.com/e2/

    Line:17
    Char:1
    Code:0
    Error:'tempgallery' no está definido
    URL:http://www.goierritelebista.com/e2/

    Line:64
    Char:1
    Code:0
    Error:'tempgallery' no está definido
    URL:http://www.goierritelebista.com/e2/

    Posted 1 year ago #
  2. Did you set up the variable in the config.php file? See this page if you haven't: e2 Gallery Set Up

    Posted 1 year ago #
  3. ioseba
    Member

    Yes I did it. And I can upload the images. You can try it http://www.goierritelebista.com/e2/uploader

    user: e2 pass: interactive

    What is the tempgallery function?

    Thanks.

    Posted 1 year ago #
  4. Where are you images stored?

    Your path for the $gallerypath and $thumbpath must not be set correctly. The tempgallery grabs the files inside the $gallerypath and creates an array of those files. Looking at your source the array and thumbnails aren't being output which will cause the Error:'tempgallery' is not defined.

    if your gallery is at:

    http://www.goierritelebista.com/e2/

    and your images are at:

    http://www.goierritelebista.com/e2/images
    http://www.goierritelebista.com/e2/imagesthumbs

    set your $gallerypath in the config file like so

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

    Posted 1 year ago #
  5. ioseba
    Member

    I did it. See this video with my configuration:

    http://www.goierritelebista.com/e2/e2.wmv

    Thanks.

    Posted 1 year ago #
  6. With your current set up, set your image path to:

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

    I forgot that the absolute path doesn't work. Only a relative path to the index.php file.

    Posted 1 year ago #
  7. ioseba
    Member

    I did it in two index.php

    Now I have only one error, but i can´t view pics and photos

    Posted 1 year ago #
  8. You shouldn't need to edit the index.php file at all, if you did, that might be the problem. You only need to edit the config.php file. I'd recommend downloading the gallery again and updating the file with fresh files. then only edit the config.php file.

    Because I can't see what you changed on the index.php files I couldn't tell you what you did to them that might be causing the problem.

    I do see that it is getting the file names put into the array, but you seemed to have edited a variable that is now causing the error.

    Posted 1 year ago #
  9. ioseba
    Member

    Ok, thanks. That is the problem.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.