You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
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 [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Serge
Nuke Soldier
Nuke Soldier


Joined: Jun 14, 2003
Posts: 16


PostPosted: Sat Jun 14, 2003 7:56 pm Reply with quoteBack to top

Hi,

I get an "Access Denied" error when I try to click on the admin link for My_eGallery.

All my other modules work fine and I tried the fix at the following link but it still does not work:
http://www.nukecops.com/postlite1739-access.html+denied+myegallery

Any suggestions would be great. Very Happy

Thanks,
Serge
Find all posts by SergeView user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sun Jun 15, 2003 8:16 am Reply with quoteBack to top

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
Find all posts by chatservView user's profileSend private messageVisit poster's website
Serge
Nuke Soldier
Nuke Soldier


Joined: Jun 14, 2003
Posts: 16


PostPosted: Sun Jun 15, 2003 9:35 am Reply with quoteBack to top

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
Find all posts by SergeView user's profileSend private message
Pina
Nuke Soldier
Nuke Soldier


Joined: Jun 15, 2003
Posts: 12

Location: Covilhã, Portugal

PostPosted: Sun Jun 15, 2003 12:02 pm Reply with quoteBack to top

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. Wink [/b]

_________________
Emanuel Pina
[Analyzer|ConnTest|PTNuke]
Find all posts by PinaView user's profileSend private messageSend e-mailVisit poster's websiteMSN MessengerICQ Number
Serge
Nuke Soldier
Nuke Soldier


Joined: Jun 14, 2003
Posts: 16


PostPosted: Sun Jun 15, 2003 1:59 pm Reply with quoteBack to top

Thanks so much guys. The fix was the right one, i just missed the fill in admin/case/

Thanks for all the help Very Happy
Serge
Find all posts by SergeView user's profileSend private message
Serge
Nuke Soldier
Nuke Soldier


Joined: Jun 14, 2003
Posts: 16


PostPosted: Sun Jun 15, 2003 2:06 pm Reply with quoteBack to top

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
Find all posts by SergeView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.203 Seconds - 196 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::