Access Denied error
-
- Inscrit en : 23.12.04
- Dernière visite : 07.12.05
- Messages : 7
I upgraded to the most recent version of Anniversaire module, initialized then activated it. Now, when I try to access the module from the Admin panel, I get "Access Denied". I checked and I used to have BSCIPermissions installed but it was not installed when I installed this module and I checked and made sure all the original files were back in place. I'm using PN .750. Any ideas on this?
Thanks,
Stretchr -
- Rang : Site Admin
- Inscrit en : 06.12.03
- Dernière visite : 25.02.10
- Messages : 274
Some people having downloaded my version of EnvoAvatar or anniversaire can't enter the module admin panel : they get "Acess denied"
If this is your case, open the admin.php file at the root level of your PostNuke site (WARNING: not the admin.php in the modules/anniversaire or modules/EnvoAvatar directory but the one at the root level of your website) and add the lines
Code
// set a constant so we can chedk the correct entry point later
define('LOADED_AS_MODULE','1');
before the lines :
Code
if (file_exists($file='modules/' . pnVarPrepForOS($module) . '/admin.php')) {
$ModName = $module;
include $file;
and the problem will be solved.
another way to solve the problem would be to to download the admin.php file from the postnuke CVS here http://cvs.postnuke.com/viewcvs.cgi/*checkout*/Historic_PostNuke_Library/postnuke-devel/html/admin.php?rev=1.16 but it would have exactlly the same effect as the above change so I think it is easier to add the 2 lines. -
- Inscrit en : 23.12.04
- Dernière visite : 07.12.05
- Messages : 7
I replied on other post but once again, THANK YOU! This was the fix I was looking for! Merry Christmas and Happy New Year to you and to all!
Cheers,
Stretchr
"It's a small world...
But I wouldn't want to paint it!"
Stephen Wright
Utilisateurs en ligne
- 7 visiteurs
Données pour les 15 dernières minutes








