forum.coppermine-gallery.net
Support => Older/other versions => cpg1.3.x Support => Topic started by: atari on June 17, 2004, 01:15:33 am
-
Hi,
I am trying to include the main index.php into my existing site using php include statements...
if ($page=="pictures") {include("../xxxxxxxx/content/gallery/index.php"); };
not sure why but I can't get this to work, I get the following error...
Coppermine Photo Gallery seems not to be installed correctly, or you're running coppermine for the first time. You'll be redirected to the installer. If your browser doesn't support redirect, click here.
(I have already installed everything!)
I also lose all my css settings for my site when I get this error??
If I specify the url directly all works fine and I can see the albums etc. ( www.hostname.co.uk/xxxxxxxxx/gallery/index.php )
Any ideas? I can't take much more but CPG seems exactly what I need.
Thanks
:)
-
CPG just doesn't work that way. It's much more complex than a simple include.
-
Shame that, thanks anyway.