WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-1539b0-59b.MAI' (Errcode: 28 "No space left on device")]
SELECT p.*, o.option_value, GROUP_CONCAT(DISTINCT CONCAT(m.meta_key, "::", m.meta_value) separator "::::") as seo_meta, t.slug, tr.language_code as language FROM wp_posts p JOIN wp_postmeta m ON p.ID = m.post_id JOIN wp_options o ON o.option_name = "siteurl" JOIN wp_term_relationships r ON r.object_id = p.ID JOIN wp_term_taxonomy x ON x.term_taxonomy_id = r.term_taxonomy_id JOIN wp_terms t ON t.term_id = x.term_id JOIN wp_icl_translations tr ON p.ID = tr.element_id WHERE post_type = "page" AND post_status = "publish" AND tr.language_code = 'en' AND t.slug IN ('jquery') AND x.taxonomy = "page_cat" AND tr.element_type = "post_page" AND meta_key IN ("_yoast_wpseo_title", "_yoast_wpseo_metadesc") GROUP BY p.ID

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-1539b0-59c.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wp_options`

sidenav mdb-accordion-item-head auto-collapse

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-1539b0-59d.MAI' (Errcode: 28 "No space left on device")]
SELECT p.* FROM wp_mdb_forum_posts AS p LEFT JOIN wp_mdb_forum_posts AS q ON( q.Id = p.ParentId AND p.Id = q.AcceptedAnswerId ) WHERE p.PostTypeId = 2 AND p.ParentId = 103745 GROUP BY p.Id ORDER BY CASE WHEN q.Id IS NOT NULL THEN 1 ELSE 0 END DESC, p.UpvoteCount DESC, p.CreationDate ASC


Topic: sidenav mdb-accordion-item-head auto-collapse

1001albertpadilla asked 6 years ago

I'm using a double side-nav -- mdb-side-nav #sidenav class="sn-bg-1-local fixed" [fixed]="true"> and I want the currently open mdb-accordion-item-head to collapse automatically when I click on another mdb-accordion-item-head

It's like making the currently opened main menu to close when another main menu is clicked.

Please see attached screenshot. enter image description here


Bartosz Termena staff commented 6 years ago

Hi!

Which version of MDB are you using? In the current version every side-nav works as you described (mdb-accordion-item-head to collapse automatically when you click on another mdb-accordion-item-head)

https://mdbootstrap.com/docs/angular/navigation/compositions/#f-s-f-n

Best Regards, Bartosz.


1001albertpadilla commented 6 years ago

I'm using ng-uikit-pro-standard-7.5.3.tgz . I can't upgrade to Angular 8 yet due to ngx-webstorage library limitations.

Is there any workaround that you can provide? Thanks!


Arkadiusz Idzikowski staff commented 6 years ago

Could you show us an example html/ts code that you use to render the sidenav component? Do you use [multiple]="true" input on the mdb-accordion component?


1001albertpadilla commented 6 years ago

mdb-side-nav #sidenav class="sn-bg-1-local fixed" [fixed]="true"> li> ul class="collapsible collapsible-accordion"> mdb-accordion [multiple]="true" aria-multiselectable="false">

           <mdb-accordion-item>
              <mdb-accordion-item-head mdbWavesEffect><mdb-icon fas icon="user-friends"></mdb-icon>Human Resources</mdb-accordion-item-head>

Arkadiusz Idzikowski staff commented 6 years ago

Please try to change the [multiple] input value to false. With this option accordion item should collapse when you open another one.


1001albertpadilla commented 6 years ago

It doesn't work if I have multiple nested mdb-accordion-item>

        **mdb-accordion-item>**
          mdb-accordion-item-head mdbWavesEffect><mdb-icon fas icon="briefcase"></mdb-icon>Admin</mdb-accordion-item-head>
          mdb-accordion-item-body>
            ul>
              li>
                **mdb-accordion-item>**
                  mdb-accordion-item-head mdbWavesEffect><mdb-icon fas icon="caret-right"></mdb-icon>Company Setup</mdb-accordion-item-head>
                  <mdb-accordion-item-body>
                ...
            **mdb-accordion-item>**

Arkadiusz Idzikowski staff commented 6 years ago

Could you paste here full html/ts code of the sidenav or send us a simple demo app on which we will be able to debug this problem? You can send it to a.idzikowski@mdbootstrap.com


1001albertpadilla commented 6 years ago

Sent the file to your email. Thanks!


1001albertpadilla commented 6 years ago

This has bee resolved. Added [multiple]="false" to all nested mdb-accordion. Thanks!


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.5.3
  • Device: Laptop
  • Browser: Chrome
  • OS: Win 10
  • Provided sample code: No
  • Provided link: No