- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 56 guest(s) and 1 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Access Denied error with My_eGallery [ ]
Author
Message
Serge
Nuke Soldier
Joined: Jun 14, 2003
Posts: 16
Posted:
Sat Jun 14, 2003 7:56 pm
chatserv
General
Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
Posted:
Sun Jun 15, 2003 8:16 am
Open admin/modules/gallery/index.php and change:
Code:
if(!eregi('admin.php', $PHP_SELF)){die('Access Denied');}
to:
Code:
if (!eregi("admin.php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); }
You might have to do the same thing on any other admin file in the admin/gallery folder that includes this line.
_________________ Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Serge
Nuke Soldier
Joined: Jun 14, 2003
Posts: 16
Posted:
Sun Jun 15, 2003 9:35 am
I have tried that fix already and it didnt do anything....Still the Access Denied comes up from the admin link.
Any other suggestions?
Thanks,
Serge
Pina
Nuke Soldier
Joined: Jun 15, 2003
Posts: 12
Location: Covilhã, Portugal
Posted:
Sun Jun 15, 2003 12:02 pm
You need to make the change in all files in admin/modules/gallery/. Always you have:
Code:
$PHP_SELF)){die('Access Denied');
You need to change it to:
Code:
$_SERVER['PHP_SELF'])) { die ('Access Denied');
I thing you also change all the files in modules/My_eGallery
Tell me the result later. [/b]
_________________ Emanuel Pina
[Analyzer |ConnTest |PTNuke ]
Serge
Nuke Soldier
Joined: Jun 14, 2003
Posts: 16
Posted:
Sun Jun 15, 2003 1:59 pm
Thanks so much guys. The fix was the right one, i just missed the fill in admin/case/
Thanks for all the help
Serge
Serge
Nuke Soldier
Joined: Jun 14, 2003
Posts: 16
Posted:
Sun Jun 15, 2003 2:06 pm
One more question if anyone has an answer. When i try to submit a picture i always get:
You can't post this file: Filetype not supported
No matter what file formate i use.
Thanks,
Serge
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum