Go Back   Forum Runner Support > Forum Runner > Forum Runner Chat
Reply
 
Thread Tools Display Modes
  (#1) Old
jwdriggs
Junior Member
 
Default Sorry, only administrators can run this file. - 11-06-2010, 10:24 PM

I am trying to install form runner and I'm at the point where I need to run the install.php. I sign into my forums and then sign into the ACP. Once I'm there I put the http://www.fognation.com/forum/forumrunner/install.php and get Sorry, only administrators can run this file. I've tried putting the URL in the same tab that I have the forums opened in, a different tab, firefox, Explorer and I don't know what the problem is. I am an administrator on the forums and I am signed in. Please help. I am running PHPbb 3.07_PL1
   
Reply With Quote
  (#2) Old
ClemsonJeeper
Forum Sprinter
 
ClemsonJeeper's Avatar
 
Default 11-07-2010, 08:49 AM

Odd

Look for this block of code in that file

Code:
// Admins only!
if (!$auth->acl_gets('a_', 'm_')) {
    output_message("Sorry, only administrators can run this file.");
    exit;
}
and remove it.

After you are done be sure to delete the install.php file.


Rob J
Forum Runner Developer

http://www.forumrunner.net
   
Reply With Quote
  (#3) Old
jwdriggs
Junior Member
 
Default 11-07-2010, 03:19 PM

Worked perfectly after that thanks.

For anyone else with that same problem that code is in the forumrunner folder in the install.php near the top.
   
Reply With Quote
  (#4) Old
ClemsonJeeper
Forum Sprinter
 
ClemsonJeeper's Avatar
 
Default 11-07-2010, 07:56 PM

I'll look into why it failed for you. Maybe your system has you having admin privs (a_) and not mod (m_) ... I'll try to fix it in a future version so you don't have to make the modification on upgrade.


Rob J
Forum Runner Developer

http://www.forumrunner.net
   
Reply With Quote
  (#5) Old
jwdriggs
Junior Member
 
Default 11-09-2010, 02:14 PM

It probably is a problem on my end cause I had the same issue trying to install AutoMod
   
Reply With Quote
  (#6) Old
cloudy
Junior Member
 
Default 02-03-2011, 08:13 AM

I'm having the same problem in a phpbb forum.

I've deleted the suggested block of code in install.php, purged the cache several times, but am still getting the error message. I remember having similar problems installing Photogallery. Deleting similar blocks of code there worked fine.

Is the code being overridden by code somewhere else?
   
Reply With Quote
  (#7) Old
ClemsonJeeper
Forum Sprinter
 
ClemsonJeeper's Avatar
 
Default 02-04-2011, 08:09 AM

Weird. I wish I knew how you guys had your admin accounts set up so phpBB doesn't think you're an admin.

You can try removing this from forumrunner/install.php as well

Code:
$auth->acl($user->data);


Rob J
Forum Runner Developer

http://www.forumrunner.net
   
Reply With Quote
  (#8) Old
cloudy
Junior Member
 
Default 02-04-2011, 05:12 PM

Thanks Rob for replying. I had already tried removing $auth->acl($user->data);

The problem is, the install.php is being cached somewhere, so my changes are not working. I've repeatedly tried clearing the main cache, and the templates, but it is not refreshing.

I've completely removed install.php from the server, and the page is still showing up. I've checked the phpbb cache folder, but the file is not there. Have you any other suggestions on where to look?

Will a complete uninstall and reinstall of the mod work do you think? It was a manual install, and I'm trying to avoid a re install
   
Reply With Quote
  (#9) Old
ClemsonJeeper
Forum Sprinter
 
ClemsonJeeper's Avatar
 
Default 02-04-2011, 07:13 PM

So you are getting this error every time you attempt to go to:

http://<site>/forumrunner/install.php ??

Even if the file is not there?


Rob J
Forum Runner Developer

http://www.forumrunner.net
   
Reply With Quote
  (#10) Old
cloudy
Junior Member
 
Default 02-04-2011, 09:51 PM

I think I may have an answer. It is a cpanel problem, nothing to do with your mod or phpBB. I've edited via cpanel and now the install page is saying the module is installed. I think I'll uninstall and manually reinstall to make sure every file is OK.

Thanks for your help Hopefully everything will be all right now.
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
vBulletin Skin developed by: vBStyles.com