When I login, the top 'Magento Admin Panel' logo is shown but nothing below it. There are no JS errors in the console. When I view source, this is the bottom of the code:

<div class="nav-bar">
<!-- menu start -->

After that the page stops. Any suggestions on how to fix this?


1 Answer 1


This is where your code is being blocked:

<?php echo $this->getMenuLevel($this->getMenuArray()); ?>

Most probably $this->getMenuArray() is generating the error. Inside getMenuArray() there is _buildMenuArray() function which is responsible for creating menu nodes. My guess is that there is ACL permission admin access problem which is blocking creating the nodes. Try to manually delete all cache, session and locks data from /var/cache, /var/session and /var/locks to see if that solves the problem.

  • I deleted those 3 cache but it's still doing it. I logged out and tried different browsers. Page source still gets cut off at the same spot. Anything else I can try?
    – Tom
    Commented Sep 1, 2017 at 14:20
  • Also, when I comment out <?php echo $this->getMenuLevel($this->getMenuArray()); ?>, the rest of the page loads, so it is definitely something with that function.
    – Tom
    Commented Sep 1, 2017 at 18:56
  • Check your app/etc/local.xml file to see if the session is being saved on files or database. If the session data is stored in database then truncate core_session table.
    – Mehdi
    Commented Sep 1, 2017 at 19:34
  • it's set as <![CDATA[files]]>
    – Tom
    Commented Sep 4, 2017 at 19:46
  • Did you check the file permissions on /var/session?
    – Mehdi
    Commented Sep 7, 2017 at 22:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.