coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: MaverickLal101 on November 21, 2006, 07:00:10 PM

Title: Ok, no one can access my gallery
Post by: MaverickLal101 on November 21, 2006, 07:00:10 PM
www.shwetatiwari.net/gallery

I am sure the folder is there ::)

I was tweaking, adding plugins like copper ad (just moving the folder into plugins)
and suddenly boooooooom

I can't see anything...HTTP 403 Forbidden out of my own gallery :-[ ::)

can you see? access?
what do i do?
i backed it up last night, a lot of new pics added since then so putting backup in is last resort...

Please help... new to coding so instructions for a dummy will help. :D
Title: Re: Ok, no one can access my gallery
Post by: Hein Traag on November 21, 2006, 07:07:26 PM
Check the ftp settings for the gallery folder. If set to 755 you will be able to see the content of the folder and that means you can also see the CPG.

Cheers!
Hein
Title: Re: Ok, no one can access my gallery
Post by: Sami on November 21, 2006, 07:08:22 PM
It seems sef_url plugin mess ...
- Go to your gallery root and delete(or rename) .htaccess
- Remove sef_url entry from database (xxx_plugins) with a mysql tool such as phpmyadmin
Title: Re: Ok, no one can access my gallery
Post by: Hein Traag on November 21, 2006, 07:14:40 PM
Quote from: Sami on November 21, 2006, 07:08:22 PM
It seems sef_url plugin mess ...
- Go to your gallery root and delete(or rename) .htaccess
- Remove sef_url entry from database (xxx_plugins) with a mysql tool such as phpmyadmin


[ot]
Sami, i'd like to know how you detected that.. ie teach me  ;D, migt be usefull to me in the future.
Cheers!
Hein
[/ot]
Title: Re: Ok, no one can access my gallery
Post by: Joachim Müller on November 21, 2006, 07:22:14 PM
403 errors are usually not related to CHMODing (you either have permissions or you don't have them on file system level), but to .htaccess restrictions. Common newbie mistake is applying .htaccess hacks and not undoing them if things go wrong, which subsequently lead to 403 forbidden messages. If the entire gallery folder says forbidden, this is usually an indication for the sef_url being used without the needed precautions. So in the end Sami probably just guessed, based on his great experience.
Title: Re: Ok, no one can access my gallery
Post by: Hein Traag on November 21, 2006, 07:24:10 PM
Correct GauGau, that too is a cause of such problems. I replied with the solution i used on a friends CPG no too long ago.. :) he chmod the folder to 000  ;D

Cheers!
Hein
Title: Re: Ok, no one can access my gallery
Post by: Sami on November 21, 2006, 07:27:40 PM
- I've got 403 Forbidden point: it could be .htaccess
- S/he was trying ;) plugins point: the only plugin that makes .htaccess is sef_url

BTW it's just a guess, let see her/his answer

[edit:]
This forums goes very fast ! I just comming to answer Hein's post and see gaugau's answer and ... :)
anyway I post it !!!
Title: Re: Ok, no one can access my gallery
Post by: MaverickLal101 on November 21, 2006, 07:35:57 PM
Quote from: Hein on November 21, 2006, 07:07:26 PM
Check the ftp settings for the gallery folder. If set to 755 you will be able to see the content of the folder and that means you can also see the CPG.

Cheers!
Hein

It is 755 :-[ let me see the other replies
Thanks though ;) was scared :-[
Title: Re: Ok, no one can access my gallery
Post by: MaverickLal101 on November 21, 2006, 07:38:29 PM
Quote from: Sami on November 21, 2006, 07:08:22 PM
It seems sef_url plugin mess ...
- Go to your gallery root and delete(or rename) .htaccess
- Remove sef_url entry from database (xxx_plugins) with a mysql tool such as phpmyadmin


Ok, I removed the dual??? htaccess files ... and it seems to be working...

ok, i know where php admin is  :-[ :-\ do i need to mess with it? >:( :D :D
Title: Re: Ok, no one can access my gallery
Post by: Hein Traag on November 21, 2006, 07:39:47 PM
Did you chmod the folder to 755 or did you edit the .htaccess ?

Cheers!
Hein
Title: Re: Ok, no one can access my gallery
Post by: MaverickLal101 on November 21, 2006, 07:45:23 PM
i just deleted the htaccess :-[ it didnt need chmoding :o :o :o



now m going to phpadmin to do the second thing cuz none of my pics are working... grrr plugins :-\ :'(

Title: Re: Ok, no one can access my gallery
Post by: Hein Traag on November 21, 2006, 07:48:05 PM
Good luck with it MaverickLal101.

Cheers!
Hein
Title: Re: Ok, no one can access my gallery
Post by: MaverickLal101 on November 21, 2006, 07:53:28 PM
ok, yaaaaaaaaaaay

i didnt have to do phpadmin

just deleted it through my ftp filezilla.... delete

>:( no m scared to do plugins... :-[

ah well, u guys are here... and awesome :P :-* :D ;D

thank u thank u
Title: Re: Ok, no one can access my gallery
Post by: Sami on November 21, 2006, 07:57:23 PM
That would be better if you delete the entry from xxx_plugins table cause next time that you upgrade your gallery sef_url will be there and then it will mess things up ... trust me
Title: Re: Ok, no one can access my gallery
Post by: MaverickLal101 on November 21, 2006, 08:08:31 PM
Quote from: Sami on November 21, 2006, 07:57:23 PM
That would be better if you delete the entry from xxx_plugins table cause next time that you upgrade your gallery sef_url will be there and then it will mess things up ... trust me

See, I followed your instructions, found this particular coppermine database and then plugins in phpadmin but i didnt see sef_url entry to begin with... here is the snapshot...

Where is it?

QuoteNext time - attach the picture through the advanced options when you post - Hein
Title: Re: Ok, no one can access my gallery
Post by: MaverickLal101 on November 21, 2006, 08:15:09 PM
ok, i found it  :-[ under path :-[

now how do i get rid of it  :(
Title: Re: Ok, no one can access my gallery
Post by: Sami on November 21, 2006, 09:04:25 PM
there (under the image that you've posted) is a browse button push it and then click on red x behind the row that has sef_url