coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: Gurby on May 26, 2008, 09:01:32 PM

Title: [Solved]: Server move - fatal error on opening an include
Post by: Gurby on May 26, 2008, 09:01:32 PM
After my hosting provider moved my coppermine to an other server, I get a fatal error.

The error
Fatal error: require_once() [function.require]: Failed opening required 'bridge/coppermine.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /xxxxxxxxxxxx/include/init.inc.php on line 239

Tried so far
Title: Re: Server move - fatal error on opening an include
Post by: Hein Traag on May 27, 2008, 06:37:02 AM
Did you try reuploading the entire bridge dir from a freshly download 1.4.18 package ? Just to make sure the version you got is not corrupted in anyway.
Your include path looks to be ok, so it can't be that. Make sure your host had checked that it is set correctly for your new site location.
Title: Re: Server move - fatal error on opening an include
Post by: Gurby on May 27, 2008, 07:25:30 PM
I got a message from my hosting provider today: they fixed the issue. Don't know what they fixed or what caused the issue exactly, but I will ask (for future reference of this topic).

@Hein: yes, I uploaded the complete 1.4.18-package with ftp, so the bridge dir was part of it. (I used the option 'overwrite always' in stead of the default 'overwrite when newer' which gave my problems at installing an cpg update last year.)
Title: Re: [Solved]: Server move - fatal error on opening an include
Post by: Gurby on May 28, 2008, 09:39:13 AM
The permissions of the bridge folder were incorrect. They are 755 now.
(I'm not sure what they were, but with 644 I can reproduce the error.)