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: Suddenly Not allowed to view pages  (Read 4945 times)

0 Members and 1 Guest are viewing this topic.

EndlessQuest

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 47
Suddenly Not allowed to view pages
« on: June 18, 2012, 11:20:18 am »

Dear all,

I suddenly have a very strange problem with my gallery.

I added some additional pages and created links to these pages in the menu. These pages are some tips & tricks pages and travel pages.

This worked fine for the last couple of months, but today I suddenly get an error message that I am not allowed to view these pages. I get this message when I`m logged in as admin and when I`m not logged in.

I do not understand why this happens.

Can anyone help me?

Here is my gallery; http://www.richards-fotos.nl/coppermine/index.php

And here are some of the example pages that are no longer accessible;

http://www.richards-fotos.nl/coppermine/tips_tricks_algemeen.php

http://www.richards-fotos.nl/coppermine/botswana2012.php

Please help!
Logged

EndlessQuest

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 47
Suddenly Not allowed to view pages
« Reply #1 on: June 18, 2012, 11:26:39 am »

Dear all,

I suddenly have a very strange problem with my gallery.

I added some additional pages and created links to these pages in the menu. These pages are some tips & tricks pages and travel pages.

This worked fine for the last couple of months, but today I suddenly get an error message that I am not allowed to view these pages. I get this message when I`m logged in as admin and when I`m not logged in.

I do not understand why this happens.

Can anyone help me?

Here is my gallery; http://www.richards-fotos.nl/coppermine/index.php

And here are some of the example pages that are no longer accessible;

http://www.richards-fotos.nl/coppermine/tips_tricks_algemeen.php

http://www.richards-fotos.nl/coppermine/botswana2012.php

Please help!

(My apologies, I also posted this in the Miscelaneous section, but it belongs here I believe)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Suddenly Not allowed to view pages
« Reply #2 on: June 18, 2012, 03:21:42 pm »

Seems to work as expected for me.

As you already marked your thread as solved:
Resolve your threads
If you have found an answer to your question, resolve your thread. Don't just post "I have found the answer", but tell others what you actually did to solve your issues. Posting a link to the page where you found the answer might help. Describing what you did might help as well.



Merged your two threads.
Logged

EndlessQuest

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 47
Re: Suddenly Not allowed to view pages
« Reply #3 on: June 19, 2012, 11:54:07 am »

When I created those additional pages, I used an existing file as template. I used the register.php file for this, as it turns out. and appearantly I did not remove all the code related to the register process, because when I deselect "users can register" in the admin settings menu, my pages are no longer accessible. When i select the option, the pages are available again.

So, my bad. Now I just need to find out which bit of code in my "template" is related to the registering process and steel needs to be removed.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.