FTP question

HI,

I can't use the ZP admin to upload images because I have issues with SAFE MODE which has been discussed previously in past posts.

I have tried FTPing the files to my server, but I think I'm doing something wrong because no images appear. Could someone tell me exactly where I need to upload the images and what folders I may or may not need to create?

Thanks!
spellmank

Comments

  • You shoudl have 4 folders in your zp root
    albums
    cache
    themes
    zen

    Albums and cache folders should be chmod777

    you need to upload your photos to the albums directory inside of another folder.
    Example. Vacation Photos Albums would be
    zproot\albums\Vacation Photos\
    img1.jpg
    img2.jpg
    so on.jpg
    and so forth.jpg

    Are you getting any generated files in your cache directory?
  • Hi,

    I'm have everything setup as you described, but I'm not getting any generated files in my cache directory.

    spellmank
  • did you define your serverpath and webpath in the config.php file? and if mod-rewrite is set to true.. does your server support it?
  • i have the webpath defined, but whenever I define the serverpath my admin does not display at all i just get an error message that my albums can't be found. I had read in another post that i didn't really need the serverpath defined.

    My webpath is this:
    define('WEBPATH', '/wordpress/zenphoto');

    and if I were to uncomment and define the serverpath it would be this:
    define('SERVERPATH', '/var/www/vhosts/mywebsite.com/httpdocs/wordpress/zenphoto/albums');

    At least that is what I think they should be???

    spellmank
  • trisweb Administrator
    Spellmark, do the images "show up" as text in your gallery even though the images don't load? In other words, is zenphoto finding them?

    Can we see your gallery to help diagnose the problem?
  • does your server support mod-rewrite.
    If it does not support it.. do you have modrewrite set to false in the config.php in the zen folder?

    if it does.. do you have the zenphoto .htaccess file in the zenphoto root folder?
  • I believe the server does support mod-rewrite, but will verify.

    I do have the .htaccess file in the zenphoto root folder.

    I just noticed this in the config file:

    // If you have Apache mod_rewrite, put true here, and you'll get nice cruft-free URLs.
    // MAKE SURE TO EDIT THE .htaccess FILE with your path information.

    which path should I add to the .htaccess file?

    spellmank

    BTW- Thanks for all your help so far!
  • The server does support mod_rewrite.
  • your path should be

    /wordpress/zenphoto
  • Changing the .htaccess file did the trick.

    Again, thanks so much for all your help!

    spellmank
Sign In or Register to comment.