ZenphotoCMS Forum
No graphics or images in Zenphoto! - 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: No graphics or images in Zenphoto! (/thread-2648.html)



No graphics or images in Zenphoto! - dominicwitherow - 2008-04-10

I have just installed Zenphoto and all I get is some basic text, some space fillers instead of images and no links that work! When I first logged in it seemed ok and the admin pages seem to work too, but I can't view the gallery at all. Address is http://www.sandbb.com/zenphoto . I am hosted by Dreamhost, but I did the custom install (ie downloaded the package from zenphoto.org and then uploaded it to my server and ran the setup).

Can anyone help? This is the first time I have set up anything on the web and I will need to be spoon-fed any instructions!

Thanks very much, in advance.
Dominic




No graphics or images in Zenphoto! - AlexWilson - 2008-04-10

It looks like it thinks it is installed in a directory called "/cgi-system/" and not "/zenphoto/"




No graphics or images in Zenphoto! - dominicwitherow - 2008-04-10

Any idea how I can resolve that?




No graphics or images in Zenphoto! - AlexWilson - 2008-04-10

/zenphoto/zp-core/setup.php shows your rewrite base as /, which I don't think is correct, it should be /zenphoto

Look in the zp-core/zp-config.php file, down at the bottom, there are two commented-out lines, try uncommenting them and setting them:

`define('WEBPATH', '/zenphoto');

define('SERVERPATH', '/zenphoto');`

you'll need to find out what the actual path is for your directory. Then try running setup.php again.




No graphics or images in Zenphoto! - dominicwitherow - 2008-04-10

Thanks Alex. I've done that now and after setup (which went fine) it gives me this message:

"Error: The 'albums' directory (http://www.sandbb.com/zenphoto/albums/) cannot be found."

I am looking at the folder in my ftp window right now AND the setup said it was there alright. Any ideas?

Dominic




No graphics or images in Zenphoto! - AlexWilson - 2008-04-10

setup still says
.htaccess RewriteBase is /

try changing the .htaccess file in /zenphoto so that it has a RewriteBase set to /zenphoto




No graphics or images in Zenphoto! - dominicwitherow - 2008-04-10

OK, I've played around a bit more and found I had the wrong host address, so I have now sorted that out. However, now I have another issue - ie no thumbnails are visible for uploaded images and when the picture is clicked on I get this error message:

"Not Found
The requested URL /index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

I can't find any reference to the index file (which appears to be in the root zenphoto directory in my ftp window) in the config file, so can anyone point me in the right direction?

Thanks
Dominic




No graphics or images in Zenphoto! - dominicwitherow - 2008-04-10

Just seen your latest Alex. I don't see anything called .htaccess. How do I find it?

Thanks
Dominic




No graphics or images in Zenphoto! - AlexWilson - 2008-04-10

Hmmm... files with a . at the start of the name might be hidden by default... not sure if DreamHost uses cPanel or something else, but with cPanel you have the option to show hidden files.




No graphics or images in Zenphoto! - dominicwitherow - 2008-04-10

I think I've fixed it! I looked round some other posts and then disabled something called 'mod_rewrite' in the galleries options and it seems to be working fine now.

Thanks SO much for your help Alex!

Best wishes
Dominic