I desperately need help...(i'm sorry if this is in the wrong section, I have no idea where to put it! I'm not that familiar with these things..)
I'm helping a friend update the gallery on her site while she is out of the country, and i accidentally moved a folder. now i get this error:
"Fatal error: require_once() [function.require]: Failed opening required 'bridge/coppermine.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lalaina/public_html/gallery/include/init.inc.php on line 243"
and I have NO idea how to fix it.
Can anyone help, please? I'd REALLY appreciate it. I was in the gallery folder under albums, if that helps. I was moving folders in another window and accidentally clicked the FTP window up and clicked a folder and it moved it. I have no idea what folder it was...
Thank you in advance!
ok well my friend got rid of the error message..but now instead of going to the gallery, the gallery link just goes to the homepage and says error 404.
this is the site: www.l-alaina.net
if anyone can help i'd really appreciate it..thank you!
Quote from: Crayons on July 26, 2011, 11:28:05 PM
i accidentally moved a folder. now i get this error:
"Fatal error: require_once() [function.require]: Failed opening required 'bridge/coppermine.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lalaina/public_html/gallery/include/init.inc.php on line 243"
Obviously you moved the
bridge folder.
Quote from: Crayons on July 27, 2011, 06:01:39 AM
now instead of going to the gallery, the gallery link just goes to the homepage and says error 404.
http://l-alaina.net/gallery/ automatically redirects to http://l-alaina.net/gallery-update/, so we're not able to have a look at your gallery.
where should the bridge folder be so i can move it bacK? my friend played around with it and got the error to go away, but when you click on anything from the gallery it doesn't work. it just re-directs to that update page and if you click on a picture, it just says error 404.
Have a look at the official Coppermine package. The bridge folder resides in the gallery root.
is there a place i can download that? i'm not the one who set up the FTP, it's my friends i'm just helping out. she is in England and won't have internet access until she gets home in like a month.
oh wait...I see the bridge folder, but its not in the gallery part. or even in the www folder. it's outside of everything....should i move it into the www folder under gallery? will that solve my problem?
Quote from: Crayons on July 27, 2011, 05:19:15 PM
should i move it into the www folder under gallery? will that solve my problem?
No, you have to move it to the gallery folder as I already explained. Click the download button at the top of the page to get the Coppermine package (if you need it at all).
i did move it to the gallery folder, but it did nothing. my gallery folder is in the www folder.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg855.imageshack.us%2Fimg855%2F6021%2Fscreenshot20110727at121.png&hash=b4e7b2e167c3b09e84f66ee985ed930e119b9ecf)
whoops. that didn't work haha
For a start, please disable the redirection to http://l-alaina.net/gallery-update/
can you tell me how i might do that? (this isn't my site, i'm afraid to mess it up even more and have no idea how to do any of this lol)
No I can't. Ask the person who activated it.
alright, then i guess i'm stuck until she gets home from england.
one of my friends said she made the gallery directory executable, and set its permissions to 777. and that's when it redirected to that page for some reason. but she doesn't know why it directed to that page...
If the gallery isn't accessible, where do you get the gallery error message from?
because that's what it told me, until my friend did the thing i just mentioned in the last post - about setting the permissions to 777...to get rid of the error message. and then for some reason it started re-direction to that gallery update page. and we don't know why.
As the hosting provider for support if you have no clue how to disable the redirection.
hmm ok, im not sure who the host is. i'll see if i can find out
i found the host and emailed them. will let you know if i can get it back to going to the gallery page, thank you!
ok the redirection has been disabled. but i am still getting a '404 not found' error. any idea what i should do now?
Something is definitely wrong on your webspace. If that folder definitely exists, your host has to correct the 404 error.
i can post screencaps of my FTP site..will that help you out? to see if everything is in the right spot? and then from there if nothing is wrong, then I will contact the host again.
What are the contents of the folder Gallery?
http://l-alaina.net/gallery/
Are you absolutely certain there are no .htaccess files within that folder / site root / or elsewhere that might be causing the problem? Could another app on the site be interfering? If you are not sure, ask your host for some help.
here are screencaps of the gallery folder. if that all looks ok to you then I will contact the host.
(thank you so much by the way!)
The bridge folder is still missing from the gallery folder. For some reason you have it outside this on your server. see the first screen grab in this post, http://forum.coppermine-gallery.net/index.php/topic,73232.msg352815.html#msg352815
Download a fresh copy of coppermine and unzip it. And then upload the bridge folder from the copy you unzipped to your gallery folder via FTP.
ok, i did that. it still says error 404 - not found. guess i'll have to email the host again..thanks!