Advertisement
Guest User

Untitled

a guest
Jul 27th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. 1. Did a check on /public_html/app/etc/local.xml
  2. <admin>
  3. <routers>
  4. <adminhtml>
  5. <args>
  6. <frontName><![CDATA[admin]]></frontName>
  7. </args>
  8. </adminhtml>
  9. </routers>
  10. </admin>
  11.  
  12. 2. Cleared var/session and var/cache.
  13. 3. Access with and without index.php
  14. 4. I ran the following SQL code.
  15. SET FOREIGN_KEY_CHECKS=0; UPDATE core_store SET store_id = 0 WHERE code=’admin’;
  16. UPDATE core_store_group SET group_id = 0 WHERE name=’Default’;
  17. UPDATE core_website SET website_id = 0 WHERE code=’admin’;
  18. UPDATE customer_group SET customer_group_id = 0 WHERE customer_group_code=’NOT LOGGED IN’;
  19. SET FOREIGN_KEY_CHECKS=1;
  20.  
  21. SQL returns the following error code.
  22. #1054 - Unknown column '’admin’' in 'where clause'
  23.  
  24. 5. Ran with the following SQL Code again due to suspected punctuation marks
  25. SET FOREIGN_KEY_CHECKS=0; UPDATE core_store SET store_id = 0 WHERE code='admin';
  26. UPDATE core_store_group SET group_id = 0 WHERE name='Default';
  27. UPDATE core_website SET website_id = 0 WHERE code='admin';
  28. UPDATE customer_group SET customer_group_id = 0 WHERE customer_group_code='NOT LOGGED IN';
  29. SET FOREIGN_KEY_CHECKS=1;
  30.  
  31. Results:
  32. # MySQL returned an empty result set (i.e. zero rows).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement