After my hosting provider moved my coppermine to an other server, I get a fatal error.
The errorFatal 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 239Tried so far- I had the error in Coppermine 1.4.13 and I upgraded to 1.4.18 - copied all the files and ran update.php -, but that didn't help.
- I compared the php_info output with another server where another site with coppermine runs: no specific differences.
- I googled on the error: there are a few coppermine sites live who give the same error, but no solutions present.
- I searched this forum on the error and on moving cpg to another server: no solutions found.
- I re-uploaded the file coppermine.inc.php and init.inc.php: that didn't help.
My configuration
- URL: www.tenhove.com/foto
- My Coppermine isn't bridged with other software.
- Apache version 1.3.39 (Unix)
- PHP version 5.2.5
- MySQL version 4.1.22-standard
Does anyone has a clue?
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.
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.)
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.)