Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Ok, no one can access my gallery  (Read 5650 times)

0 Members and 1 Guest are viewing this topic.

MaverickLal101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Ok, no one can access my gallery
« 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
« Last Edit: November 21, 2006, 08:09:47 pm by Hein »
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Ok, no one can access my gallery
« Reply #1 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
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Ok, no one can access my gallery
« Reply #2 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
« Last Edit: November 21, 2006, 07:47:32 pm by Sami »
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Ok, no one can access my gallery
« Reply #3 on: November 21, 2006, 07:14:40 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]
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Ok, no one can access my gallery
« Reply #4 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.
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Ok, no one can access my gallery
« Reply #5 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
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Ok, no one can access my gallery
« Reply #6 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 !!!
Logged
‍I don't answer to PM with support question
Please post your issue to related board

MaverickLal101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Ok, no one can access my gallery
« Reply #7 on: November 21, 2006, 07:35:57 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 :-[
Logged

MaverickLal101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Ok, no one can access my gallery
« Reply #8 on: November 21, 2006, 07:38:29 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
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Ok, no one can access my gallery
« Reply #9 on: November 21, 2006, 07:39:47 pm »

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

Cheers!
Hein
Logged

MaverickLal101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Ok, no one can access my gallery
« Reply #10 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 :-\ :'(

Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Ok, no one can access my gallery
« Reply #11 on: November 21, 2006, 07:48:05 pm »

Good luck with it MaverickLal101.

Cheers!
Hein
Logged

MaverickLal101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Ok, no one can access my gallery
« Reply #12 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
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Ok, no one can access my gallery
« Reply #13 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
Logged
‍I don't answer to PM with support question
Please post your issue to related board

MaverickLal101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Ok, no one can access my gallery
« Reply #14 on: November 21, 2006, 08:08:31 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?

Quote
Next time - attach the picture through the advanced options when you post - Hein
« Last Edit: November 21, 2006, 08:14:11 pm by Hein »
Logged

MaverickLal101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Ok, no one can access my gallery
« Reply #15 on: November 21, 2006, 08:15:09 pm »

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

now how do i get rid of it  :(
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Ok, no one can access my gallery
« Reply #16 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
Logged
‍I don't answer to PM with support question
Please post your issue to related board
Pages: [1]   Go Up
 

Page created in 0.055 seconds with 19 queries.