Ok, no one can access my gallery Ok, no one can access my gallery
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Ok, no one can access my gallery

Started by MaverickLal101, November 21, 2006, 07:00:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MaverickLal101

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

Hein Traag

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

Sami

#2
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
‍I don't answer to PM with support question
Please post your issue to related board

Hein Traag

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]

Joachim Müller

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.

Hein Traag

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

Sami

- 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 !!!
‍I don't answer to PM with support question
Please post your issue to related board

MaverickLal101

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 :-[

MaverickLal101

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

Hein Traag

Did you chmod the folder to 755 or did you edit the .htaccess ?

Cheers!
Hein

MaverickLal101

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 :-\ :'(


Hein Traag

Good luck with it MaverickLal101.

Cheers!
Hein

MaverickLal101

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

Sami

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
‍I don't answer to PM with support question
Please post your issue to related board

MaverickLal101

#14
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

MaverickLal101

ok, i found it  :-[ under path :-[

now how do i get rid of it  :(

Sami

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
‍I don't answer to PM with support question
Please post your issue to related board