Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12399
Latest: SizofErsin
New This Month: 4
New This Week: 0
New Today: 0
Stats
Total Posts: 40590
Total Topics: 7131
Most Online Today: 87
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 86
Total: 86

Author Topic: Error When Opening Admin Panel  (Read 6348 times)

0 Members and 1 Guest are viewing this topic.

Offline HDB

  • Newbie
  • *
  • Posts: 49
    • View Profile
    • HDBitchin, a Harley Davidson Community and Technical Forum
Re: Error When Opening Admin Panel
« Reply #15 on: April 03, 2016, 07:56:02 pm »
Code: [Select]
'mediapro' => array(
'title' => $txt['mediapro_admin'],
'permission' => array('admin_forum'),
'areas' => array(
'mediapro' => array(
'label' => $txt['mediapro_settings'],
'file' => 'AutoEmbedMediaPro2.php',
'function' => 'MediaProMain',
'custom_url' => $scripturl . '?action=admin;area=mediapro;sa=settings;sesc=' . $sc,
'icon' => 'server.gif',
'permission' => array('admin_forum'),
'subsections' => array(
'settings' => array($txt['mediapro_settings']),
'copyright' => array($txt['mediapro_copyremove']),
),
),

),
),



'awesome' => array(
'title' => $txt['awepost_admin'],
'permission' => array('admin_forum'),
'areas' => array(
'awesome' => array(
'label' => $txt['awepost_admin'],
'file' => 'AwesomePostRatings2.php',
'function' => 'AwesomeMain',
'custom_url' => $scripturl . '?action=admin;area=awesome;sa=adminset;sesc=' . $sc,
'icon' => 'server.gif',
'subsections' => array(
'adminset' => array($txt['downloads_text_settings']),
'ratingtypes' => array($txt['awepost_ratingstypelist']),

),
),),
),

'layout' => array(
'title' => $txt['layout_controls'],
   
As seen above my current admin.php file does not have
Code: [Select]
'layout' => array(
'title' => $txt['layout_controls'],
after the media code. Instead the awesome code starts and then that closes with
Code: [Select]
'layout' => array(
'title' => $txt['layout_controls'],

as you see above. I am a bit concerned with how I should back the SAVE mod out and not cause issues.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15280
    • View Profile
Re: Error When Opening Admin Panel
« Reply #16 on: April 03, 2016, 08:04:08 pm »
Proceed with the uninstall. It should be ok just remove this
Code: [Select]
'mediapro' => array(
'title' => $txt['mediapro_admin'],
'permission' => array('admin_forum'),
'areas' => array(
'mediapro' => array(
'label' => $txt['mediapro_settings'],
'file' => 'AutoEmbedMediaPro2.php',
'function' => 'MediaProMain',
'custom_url' => $scripturl . '?action=admin;area=mediapro;sa=settings;sesc=' . $sc,
'icon' => 'server.gif',
'permission' => array('admin_forum'),
'subsections' => array(
'settings' => array($txt['mediapro_settings']),
'copyright' => array($txt['mediapro_copyremove']),
),
),

),
),
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline HDB

  • Newbie
  • *
  • Posts: 49
    • View Profile
    • HDBitchin, a Harley Davidson Community and Technical Forum
Re: Error When Opening Admin Panel
« Reply #17 on: April 03, 2016, 08:21:56 pm »
Rookie question...

I should do the uninstall via the SMF Package Manager first and then manually edit the above out of admin.php file on my server?

Offline HDB

  • Newbie
  • *
  • Posts: 49
    • View Profile
    • HDBitchin, a Harley Davidson Community and Technical Forum
Re: Error When Opening Admin Panel
« Reply #18 on: April 03, 2016, 09:12:57 pm »
Rookie question...

I should do the uninstall via the SMF Package Manager first and then manually edit the above out of admin.php file on my server?
I bit my lower lip and cross my fingers and did what you suggested and went ahead and assumed that what you meant was what I quoted above. It worked!! Everything is working.

You make awesome products and your support is awesome as well. If you ever get a Harley I can help you with that!!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15280
    • View Profile
Re: Error When Opening Admin Panel
« Reply #19 on: April 03, 2016, 09:26:03 pm »
Glad you have it working!
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/
Like Like x 1 View List

 

Related Topics

  Subject / Started by Replies Last post
12 Replies
9792 Views
Last post November 23, 2006, 04:03:50 am
by justafishermen
5 Replies
5664 Views
Last post January 20, 2008, 07:11:47 pm
by eg-eliteghost
3 Replies
6021 Views
Last post April 30, 2007, 02:54:20 pm
by j3cubcapt
3 Replies
4399 Views
Last post September 15, 2007, 10:30:22 pm
by rumboogy
6 Replies
6565 Views
Last post August 10, 2008, 06:24:09 pm
by MoreBloodWine

+- Recent Topics

Forum ToolBox by Monocero
January 16, 2021, 01:25:14 am

[Mod] Tagging System by SMFHacks
January 13, 2021, 08:43:33 pm

Using Alternate PayPal Address by KKOG
January 13, 2021, 07:24:46 pm

Assigning a BuyNow Button to a product by SMFHacks
January 12, 2021, 04:59:32 pm

SMF Links by Nicole
January 10, 2021, 12:02:39 pm

Error on the latest version by davejo
January 06, 2021, 08:04:05 am

Recent topics on board index by eugen
January 01, 2021, 11:08:16 am

Parser by swayforth
December 31, 2020, 12:24:23 am

Show Gallery in Users Profile by swayforth
December 29, 2020, 10:37:17 pm

Hang after upgrade MariaDB to version 10.5 by SMFHacks
December 27, 2020, 12:56:07 pm

Powered by EzPortal