cancel
Showing results for 
Search instead for 
Did you mean: 

G1 Error

SOLVED

G1 Error

I used the SQL code which worked the next daysame happened again?done it 4 times now

Will appreciate any help

a:5:{i:0;s:34:"Parent Role id 'G1' does not exist";i:1;s:2380:"#0 /home2/holysmokesvapeuk/public_html/lib/Zend/Acl.php(160): Zend_Acl_Role_Registry->add(Object(Mage_Admin_Model_Acl_Role_User), 'G1')
#1 /home2/holysmokesvapeuk/public_html/app/code/core/Mage/Admin/Model/Resource/Acl.php(108): Zend_Acl->addRole(Object(Mage_Admin_Model_Acl_Role_User), 'G1')
#2 /home2/holysmokesvapeuk/public_html/app/code/core/Mage/Admin/Model/Resource/Acl.php(71): Mage_Admin_Model_Resource_Acl->loadRoles(Object(Mage_Admin_Model_Acl), Array)
#3 /home2/holysmokesvapeuk/public_html/app/code/core/Mage/Admin/Model/Session.php(127): Mage_Admin_Model_Resource_Acl->loadAcl()
#4 /home2/holysmokesvapeuk/public_html/app/code/core/Mage/Admin/Model/Observer.php(73): Mage_Admin_Model_Session->login('admin', '********', Object(Mage_Core_Controller_Request_Http))
#5 /home2/holysmokesvapeuk/public_html/app/code/core/Mage/Core/Model/App.php(1338): Mage_Admin_Model_Observer->actionPreDispatchAdmin(Object(Varien_Event_Observer))
#6 /home2/holysmokesvapeuk/public_html/app/code/core/Mage/Core/Model/App.php(1317): Mage_Core_Model_App->_callObserverMethod(Object(Mage_Admin_Model_Observer), 'actionPreDispat...', Object(Varien_Event_Observer))
#7 /home2/holysmokesvapeuk/public_html/app/Mage.php(453): Mage_Core_Model_App->dispatchEvent('controller_acti...', Array)
#8 /home2/holysmokesvapeuk/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(527): Mage::dispatchEvent('controller_acti...', Array)
#9 /home2/holysmokesvapeuk/public_html/app/code/core/Mage/Adminhtml/Controller/Action.php(160): Mage_Core_Controller_Varien_Action->preDispatch()
#10 /home2/holysmokesvapeuk/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(407): Mage_Adminhtml_Controller_Action->preDispatch()
#11 /home2/holysmokesvapeuk/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#12 /home2/holysmokesvapeuk/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#13 /home2/holysmokesvapeuk/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#14 /home2/holysmokesvapeuk/public_html/app/Mage.php(689): Mage_Core_Model_App->run(Array)
#15 /home2/holysmokesvapeuk/public_html/index.php(87): Mage::run('', 'store')
#16 {main}";s:3:"url";s:16:"/index.php/admin";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:5:"admin";}

1 ACCEPTED SOLUTION

Accepted Solutions

Re: G1 Error

Try again same with previous solutions and remove writeable permission from all folders only Var, Media folder should be writable.

Let me know if you still face same issue.

 

Kudos and accept it as a solution. Cheers Coding Smiley Happy

Manish Mittal
https://www.manishmittal.com/

View solution in original post

8 REPLIES 8

Re: G1 Error

Hello @brad_shaw,

 

It issue seems related to User Role. Please check in database admin_role table once. Please find attached screenshot for your reference.

 

localhost   localhost   pitheme   admin_role   phpMyAdmin 4.7.0.png

Issue solved, Kudos and accept as Solutions. Cheers coding Smiley Happy

Manish Mittal
https://www.manishmittal.com/

Re: G1 Error

I've fixed the g1 problem but a few hours later it happens again. It's Weird

Re: G1 Error

How you fixed previously? 

Manish Mittal
https://www.manishmittal.com/

Re: G1 Error

insert into admin_role values(1,0,1,1,'G',0,'Administrator');


insert into admin_rule values (8,1,'all',null,0,'G','allow');

When I go back to the website the following day thE same problems back, I have to put the code in again

Re: G1 Error

Try again same with previous solutions and remove writeable permission from all folders only Var, Media folder should be writable.

Let me know if you still face same issue.

 

Kudos and accept it as a solution. Cheers Coding Smiley Happy

Manish Mittal
https://www.manishmittal.com/

Re: G1 Error

Hopefully solved thank you will let you know

Re: G1 Error

Yeah sure, let me know if you still face any issue. Thanks

Manish Mittal
https://www.manishmittal.com/

Re: G1 Error

Hello,

There has been an error processing your request
Parent Role id 'G7' does not exist
Trace: #0 /usr/local/www/prostorage3/lapparts/lappartsnl/lib/Zend/Acl.php(143): Zend_Acl_Role_Registry->add(Object(Mage_Admin_Model_Acl_Role_Group), 'G7') #1 /usr/local/www/prostorage3/lapparts/lappartsnl/app/code/core/Mage/Admin/Model/Mysql4/Acl.php(102): Zend_Acl->addRole(Object(Mage_Admin_Model_Acl_Role_Group), 'G7') #2 /usr/local/www/prostorage3/lapparts/lappartsnl/app/code/core/Mage/Admin/Model/Mysql4/Acl.php(77): Mage_Admin_Model_Mysql4_Acl->loadRoles(Object(Mage_Admin_Model_Acl), Array) #3 /usr/local/www/prostorage3/lapparts/lappartsnl/app/code/core/Mage/Admin/Model/Session.php(99): Mage_Admin_Model_Mysql4_Acl->loadAcl() #4 /usr/local/www/prostorage3/lapparts/lappartsnl/app/code/core/Mage/Admin/Model/Observer.php(55): Mage_Admin_Model_Session->login('gerwin', 'dis70hbdGerwin', Object(Mage_Core_Controller_Request_Http)) #5 /usr/local/www/prostorage3/lapparts/lappartsnl/app/code/core/Mage/Core/Model/App.php(1228): Mage_Admin_Model_Observer->actionPreDispatchAdmin(Object(Varien_Event_Observer)) #6 /usr/local/www/prostorage3/lapparts/lappartsnl/app/code/core/Mage/Core/Model/App.php(1209): Mage_Core_Model_App->_callObserverMethod(Object(Mage_Admin_Model_Observer), 'actionPreDispat...', Object(Varien_Event_Observer)) #7 /usr/local/www/prostorage3/lapparts/lappartsnl/app/Mage.php(416): Mage_Core_Model_App->dispatchEvent('controller_acti...', Array) #8 /usr/local/www/prostorage3/lapparts/lappartsnl/app/code/core/Mage/Core/Controller/Varien/Action.php(497): Mage::dispatchEvent('controller_acti...', Array) #9 /usr/local/www/prostorage3/lapparts/lappartsnl/app/code/core/Mage/Adminhtml/Controller/Action.php(152): Mage_Core_Controller_Varien_Action->preDispatch() #10 /usr/local/www/prostorage3/lapparts/lappartsnl/app/code/core/Mage/Core/Controller/Varien/Action.php(407): Mage_Adminhtml_Controller_Action->preDispatch() #11 /usr/local/www/prostorage3/lapparts/lappartsnl/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('index') #12 /usr/local/www/prostorage3/lapparts/lappartsnl/app/code/core/Mage/Core/Controller/Varien/Front.php(177): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #13 /usr/local/www/prostorage3/lapparts/lappartsnl/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch() #14 /usr/local/www/prostorage3/lapparts/lappartsnl/app/Mage.php(596): Mage_Core_Model_App->run(Array) #15 /usr/local/www/prostorage3/lapparts/lappartsnl/index.php(79): Mage::run('', 'store') #16 {main}

Error log record number: 1118465619129

 

I got his error message but dont know how to solve it. Somebody can help me with it?

 

Thanks,

Joop