coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: FrankD on October 14, 2004, 09:10:44 AM

Title: Problem with paths
Post by: FrankD 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
Title: Re: Problem with paths
Post by: kegobeer on October 14, 2004, 01:19:01 PM
What paths aren't correct?
Title: Re: Problem with paths
Post by: FrankD 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
Title: Re: Problem with paths
Post by: Joachim Müller on October 14, 2004, 11:09:20 PM
Quote from: FrankD on October 14, 2004, 09:10:44 AMI 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
Title: Re: Problem with paths
Post by: FrankD 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
Title: Re: Problem with paths
Post by: Joachim Müller on October 15, 2004, 09:38:20 PM
you're using cpg1.3.0
Upgrade to the latest stable release cpg1.3.2

Joachim
Title: Re: Problem with paths
Post by: FrankD on October 18, 2004, 10:18:53 AM
That's the problem :D.
When I do that I get the path errors.
Title: Re: Problem with paths
Post by: FrankD 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
Title: Re: Problem with paths
Post by: FrankD 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
Title: Re: Problem with paths
Post by: Joachim Müller on October 18, 2004, 06:32:56 PM
Quote from: FrankD on October 18, 2004, 10:36:00 AMThis happens after changing the paths in the init.inc
I don't understand: why are you changing paths, you're not supposed to?

Joachim
Title: Re: Problem with paths
Post by: FrankD 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
Title: Re: Problem with paths
Post by: Nibbler 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.
Title: Re: Problem with paths
Post by: FrankD 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
Title: Re: Problem with paths
Post by: kegobeer on October 19, 2004, 12:41:59 AM
include_path is a php.ini setting.  That's what needs to be fixed.
Title: Re: Problem with paths
Post by: FrankD on October 22, 2004, 09:12:11 AM
I will post this to my provider.

Thanks,
Greetings,
Frank
Title: Re: Problem with paths
Post by: FrankD on October 22, 2004, 10:12:07 AM
Problem solved by provider :D.
Not php.ini but something with rights.