SimplePortal

Support => Install and Upgrade => Topic started by: Downfall on April 28, 2010, 01:32:28 AM

Title: Administration area MISSING?
Post by: Downfall on April 28, 2010, 01:32:28 AM
I've attempted to install Simpleportal on my forums many times and I still come across the same annoying issue; after installation, I click the "redirect now" to go to the admin area so I can change up my portal and it takes me back to the index of the Admin CP!

I've tried everything, disabling all the mods I have on the forums even, just to get this thing working. It does say that both subs have failed tests in the installation but it says in brackets to ignore that.

My version is 2.0 RC3 and I really need this problem fixed ASAP.

Thanks in advance.
Title: Re: Administration area MISSING?
Post by: Nathaniel on April 28, 2010, 03:04:14 AM
Have a look at your Sources folder, are there are series of 'PortalAdmin{insert_text_here}.php' files after you install SimplePortal?

Try chmoding your Sources and Themes folders to 0777 before you install SimplePortal.
Title: Re: Administration area MISSING?
Post by: Downfall on April 28, 2010, 04:45:27 AM
Thanks for the help, I tried both suggestions but to no avail :(

EDIT: There are those files in sources, but the problem is still persisting.
Title: Re: Administration area MISSING?
Post by: Nathaniel on April 28, 2010, 06:17:25 AM
Check that the SimplePortal edits for the Admin.php file worked. Searching for 'sportal' in that file should give results, if not, then the edits to that file haven't worked properly.

Also check that you have some 'Themes/default/languages/SPortal*.english.php' files. You could try clearing your file cache as well.
Title: Re: Administration area MISSING?
Post by: Downfall on April 28, 2010, 06:27:12 AM
Check that the SimplePortal edits for the Admin.php file worked. Searching for 'sportal' in that file should give results, if not, then the edits to that file haven't worked properly.

Also check that you have some 'Themes/default/languages/SPortal*.english.php' files. You could try clearing your file cache as well.
Checked for both of those things and they seem to be in place just fine. I tried cleaning my cache as well and it did nothing. Thanks for taking the time to help me out by the way, much appreciated!
Title: Re: Administration area MISSING?
Post by: Nathaniel on April 28, 2010, 08:06:55 AM
Still nothing? Wow, odd issue.

Are there any related errors in your forum error log?
Do you have 'Themes/default/PortalAdmin*.template.php' files?
Title: Re: Administration area MISSING?
Post by: Downfall on April 28, 2010, 10:38:22 AM
Yes, I have a bunch of those files. I don't know if this will help, but here's a screenshot of them that I took just now in the FileZilla.

(http://i43.tinypic.com/4idn6.png)
Title: Re: Administration area MISSING?
Post by: Nathaniel on April 28, 2010, 10:40:10 AM
They are the correct files...

Okay, so going to 'index.php?action=admin;area=portalconfig' doesn't work for you at all? Can you use the urls to access the pages or aren't they working at all.

Here are a few other admin urls that you could try:
index.php?action=admin;area=portalarticles
index.php?action=admin;area=portalshoutbox
Title: Re: Administration area MISSING?
Post by: Downfall on April 28, 2010, 10:44:52 AM
Nope, none of those work as direct URLs.
Title: Re: Administration area MISSING?
Post by: Nathaniel on April 28, 2010, 08:10:25 PM
Do you see the default SimplePortal layout? Do you have the default portal with blocks on it, when you install SimplePortal?
Title: Re: Administration area MISSING?
Post by: Downfall on April 28, 2010, 10:52:22 PM
Yes, the portal is completely in place on my forum - I had to change the text on the top block manually in the database whilst I look for a solution to the Admin problem.
Title: Re: Administration area MISSING?
Post by: AngelinaBelle on May 04, 2010, 08:06:44 PM
Can you attach a copy of  Admin.php?
What other mods do you have installed?
Title: Re: Administration area MISSING?
Post by: Downfall on May 05, 2010, 01:20:44 AM
Yes, I'll attach it to this post.

I have the following mods installed on my forum:
 - SimplePortal (of course!)
 - Pretty URLs
 - Reason for Editing Mod
 - Member Color Link

And that would be it for mods on my forum! Thanks for continuing to assist me.
Title: Re: Administration area MISSING?
Post by: AngelinaBelle on May 05, 2010, 10:21:00 AM
It looks like the Admin.php is just like the SimplePortal install instructions for 2.3.2 on 2.0RC3 say it ought to be: http://custom.simplemachines.org/mods/index.php?action=parse;mod=1104;attach=139821;smf_version=2.0_RC3 (http://custom.simplemachines.org/mods/index.php?action=parse;mod=1104;attach=139821;smf_version=2.0_RC3)
 
I don't know enough about any of those other mods to know if there would be some kind of conflict.
 
Are you running SimplePortal in standalone mode?
 
 
 
Title: Re: Administration area MISSING?
Post by: Downfall on May 05, 2010, 05:55:44 PM
Sorry if this sounds a bit stupid - but do you mean without any mods? If so, yes, I have.
Title: Re: Administration area MISSING?
Post by: AngelinaBelle on May 06, 2010, 08:40:26 AM
By "standalone", I mean in the portal settings -- are you running SimplePortal as "Front Page" or "Standalone"?
 
It's good that you checked running it with all the other mods uninstalled.
 
Title: Re: Administration area MISSING?
Post by: Downfall on May 06, 2010, 09:49:22 AM
I can't check portal settings because the Administration panel is missing for SimplePortal. :(
Title: Re: Administration area MISSING?
Post by: AngelinaBelle on May 06, 2010, 10:11:06 AM
You have never, ever seen ?action=admin;area=portalconfig;sa=generalsettings (http://www.rockhallsailingclub.org/smf2test/index.php?action=admin;area=portalconfig;sa=generalsettings) ? So you never, ever had the opportunity to change any of the SimplePortal settings?
 
 
Here are some random questions:
Have you EVER seen SimplePortal admin working correctly on your site?
Did you try "uninstall and remove all data associated with this modification"?
What exactly do you see when you try ?action=admin;area=portalconfig (http://www.rockhallsailingclub.org/smf2test/index.php?action=admin;area=portalconfig)
 
Are you using the default theme? Have you edited the default theme? Does it matter at all which theme you choose to use? Does SimplePortal show up in the drop-down from "Admin" in the main navigational menu?
Title: Re: Administration area MISSING?
Post by: Downfall on May 06, 2010, 10:23:22 AM
Never seen it before, no.

1. I've never seen SimplePortal admin working correctly.
2. I've tried uninstalling and removing all data associated with the Modification.
3. It takes me to the index of the Admin Control Panel when I paste that extension on the end of index.php.
4. I've tried the default theme and it's the same problem still persisting, I have not edited the theme. No, SimplePortal does not show.
Title: Re: Administration area MISSING?
Post by: AngelinaBelle on May 06, 2010, 12:49:41 PM
admin>portal should be in the menu buttons.
It is as though $context['menu_buttons'] is not getting set up properly or gets overwritten elsewhere.
Since this happens even with the default theme, please attach default/index.template.php and Subs.php.
 
Also -- can you search through all your php for places $context['menu_buttons']
 
For example -- I ftp'd all the files onto my PC, started an MSDOS window, did a cd to Sources, and used the command
Code: [Select]
find /i /n  "$context['menu_buttons']" *.php | more(yes -- I remember when the command line was the only interface for UNIX, PC, or Apple)
with results in the following files (I edited out all the files for which I got no hits)
Quote
---------- PORTALBLOCKS.PHP
[2868]  if (empty($context['menu_buttons']))
[2874]  foreach ($context['menu_buttons'] as $act => $button)
---------- SUBS.PHP
[4218]  $context['menu_buttons'] = $menu_buttons;
[4221]  if (isset($context['menu_buttons']['logout']))
[4222]          $context['menu_buttons']['logout']['href'] = sprintf($context['menu_buttons']['logout']['href'], $context['session_var'], $context['session_id']);
[4228]  if (isset($context['menu_buttons'][$context['current_action']]))
[4243]  $context['menu_buttons'][$current_action]['active_button'] = true;
[4245]  if (!$user_info['is_guest'] && $context['user']['unread_messages'] > 0 && isset($context['menu_buttons']['pm']))
[4247]          $context['menu_buttons']['pm']['alttitle'] = $context['menu_buttons']['pm']['title'] . ' [' . $context['user']['unread_messages'] . ']';
[4248]          $context['menu_buttons']['pm']['title'] .= ' [<strong>' . $context['user']['unread_messages'] . '</strong>]';
SimplePortal 2.3.8 © 2008-2024, SimplePortal