I installed e-journal to see if it would handle the journal needs we need on our site, and it allows me to actually activate the module. However, whenever (and this happens every single time) I try to set up proper access for the journal, I click "Submit," and it logs me out of drupal, taking me to the "Not Authorized to View This Page" page. I've tried several different settings of permissions, and they all seem to do this. Has anyone else encountered this? if so, what's the solution?

5.x-1.x-dev

Comments

romca’s picture

Hi,
I have encountered this at some point in the past, it was some hook redirection, i think. If you help me to track down the bug, i will fix it (i cannot replicate it here, with the test install).
Please try this:
- go to the ejournal folder and rename ejournal modules one by one, after each file try seeing if the problem persist (never rename ejournal.module itself)
- then report the name of the suspicious module

- if that does not help, please post exact steps to replicate the problem (where, what you click on)

thanks,

BDaggerhart’s picture

So I should just open up filezilla, and rename each of the e-journal "sub" modules, and when I get the same problem to occur, that'll tell you which one isn't working? I'm not sure I follow.

romca’s picture

>> So I should just open up filezilla,
yes
>>and rename each of the e-journal "sub" modules,
yes
>>and when I get the same problem to occur, that'll tell you which one isn't working?
no
-----
if some of them it is -> then we will find it
if none of them -> then i will know it is not in them (in their basic hooks) and i should look somewhere else

the point is: to rename one, then watch, disable second, then watch
well, sorry if it sounds cumbersome, it is cumbersome
cheers

romca’s picture

ohh, and i forgot, please grab the fresh version from CVS - that will be better

BDaggerhart’s picture

Okay, I haven't gotten around to doing everything yet - I was using the module uninstall feature to uninstall everything before I got started, and when I clicked "submit" to uninstall, I got this:

Fatal error: Call to undefined function ejournalaccess_disable() in /home/brandon/public_html/beta/modules/ejournal/ejournalaccess.install on line 22

Is that helpful at all?

I'm going to do the test you recommended now.

romca’s picture

that helped to fix an uninstall bug (now in cvs), the old problem may still be there
best,

romca’s picture

Status: Active » Closed (fixed)