shoppers_delight Posted December 31, 2010 Share Posted December 31, 2010 Restricted access to Modules. How do I get in? I'm administrator.I just added a module and now I can't get into the modules tab. I'm under Administrator so there should be no restricted access.I attached a screen capture pic of what i see.I can't find an answer anywhere. I see some people deleted the mod that gave them this problem, but i cant even get into the mod to uninstall it, so what can i do?I can get into EVERY tab except the module tab.http://img710.imageshack.us/i/screenshot001oj.png/ Link to comment Share on other sites More sharing options...
shokinro Posted December 31, 2010 Share Posted December 31, 2010 I guess there are some errors occurring.Please set 'display_error' to 'on' at /config/config.inc.php, then go module tab again.See if there is any error message displayed on the top of your page. Link to comment Share on other sites More sharing options...
shoppers_delight Posted January 1, 2011 Author Share Posted January 1, 2011 config.inc.php PHP script text --------------------------------------------------------------------------------<?php/* Debug only */@ini_set('display_errors', 'on');define('_PS_DEBUG_SQL_', false);/* SSL configuration */define('_PS_SSL_PORT_',443);/* Improve PHP configuration to prevent issues */@ini_set('upload_max_filesize', '100M');@ini_set('default_charset', 'utf-8');/* Correct Apache charset */header('Content-Type: text/html; charset=utf-8');/* Autoload */function __autoload($className){ if (!class_exists($className, false)) require_once(dirname(__FILE__).'/../classes/'.$className.'.php');}/* No settings file? goto installer...*/if (!file_exists(dirname(__FILE__).'/settings.inc.php')){ $dir = ((is_dir($_SERVER['REQUEST_URI']) OR substr($_SERVER['REQUEST_URI'], -1) == '/') ? $_SERVER['REQUEST_URI'] : dirname($_SERVER['REQUEST_URI']).'/'); if(!file_exists(dirname(__FILE__).'/../install')) die('Error: \'install\' directory is missing'); Tools::redirect('install', $dir);}include(dirname(__FILE__).'/settings.inc.php');/* Redefine REQUEST_URI if empty (on some webservers...) */if (!isset($_SERVER['REQUEST_URI']) OR empty($_SERVER['REQUEST_URI'])){ $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME']; if (isset($_SERVER['QUERY_STRING']) AND !empty($_SERVER['QUERY_STRING'])) $_SERVER['REQUEST_URI'] .= '?'.$_SERVER['QUERY_STRING'];}/* Include all defines */include(dirname(__FILE__).'/defines.inc.php');/* Defines are not in defines.inc.php file for no conflicts in installer */define('_PS_MAGIC_QUOTES_GPC_', get_magic_quotes_gpc());define('_PS_MODULE_DIR_', _PS_ROOT_DIR_.'/modules/');define('_PS_MYSQL_REAL_ESCAPE_STRING_', function_exists('mysql_real_escape_string'));/* aliases */function p($var) { return (Tools:($var));}function d($var) { Tools:($var);}global $_MODULES;$_MODULES = array();/* Globals */global $defaultCountry;/* Load all configuration keys */Configuration::loadConfiguration();/* Load all language definitions */Language::loadLanguages();/* Load all zone/tax relations */Tax::loadTaxZones();/* Loading default country */$defaultCountry = new Country(intval(Configuration::get('PS_COUNTRY_DEFAULT')));/* * It is not safe to rely on the system's timezone settings, but we can\'t easily determine the user timezone and the use of this function cause trouble for some configurations. * This will generate a PHP Strict Standards notice. To fix it up, uncomment the following line. */if (function_exists('date_default_timezone_set')){ $timezone = Tools::getTimezones(Configuration::get('PS_TIMEZONE')); date_default_timezone_set($timezone);}/* Smarty */include(dirname(__FILE__).'/smarty.config.inc.php'); Link to comment Share on other sites More sharing options...
shoppers_delight Posted January 1, 2011 Author Share Posted January 1, 2011 ok i turned it to on. i checked the module tab again and i cant see any errors on the top of the browser window.I added a screen shot to show you what i see. above is the contents of the config after i turned it to on and tried the module tab again. i'm sorry i'm really dumb when it comes to this. does this info i gave you help you see what i have to do to get back into the module tab? Link to comment Share on other sites More sharing options...
yapro Posted January 1, 2011 Share Posted January 1, 2011 I have the same problem.I cant access module and payment tab. Link to comment Share on other sites More sharing options...
shokinro Posted January 1, 2011 Share Posted January 1, 2011 What version of PrestaShop are you using?What module did you added that cause this problem?You can try to remove the module from database ps_module to see if you could regain access to the module tab. Link to comment Share on other sites More sharing options...
yapro Posted January 1, 2011 Share Posted January 1, 2011 I am using v 1.3.5 and have not install any module before. Link to comment Share on other sites More sharing options...
shokinro Posted January 1, 2011 Share Posted January 1, 2011 I just tried install the new version 1.3.5.0 and everything looks normal.I can access modules tab and see all the modules without any problems.Please check 1. if following line exists in your /config/defines.inc.php filedefine('_CAN_LOAD_FILES_', 1);2. the folder /modules/ and subfolders have correct permissions settingpermission should be 755 Link to comment Share on other sites More sharing options...
rocky Posted January 1, 2011 Share Posted January 1, 2011 Go to Employees > Permissions and make sure that "View" for "Modules" is ticked. Link to comment Share on other sites More sharing options...
shoppers_delight Posted January 1, 2011 Author Share Posted January 1, 2011 What version of PrestaShop are you using?What module did you added that cause this problem?You can try to remove the module from database ps_module to see if you could regain access to the module tab. SOLVED!!!! Thank you. This helped. I just went to the module folder and deleted the folder that was made by the module i just installed. It's working now and i can access the tab.Thank you so much! Link to comment Share on other sites More sharing options...
SatishMasani Posted February 16, 2016 Share Posted February 16, 2016 Hi guys i have no new module installed... then too i m getting restriced access in module tab i m superadmin then too,the problem arised when i was restoring it from backup. Please help i have kept ps_mode_dev true in definies.inc.php Thank You. Link to comment Share on other sites More sharing options...
SatishMasani Posted February 18, 2016 Share Posted February 18, 2016 Hello Guys, I had some mod_XXX folders intsalled i have delted that and now its working fine Thank You . Link to comment Share on other sites More sharing options...
Recommended Posts