https://www.icyphoenix.com/viewtopic.php?f=26&t=967
-----------------------------------
CemetaryMan
Sat 20 Jan, 2007 06:25

FAP SUPPORT - Cant Access ACP
-----------------------------------
I didnt get any suggestions the first time so I'll try again. Here is a post from MG that i posted.

[quote]I am trying this mod on nuke evolution a phpnuke. I had the regular album installed first, got that working but wanted to try this one. Got most of the sections working. But for some reason i keep on getting

You can't access this file directly...

When i try to enter
ACP->Photo Album->Album Categories
ACP->Photo Album->Configuration
ACP->Photo Album->Permissions

but not on the

ACP->Photo Album->Personal Galleries

That one works fine.

I have gone through the files and not found anything gone through the install several times, checked that I had removed all the edits from the regular album.
I have uploaded the latest aswell as the next latest package and tried and all give the same result.
I cant think of where it is blocking me.
I tried the old admin_album_config from the regular album and it worked and let me update some of the settings for FAP.

Would be great if someone could guide me to where the fault might be [/quote]


I still cannot figure out what is causing it that I get access to one part of the admin and not the rest. I would very much like to use this mod , so if you have any suggestion to why please tell me where i can look :)


-----------------------------------
Artie
Sat 20 Jan, 2007 23:23

Re: Cant Access ACP
-----------------------------------
At the moment I do not have any suggestions, but I do have a few questions.

Did you remove [highlight=#FF0000]all[/highlight] of the Smartor files and remove [highlight=#FF0000]all[/highlight] of the install edits required by the Smartor album ?

When you mouse over each link, what is the links' path displayed in your browser's status bar ?


-----------------------------------
CemetaryMan
Sun 21 Jan, 2007 00:20

Re: Cant Access ACP
-----------------------------------
Yes i do believe i removed all installs from smartor.
Did a extra check right now and nothing there, no edits, no files.

They are showing the right links when i hover over them. 
I have seen changes when i have been trying and faulting on them.
Even changed the titles on the ACP panel, just too see if its reading the correct files.
So they are directed to the right files.

Normally its the admin files that are easiest to port but these i just cant figure out since one works and not the others.

Some line in there is not accepting me, Will be working on them tonight and hopefully find out what it is, The Permissions and Category files are small so I should find it in one of them unless its on another file. But i doubt it since the Personal Galleries is working.


-----------------------------------
CemetaryMan
Sun 21 Jan, 2007 17:34

Re: Cant Access ACP
-----------------------------------
Quick question, is there any place the user id# for admin is hardcoded in any of the files.


-----------------------------------
Mighty Gorgon
Tue 23 Jan, 2007 02:28

Re: Cant Access ACP
-----------------------------------
[quote user="CemetaryMan" post="7824"]Quick question, is there any place the user id# for admin is hardcoded in any of the files.[/quote]
No the id shouldn't be hardcoded...

Try to remove all album files in admin and adding back again one by one to understand which one is causing your ACP to not load correctly.


-----------------------------------
CemetaryMan
Wed 24 Jan, 2007 06:04

Re: Cant Access ACP
-----------------------------------
I tried that and no difference.

What i have found out is that on the Album Categories and Permissions is possibly stopped at the album_functions.php
On the configuration its coming from album_hierarchy_debug.php 
That is where the error message comes from.

Will play around with those two and see if i can make any changes


-----------------------------------
CemetaryMan
Wed 24 Jan, 2007 06:14

Re: Cant Access ACP
-----------------------------------
[size=18][color=brown]Fixed[/color][/size]

All i did was go through all the files in album_mod and changed in the top from

if (!defined('MODULE_FILE')) {
    die('You can't access this file directly...');
}

TO


if ( !defined('IN_PHPBB') )
{
	die('Hacking attempt');
}


 and now all sections are working. 

Thanks for your time and now i will see if i can get the rest working :)


-----------------------------------
centrmtl
Thu 05 Feb, 2009 20:26

Re: Cant Access ACP
-----------------------------------
[quote user="CemetaryMan" post="7980"][size=18][color=brown]Fixed[/color][/size]

All i did was go through all the files in album_mod and changed in the top from

if (!defined('MODULE_FILE')) {
    die('You can't access this file directly...');
}

TO


if ( !defined('IN_PHPBB') )
{
	die('Hacking attempt');
}


[/quote]




Can you be more precise about this i got the same issue but only for "configuration tab in ACP

Thnaks


-----------------------------------
Chaotic
Thu 05 Feb, 2009 20:35

Re: Cant Access ACP
-----------------------------------
[b]centrmtl[/b],

Please open a new topic for your problem.

Thanks!  8)


-----------------------------------
centrmtl
Fri 06 Feb, 2009 17:05

Re: Cant Access ACP
-----------------------------------
[quote user="Chaotic" post="36375"][b]centrmtl[/b],

Please open a new topic for your problem.

Thanks!  8)[/quote]


its already opened


