ZenphotoCMS Forum
FTP question - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: FTP question (/thread-512.html)



FTP question - spellmank - 2006-05-15

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




FTP question - Chilifrei64 - 2006-05-15

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?




FTP question - spellmank - 2006-05-15

Hi,

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

spellmank




FTP question - Chilifrei64 - 2006-05-15

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?




FTP question - spellmank - 2006-05-15

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




FTP question - trisweb - 2006-05-15

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?




FTP question - spellmank - 2006-05-15

http://www.karaspellman.com/wordpress/zenphoto/index.php?album=amer-mod




FTP question - Chilifrei64 - 2006-05-15

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?




FTP question - spellmank - 2006-05-15

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!




FTP question - spellmank - 2006-05-15

The server does support mod_rewrite.




FTP question - Chilifrei64 - 2006-05-15

your path should be

/wordpress/zenphoto




FTP question - spellmank - 2006-05-15

Changing the .htaccess file did the trick.

Again, thanks so much for all your help!

spellmank