Advanced search  


cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.

Pages: [1]   Go Down

Author Topic: include not working  (Read 4814 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 2
include not working
« on: June 17, 2004, 01:15:33 am »


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. ( )

Any ideas? I can't take much more but CPG seems exactly what I need.




  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Re: include not working
« Reply #1 on: June 17, 2004, 01:18:37 am »

CPG just doesn't work that way. It's much more complex than a simple include. 
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull



  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: include not working
« Reply #2 on: June 17, 2004, 02:03:20 pm »

Shame that, thanks anyway.
Pages: [1]   Go Up

Page created in 0.02 seconds with 19 queries.