Advanced search  

News:

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.
[more]

Pages: [1]   Go Down

Author Topic: Problem with paths  (Read 5954 times)

0 Members and 1 Guest are viewing this topic.

FrankD

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Problem with paths
« on: October 14, 2004, 09:10:44 am »

Hi,
I have a perfect working version of the 1.2 Coppermine.
When I upgrade to 1.3.2 the problem is after the upgrade the paths are not correct.
I tried to upgrade the paths in the index.inc.php but that doesn't solve it completly.

Is there another file I need to add the paths ?

Greetings,
Frank
« Last Edit: October 22, 2004, 12:48:27 pm by GauGau »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Problem with paths
« Reply #1 on: October 14, 2004, 01:19:01 pm »

What paths aren't correct?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

FrankD

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Problem with paths
« Reply #2 on: October 14, 2004, 09:54:52 pm »

If you see the paths in the source, it's spelled as ../include
While it should be /web/www.doorhof.nl/models/include

So I changed that in one source file but I believe there are more sources ???

Greetings,
Frank
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with paths
« Reply #3 on: October 14, 2004, 11:09:20 pm »

I tried to upgrade the paths in the index.inc.php but that doesn't solve it completly.
There's no file "index.inc.php" in coppermine. What version are you using?

Joachim
Logged

FrankD

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Problem with paths
« Reply #4 on: October 15, 2004, 06:59:29 pm »

I'm very sorry it was the init.inc

You can find the album on www.doorhof.nl/models

Greetings,
Frank
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with paths
« Reply #5 on: October 15, 2004, 09:38:20 pm »

you're using cpg1.3.0
Upgrade to the latest stable release cpg1.3.2

Joachim
Logged

FrankD

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Problem with paths
« Reply #6 on: October 18, 2004, 10:18:53 am »

That's the problem :D.
When I do that I get the path errors.
Logged

FrankD

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Problem with paths
« Reply #7 on: October 18, 2004, 10:29:43 am »

Warning: main(include/config.inc.php): failed to open stream: No such file or directory in /home/.sites/143/site2/web/privat/include/init.inc.php on line 201

Fatal error: main(): Failed opening required 'include/config.inc.php' (include_path='/usr/sausalito/ui/libPhp:/usr/sausalito/ui/web') in /home/.sites/143/site2/web/privat/include/init.inc.php on line 201
Logged

FrankD

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Problem with paths
« Reply #8 on: October 18, 2004, 10:36:00 am »

Warning: main(include/functions.inc.php): failed to open stream: No such file or directory in /home/.sites/143/site2/web/privat/include/init.inc.php on line 223

Fatal error: main(): Failed opening required 'include/functions.inc.php' (include_path='/usr/sausalito/ui/libPhp:/usr/sausalito/ui/web') in /home/.sites/143/site2/web/privat/include/init.inc.php on line 223

This happens after changing the paths in the init.inc
And here I'm stuck :(.

Greetings,
Frank
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with paths
« Reply #9 on: October 18, 2004, 06:32:56 pm »

This happens after changing the paths in the init.inc
I don't understand: why are you changing paths, you're not supposed to?

Joachim
Logged

FrankD

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Problem with paths
« Reply #10 on: October 18, 2004, 08:34:29 pm »

Very simple when I don't I get the first error.

I have 3 albums running.
One has been upgraded and works perfect after editing the paths in the init.inc
The other two won't run any other way even after that upgrading.

Do you know if it possible to make a whole new install and than copy all the pictures over, they both have an enormous ammount of pictures.
Otherwise I have to be stuck on 1.3.0

I have to say that the install is in a subdirectory so www.doorhof.nl/models and not in the root www.doorhof.nl maybe that's the problem ???

Greetings,
Frank
Logged

Nibbler

  • Guest
Re: Problem with paths
« Reply #11 on: October 18, 2004, 09:24:27 pm »

Playing with paths isn't the answer - fixing your include_path setting is. It is not allowing includes from the same directory.
Logged

FrankD

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Problem with paths
« Reply #12 on: October 18, 2004, 11:58:54 pm »

please rewind that one and explain so I can understand :D.

I can fiddle a bit in the meantime but I really need a bit more explanation my friend, thanks for helping me solve this by the way.

There must indeed be a path problem because for example my ratings also doesn't show, it shows in the small area's the correct gifs/path but when I ask top rated it gives a whole lot longer path.

Please help ???

Greetings,
Frank
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Problem with paths
« Reply #13 on: October 19, 2004, 12:41:59 am »

include_path is a php.ini setting.  That's what needs to be fixed.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

FrankD

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Problem with paths
« Reply #14 on: October 22, 2004, 09:12:11 am »

I will post this to my provider.

Thanks,
Greetings,
Frank
Logged

FrankD

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Problem with paths
« Reply #15 on: October 22, 2004, 10:12:07 am »

Problem solved by provider :D.
Not php.ini but something with rights.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 15 queries.