coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: gretchi on January 11, 2008, 08:21:01 AM

Title: Fatal Error
Post by: gretchi on January 11, 2008, 08:21:01 AM
I've had this error almost 2 years ago but that's a different story. I got the same message after I uploaded 1,000+ pics. I just installed the newest version last week and never had a problem till now!!

Fatal error: main() [function.require]: Failed opening required 'bridge/coppermine.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/awill/public_html/gallery/include/init.inc.php on line 239

so any help would be great!
Title: Re: Fatal Error
Post by: Joachim Müller on January 11, 2008, 08:22:22 AM
Post a link to your gallery for a start.
Title: Re: Fatal Error
Post by: gretchi on January 11, 2008, 08:24:19 AM
sorry that would help wouldnt it?

http://amazingwill.net/gallery/index.php
Title: Re: Fatal Error
Post by: Joachim Müller on January 11, 2008, 08:49:52 AM
The file the error messages "complains" about (http://amazingwill.net/gallery/bridge/coppermine.inc.php) is inaccessible - I get a 403 error. Review permissions and make sure that there is no improperly-configured hotlink script (.htaccess file) that keeps coppermine from accessing that file. If you're not sure what to do, ask your webhost for support (you're welcome to show them this thread).
Title: Re: Fatal Error
Post by: gretchi on January 11, 2008, 09:21:15 AM
the permissions in my ftp or the database?
Title: Re: Fatal Error
Post by: gretchi on January 12, 2008, 06:08:06 AM
well i reuploaded everything and it still doesn't work. the file is in my ftp = both showing off on my ftp and the cpanel. its so weird. i guess i'll start all over again, ugh.
Title: Re: Fatal Error
Post by: gretchi on January 12, 2008, 06:09:09 AM
*both showing on both of my ftp and cpanel.....
Title: Re: Fatal Error
Post by: Joachim Müller on January 12, 2008, 11:15:06 AM
Do as I suggested then:
Quote from: Joachim Müller on January 11, 2008, 08:49:52 AM
If you're not sure what to do, ask your webhost for support
Title: Re: Fatal Error
Post by: gretchi on January 13, 2008, 07:27:24 AM
everything is in the folder, including the .htaccess. i asked my webhost but she asked if i mentioned about the file being there. i reuploaded quite a few times.
Title: Re: Fatal Error
Post by: Joachim Müller on January 13, 2008, 01:01:35 PM
What's the content of the .htaccess file then?
The answer of your webhost is invalid - I'm aware that the file is there. If it wasn't there, you'd be getting a "404 not found" error. But you do get a "403 forbidden" error. Quite frankly: if you have shown this thread to your webhost and your webhost was not able to make heads or tails of my reply, you should really look for another webhost who knows his way around.
Title: Re: Fatal Error
Post by: gretchi on January 13, 2008, 03:43:51 PM
oh i didn't know what shows for 403 and 404. interesting.  yea i dont think she knows much? here's the content, is it supposed to say allow instead of ignore? I was going to try that but i didnt.

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName amazingwill.net
AuthUserFile /home/awill/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/awill/public_html/_vti_pvt/service.grp
Title: Re: Fatal Error
Post by: Joachim Müller on January 14, 2008, 07:16:04 AM
That should not interfere. Maybe an .htaccess file in a folder above yours interferes. Again: ask your webhost for support.
Title: Re: Fatal Error
Post by: gretchi on January 21, 2008, 05:37:47 AM
go ahead and make this solved. i was told to reinstall and its working fine now. thanks.
Title: Re: Fatal Error
Post by: Joachim Müller on January 21, 2008, 08:48:30 AM
Thanks for returning and posting your solution. However, that piece of advice from your webhost (un-installing and re-installing) was very incompetent from your webhost - they chose the easy way out and did not bother to look into this for you. Re-installing is a matter of brute-forcing the error message to go away. Your webhost should instead have look into your webspace, searching for .htaccess files that are being taken into account for your webspace.
Title: Re: Fatal Error
Post by: gretchi on January 21, 2008, 04:55:05 PM
well this is what my host's server manager said:

This appears to be an incorrect setting or corrupt file in their gallery. I checked all the server settings and it is showing a mismatch, and not any actual server error

Do you have a working backup we can restore?

That basically means you'd have to reinstall :(
Title: Re: Fatal Error
Post by: Joachim Müller on January 21, 2008, 06:07:38 PM
They told you bull*. But after all, this incident should hopefully teach you the importance of frequent backups.
Title: Re: Fatal Error
Post by: gretchi on January 22, 2008, 01:25:35 AM
well i didn't know. i'm not a tech person. i didn't have to redo any of the settings, it was still there. so all i have to do is upload the pics.