YOOtheme Pro is here! The best WordPress and Joomla theme. Learn more

Avatar scott.robinson.42 asked

Error installing Moustache demo package on Joomla


I'm getting this error on Joomla install:

Warning: session_start(): open(timeout=5&retry_interval=15/sess_0254d305f03510b6802d0194f81ce50d, O_RDWR) failed: No such file or directory (2) in /var/sites/a/alpha.exammagic.co.uk/public_html/libraries/joomla/session/session.php on line 658

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /var/sites/a/alpha.exammagic.co.uk/public_html/libraries/joomla/session/session.php:658) in /var/sites/a/alpha.exammagic.co.uk/public_html/libraries/joomla/session/session.php on line 658

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/sites/a/alpha.exammagic.co.uk/public_html/libraries/joomla/session/session.php:658) in /var/sites/a/alpha.exammagic.co.uk/public_html/libraries/joomla/session/session.php on line 658

The line in question is this section in session.php:

* Write and Close handlers are called after destructing objects since PHP 5.0.5.
* Thus destructors can use sessions but session handler can't use objects.
* So we are moving session closure before destructing objects.
* Replace with session_register_shutdown() when dropping compatibility with PHP 5.3


    return true;  

I'm using php 5.4. I don't quite understand the statement in the comments. What should I replace with what? Anyone come across this? Should I be using php 5.3 instead?

Thanks for any help


  • Joomla
  • Moustache

3 Answers


Avatar michael.maass Support Online answered

The error messages do not refer to the template but to Joomla and rather hint to a problem with your webserver and Joomla.

Did you try installing a standard Joomla package form http://www.joomla.org?

Please test that.

Thank you


Avatar biplaza answered

I'm having an error installing Moustache Joomla demo package too. My installation stops and shows this error message:

 SQL=CREATE TABLE IF NOT EXISTS `uist_usergroups` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key', `parent_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Adjacency List Reference Id', `lft` int(11) NOT NULL DEFAULT 0 COMMENT 'Nested set lft.', `rgt` int(11) NOT NULL DEFAULT 0 COMMENT 'Nested set rgt.', `title` varchar(100) NOT NULL DEFAULT '', PRIMARY KEY (`id`), UNIQUE KEY `idx_usergroup_parent_title_lookup` (`parent_id`,`title`), KEY `idx_usergroup_title_lookup` (`title`), KEY `idx_usergroup_adjacency_lookup` (`parent_id`), KEY `idx_usergroup_nested_set_lookup` (`lft`,`rgt`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8  

SQL=INSERT INTO `uist_usergroups` (`id`, `parent_id`, `lft`, `rgt`, `title`) VALUES (1, 0, 1, 18, 'Public'), (2, 1, 8, 15, 'Registered'), (3, 2, 9, 14, 'Author'), (4, 3, 10, 13, 'Editor'), (5, 4, 11, 12, 'Publisher'), (6, 1, 4, 7, 'Manager'), (7, 6, 5, 6, 'Administrator'), (8, 1, 16, 17, 'Super Users'), (9, 1, 2, 3, 'Guest')

Avatar biplaza answered

Hi again Michael,

  1. I installed standard Joomla package (3.0)
  2. Upgraded to Joomla 3.2
  3. Installed Moustache template.
  4. Works

What I need now is to install the Demo content package to see how to replicate all the fancy things in your demo.

1.- Installed Demo content Moustache package.
2.- When I enter in frontend site. Error message says "The template for this display is not available. Please contact a Site administrator."
3.- In Template Manager, clicking template name shows the error message.
"Warning: ksort() expects parameter 1 to be array, boolean given in /usr/home/sitename/web/demo/administrator/components/com_templates/views/template/tmpl/default_tree.php on line 11

Warning: Invalid argument supplied for foreach() in /usr/home/sitename/web/demo/administrator/components/com_templates/views/template/tmpl/default_tree.php on line 15"

Any clues?

Know someone who can answer? Share a link to this question via email or twitter.