0
Welcome Guest! Login
0 items Join Now

No access to backend admin area

    • Funboy's Avatar
    • Funboy
    • Newbie
    • Posts: 11
    • Thanks: 0

    No access to backend admin area

    Posted 13 years 5 months ago
    • Hi,

      Here is hoping someone can help me, unfortunately I was asked to sort out this back-end login error:
      Fatal error: Call to undefined function json_decode() in /var/www/vhosts/DOMAIN/httpdocs/administrator/modules/mod_rokquicklinks/helper.php on line 37

      When first visiting the administrator login page you can enter the username and password then the above error is shown giving no access to the back-end?

      The administrator template being used is MissionControl so not sure if its this which has the fault or the main site (Mynxx) although that appears to work without issue. As this is a shop the pressure is on to find a fix as they need access to check on order etc.

      If this is an error with MissionControl is there anyway to change the back-end template by mysql when unable to login?

      Currently mysql shows under `jos_templates_menu`
      template                  menuid  client_id
      rt_mynxx_j15                0       0
      rt_missioncontrol_j15       0       1

      This is a Joomla 1.5 site.

      Here is there error page showing line 37 if it helps anyone:
      <?php
      /**
       * @package RokQuickLinks - RocketTheme
       * @version 1.5.0 September 1, 2010
       * @author RocketTheme http://www.rockettheme.com
       * @copyright Copyright (C) 2007 - 2010 RocketTheme, LLC
       * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
       *
       */
      /** ensure this file is being included by a parent file */
      defined('_JEXEC') or die( 'Restricted access' );
       
      class rokQuickLinksHelper {
          
          function isConfigured(&$params) {
              if ($params->get('icon-1') == '') {
                  echo '<p>RokQuickLinks is not configured, please <a href="'.rokQuickLinksHelper::getConfigureLink().'">configure it now...</a></p>';
                  return false;
              } else {
                  return true;
              }
              
          }
          
          function getConfigureLink() {
              $db =& JFactory::getDBO();
              $db->setQuery('select id from #__modules where module="mod_rokquicklinks" and client_id=1');
              $cid = $db->loadResult();
              return 'index.php?option=com_modules&client=1&task=edit&cid%5B%5D='.$cid;
          
          }
          
          function getLinks(&$params) {
              $default = '[{"icon":"newspaper_add.png","link":"index.php?option=com_content&amp;task=add","title":"Add Article"},{"icon":"images.png","link":"index.php?option=com_media","title":"Media Manager"},{"icon":"drawer_open.png","link":"index.php?option=com_categories&amp;section=com_content","title":"Category Manager"},{"icon":"cog.png","link":"index.php?option=com_config","title":"Configuration"},{"icon":"brick.png","link":"index.php?option=com_installer","title":"Install New"},{"icon":"color_management.png","link":"index.php?option=com_templates","title":"Templates"}]';
              
              $links = array();
              $fields = json_decode($params->get('quickfields', $default));
              
              // get data
              foreach($fields as $field){
                  $icon = $field->icon;
                  $link = $field->link;
                  $title = $field->title;
       
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: No access to backend admin area

    Posted 13 years 5 months ago
    • Change your `jos_templates_menu` field value from "rt_missioncontrol_j15" to "khepri" and that should enable the Joomla template again.
      Please send me a PM with your link, super admin details, ftp access and an info on where your site is hosted and I'll take a look.

Time to create page: 0.083 seconds