Facebook 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4291
Latest: Robertqt
New This Month: 5
New This Week: 1
New Today: 0
Stats
Total Posts: 43721
Total Topics: 7586
Most Online Today: 53
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 2
Guests: 44
Total: 46

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

0 Members and 1 Guest are viewing this topic.

Offline HDB

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • 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: 16643
    • 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

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • 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

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • 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: 16643
    • 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
12046 Views
Last post November 23, 2006, 04:03:50 am
by justafishermen
5 Replies
7470 Views
Last post January 20, 2008, 07:11:47 pm
by eg-eliteghost
3 Replies
7481 Views
Last post April 30, 2007, 02:54:20 pm
by j3cubcapt
3 Replies
6916 Views
Last post September 15, 2007, 10:30:22 pm
by rumboogy
6 Replies
9143 Views
Last post August 10, 2008, 06:24:09 pm
by MoreBloodWine

+- Recent Topics

ST Shop integration by SMFHacks
March 17, 2025, 08:28:26 pm

Contact Us by SMFHacks
March 16, 2025, 07:49:23 pm

HTTP 500 error during install by SMFHacks
March 13, 2025, 10:44:31 am

Site upgrade to 2.1 by SMFHacks
March 12, 2025, 09:29:43 pm

[Mod]WebP and AVIF File Support for SMF 2.1 by SMFHacks
March 10, 2025, 04:32:57 pm

Pretty URL's Pro support/help by [chrisB]
March 03, 2025, 10:18:09 am

More RSS feeds by melon
February 28, 2025, 08:23:21 am

SMF Shop / ST Shop Credits? by SMFHacks
February 22, 2025, 06:13:10 pm

Down_sendpm Error by Senkusha
February 22, 2025, 07:49:24 am

Additional Recommendations for SMF Store by SMFHacks
February 20, 2025, 03:40:50 pm

Powered by EzPortal