NOTE: Please verify the packaging for the 2.09 version. It may be accidentally packaging 2.04 as 2.09.

The whole layout of OA2 is broken an the functions are not accessible, see screenshots.

On installing I had got the following one error message, this one:
Notice: Undefined property: MessageType::$status in _entity_defaults_rebuild() (line 884 of .../profiles/openatrium/modules/contrib/entity/entity.module).

This issue may also be related to Panopoly Apps management. When simply clicking on the Panopoly Apps link in the admin section, the site becomes inoperable, with the following errors displaying on all pages:

Notice: Undefined index: highlighted in include() (line 126 of /home/nten_atrium/atrium.ntendev.org/modules/system/page.tpl.php).

Notice: Undefined index: sidebar_first in include() (line 138 of /home/nten_atrium/atrium.ntendev.org/modules/system/page.tpl.php).

Notice: Undefined index: sidebar_second in include() (line 144 of /home/nten_atrium/atrium.ntendev.org/modules/system/page.tpl.php).

Notice: Undefined index: oa_radix in drupal_theme_initialize() (line 100 of /home/nten_atrium/atrium.ntendev.org/includes/theme.inc).

Notice: Trying to get property of non-object in _drupal_theme_initialize() (line 146 of /home/nten_atrium/atrium.ntendev.org/includes/theme.inc).

Notice: Undefined index: oa_radix in drupal_theme_initialize() (line 100 of /home/nten_atrium/atrium.ntendev.org/includes/theme.inc).

Notice: Trying to get property of non-object in _drupal_theme_initialize() (line 146 of /home/nten_atrium/atrium.ntendev.org/includes/theme.inc).

Notice: Undefined index: oa_radix in drupal_theme_initialize() (line 100 of /home/nten_atrium/atrium.ntendev.org/includes/theme.inc).

Notice: Trying to get property of non-object in _drupal_theme_initialize() (line 146 of /home/nten_atrium/atrium.ntendev.org/includes/theme.inc).

Notice: Trying to get property of non-object in _theme_load_registry() (line 335 of /home/nten_atrium/atrium.ntendev.org/includes/theme.inc).

Notice: Undefined index: oa_radix in theme_get_setting() (line 1419 of /home/nten_atrium/atrium.ntendev.org/includes/theme.inc).

Notice: Trying to get property of non-object in theme_get_setting() (line 1456 of /home/nten_atrium/atrium.ntendev.org/includes/theme.inc).

Notice: Trying to get property of non-object in theme_get_setting() (line 1466 of /home/nten_atrium/atrium.ntendev.org/includes/theme.inc).

Comments

Argus’s picture

Is it version 7.x-2.04 you installed? That one is broken. Try installing the latest release 7.x-2.09 from https://drupal.org/node/681432/release

DrupOpeAtri’s picture

Yes, version 7.x-2.04, hm, bummer, bad luck, I thought, if it's on Open Atrium/Drupal website, it works at least a bit...
Anyway, thanks everyone for the update and effort, I'll try my luck again!

mpotter’s picture

Status: Active » Fixed
brylie’s picture

I just installed OpenAtrium 2.09 after watching the webinar this morning. When I clicked on the admin link, then Apps (admin/apps/panopoly), the site became inoperable.

Every page displays the following set of notices:

Notice: Undefined index: highlighted in include() (line 126 of /home/nten_atrium/atrium.ntendev.org/modules/system/page.tpl.php).

Notice: Undefined index: sidebar_first in include() (line 138 of /home/nten_atrium/atrium.ntendev.org/modules/system/page.tpl.php).

Notice: Undefined index: sidebar_second in include() (line 144 of /home/nten_atrium/atrium.ntendev.org/modules/system/page.tpl.php).

Notice: Undefined index: oa_radix in drupal_theme_initialize() (line 100 of /home/nten_atrium/atrium.ntendev.org/includes/theme.inc).

Notice: Trying to get property of non-object in _drupal_theme_initialize() (line 146 of /home/nten_atrium/atrium.ntendev.org/includes/theme.inc).

Notice: Undefined index: oa_radix in drupal_theme_initialize() (line 100 of /home/nten_atrium/atrium.ntendev.org/includes/theme.inc).

Notice: Trying to get property of non-object in _drupal_theme_initialize() (line 146 of /home/nten_atrium/atrium.ntendev.org/includes/theme.inc).

Notice: Trying to get property of non-object in _theme_load_registry() (line 335 of /home/nten_atrium/atrium.ntendev.org/includes/theme.inc).

Notice: Undefined index: oa_radix in theme_get_setting() (line 1419 of /home/nten_atrium/atrium.ntendev.org/includes/theme.inc).

Notice: Trying to get property of non-object in theme_get_setting() (line 1456 of /home/nten_atrium/atrium.ntendev.org/includes/theme.inc).

Notice: Trying to get property of non-object in theme_get_setting() (line 1466 of /home/nten_atrium/atrium.ntendev.org/includes/theme.inc).
brylie’s picture

Version: 7.x-2.04 » 7.x-2.09
Priority: Normal » Critical
Status: Fixed » Active
StatusFileSize
new118.89 KB
new5.88 KB

I was able to duplicate this issue on a fresh 2.09 installation.

brylie’s picture

When I read the .info file located in /profiles/openatrium I notice that 2.04 may be packaged as 2.09

name = OpenAtrium
distribution_name = Open Atrium 2
description = A team collaboration platform
core = 7.x
exclusive = TRUE
version = "7.x-2.04"
brylie’s picture

I had downloaded this file:
http://ftp.drupal.org/files/projects/openatrium-7.x-2.09-core.tar.gz

It is the first file listed on this page:
https://drupal.org/node/681432/release

In fact, most or all of the files at the 681432 release page are labeled as 2.04 in the .info files.

brylie’s picture

Component: User interface » Code
Issue summary: View changes
mpotter’s picture

Testing this now myself. But the packager has got the correct files as far as I can tell.

The problem is that there is no way to keep the versions of all of the submodules in line with the version of the distribution itself. That would require releasing new versions of all modules each time there is a release.

The key module to look at is the oa_core module. In the oa_core.info it has 2.08, which is the correct latest version of that module.

Looks like I didn't update the version string in the actual openatrium.info file. That's relatively new to get around the problem that drupal.org does not update this info file for a profile like it does for modules. I'll try to update this in the next release but not going to roll a new release unless this is really broken.

mpotter’s picture

When I clicked on the admin link, then Apps (admin/apps/panopoly)

Why are you going to the Apps screen? Panopoly apps do not work with Open Atrium. You shouldn't go to that page. We'll eventually have an OA App server.

Try clearing the drupal cache then visit the site again. Does it work otherwise (if you don't visit that page)?

mpotter’s picture

Priority: Critical » Normal

I just did a fresh install of 2.09 directly using the files from Drupal.org and did not run into any problems.

So, moving this back to "Normal" since it seems to be a system-specific issue and not widespread.

If you still have trouble, be sure you are installing 2.09 into a fresh database and explain exactly what your server configuration is and the steps you used.

brylie’s picture

Clearing cache did not fix the issue. I will try a clean install in an empty database.

We are running PHP 5.4 and MySQL 5.1.56.

Also, the link I clicked was "Apps" (/admin/apps). Sorry for the mis-understanding.

brylie’s picture

I have tried to duplicate this issue, using a fresh installation from the Drupal.org projects page and an empty (all tables dropped) database.

I installed OpenAtrium and everything seemed to work fine until I
1) clicked the "Admin" button
2) clicked "Apps"

After a slight delay, I found myself looking at a white screen at the following path:
/admin/apps/panopoly

When I viewed the front page, by removing "/admin/apps/panopoly" from the URL, I got the following notices:

Warning: Illegal string offset '#theme' in apps_preprocess_apps_install_page() (line 137 of /home/nten_atrium/atrium.ntendev.org/profiles/openatrium/modules/contrib/apps/theme/apps.theme.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6429 of /home/nten_atrium/atrium.ntendev.org/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5896 of /home/nten_atrium/atrium.ntendev.org/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5906 of /home/nten_atrium/atrium.ntendev.org/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5944 of /home/nten_atrium/atrium.ntendev.org/includes/common.inc).
Warning: Illegal string offset '#printed' in drupal_render() (line 5951 of /home/nten_atrium/atrium.ntendev.org/includes/common.inc).

This seems to be an unrelated issue, and the site is functional :-) I am disabling notifications. Thank you for you assistance, and I hope these messages are relevant to your work.

Cheers!

joksanen’s picture

Had the same issues then downloading with the path wget from d.org. Re-installing and sharing my results in 10min.

joksanen’s picture

This.

Notice: Undefined index: oa_radix in drupal_theme_initialize() (line 100 of /var/www/open_atrium/includes/theme.inc).
Notice: Trying to get property of non-object in _drupal_theme_initialize() (line 146 of /var/www/open_atrium/includes/theme.inc).
Notice: Trying to get property of non-object in _theme_load_registry() (line 335 of /var/www/open_atrium/includes/theme.inc).
Notice: Trying to get property of non-object in _theme_load_registry() (line 319 of /var/www/open_atrium/includes/theme.inc).
Notice: Undefined index: value in theme_status_report() (line 2583 of /var/www/open_atrium/modules/system/system.admin.inc).
Notice: Undefined index: oa_radix in theme_get_setting() (line 1419 of /var/www/open_atrium/includes/theme.inc).
Notice: Trying to get property of non-object in theme_get_setting() (line 1456 of /var/www/open_atrium/includes/theme.inc).
Notice: Trying to get property of non-object in theme_get_setting() (line 1466 of /var/www/open_atrium/includes/theme.inc).

At the beginning all worked fine. Then i went into admin/config and got a list of errors and layouts are broken.

joksanen’s picture

Somehow it was not searching the files from the profiles folder. I moved themes and libraries under sites/all and everything seems to work.

Argus’s picture

Both of you have a strange path in those Notices, you seem to have installed OA/Drupal in a subdirectory of the www root. Is that correct? Perhaps that causes the error's? Could you try to install in de www root of your server?

npralhad’s picture

Even I have received the same error. Once I installed the new MODULE it has broken the layout.

Argus’s picture

@npralhad that was a known bug in 7.x-2.04: #2131755: Installing module breaks Open Atrium
Are you sure you didn't use that version?

mpotter’s picture

Status: Active » Postponed (maintainer needs more info)

I just did a fresh install of 2.09 and I did not experience any errors or warnings at all when I visit the Apps page. Nor did I get this problem when installing on Pantheon. So this must be something else that is system specific.

Maybe it's a PHP 5.4 issue since I use 5.3 on all my systems here?

So if you are having this problem, you will need to post your detailed system specs here.

puffer1012’s picture

Same issue here.
Fresh install of 2.09.
Using ubuntu 12.04 with apache2, php5.3.1

joksanen’s picture

Guys,

I had to move my install profile files under sites/all and it started working.

There seems to be some error in Drupal trying to use the sites/all and not using the install profile.

Also, truncated all tables beginning with cache_ in the database

mpotter’s picture

If Drupal is not looking in the profiles/openatrium directory then OA didn't get installed properly as a profile. It's not a Drupal error. Drupal works fine for thousands of people using distribution profiles. Sounds like you somehow installed Drupal normally rather than using the OA profile?

phKU’s picture

I've exactly the same issue after cloning a normal working remote install (2.12) to local host (using Mamp on OS X). The file structure and the database have been very carefully cloned but it ends up with the same error: the profiles folder is not seen despite the modules and themes paths are correctly configured in System DB "profiles/openatrium/*". I get also the error "Undefined index: distribution_name".

I think I'll have to give up with the idea to work locally because If I use the common suggested workarounds, like moving the folders in the sites path "sites/all/*", I'm not sure I won't have some other troubles while cloning back to remote server.

It's annoying since OA is quite slow to configure remotely :(

phKU’s picture

Please ignore my previous message. This issue was only caused by a strange bug in the local version of mysqldump which bypassed some INSERT commands without any notice (var 'install_profile' was missing…). Importing with mysql resolved my issue.

Sorry for the disturbance :)

mpotter’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
t.sampath’s picture

i have same problem with that what i do for i?

Notice: Undefined index: highlighted in include() (line 126 of /var/www/html/Demo/modules/system/page.tpl.php).
Notice: Undefined index: sidebar_first in include() (line 138 of /var/www/html/Demo/modules/system/page.tpl.php).
Notice: Undefined index: sidebar_second in include() (line 144 of /var/www/html/Demo/modules/system/page.tpl.php).
Notice: Undefined index: yamato in drupal_theme_initialize() (line 100 of /var/www/html/Demo/includes/theme.inc).
Notice: Trying to get property of non-object in _drupal_theme_initialize() (line 146 of /var/www/html/Demo/includes/theme.inc).
Notice: Trying to get property of non-object in _theme_load_registry() (line 335 of /var/www/html/Demo/includes/theme.inc).
Notice: Undefined index: yamato in theme_get_setting() (line 1431 of /var/www/html/Demo/includes/theme.inc).
Notice: Trying to get property of non-object in theme_get_setting() (line 1468 of /var/www/html/Demo/includes/theme.inc).
Notice: Trying to get property of non-object in theme_get_setting() (line 1478 of /var/www/html/Demo/includes/theme.inc).

Argus’s picture

Hi t.sampath,

This is a very old issue. Please provide more info. What version of Open Atrium did you install?

wildweaselmi’s picture

I realize this issue is closed but this issue is happening to be with a fresh install of Open Atrium 7.x-2.26

System:
CentOS7
Apache
PHP
MySQL (my.cnf updated with max_allowed_packet=32M)

Open Atrium install

  1. cd /tmp
  2. yum -y install wget unzip
  3. wget http://ftp.drupal.or....26-core.tar.gz
  4. cd /var/www/html
  5. tar -zxvf /tmp/openatrium-7.x-2.26-core.tar.gz
  6. mv openatrium-7.x-2.26/ oa2/
  7. cd /var/www/html/oa2/sites/default/
  8. cp -p default.settings.php settings.php
  9. chcon -R -t httpd_sys_content_rw_t /var/www/html/oa2/sites/
  10. chown -R apache:apache /var/www/html/oa2
  11. open browser http://192.168.1.10/oa2

Standard Drupal Install

Then I get the following message (not really an error)
DHTML Menu offers a wide range of customization options. If you wish to change them, please visit the configuration page. (http://ipsew.sandbox.eds.com/?q=admin/config/user-interface/dhtml_menu)
The image resize filter has been installed. Before this does anything, the image resize filter needs to be added to one or more text formats. Visit the text format administration to set up this filter. (http://ipsew.sandbox.eds.com/?q=admin/config/content/formats)

Get prompted to install the 25 apps and it does while displaying which appears to be error messages

Notice: Undefined index: oa_radix in drupal_theme_initialize() (line 100 of /var/www/html/oa2/includes/theme.inc).
Notice: Trying to get property of non-object in _drupal_theme_initialize() (line 146 of /var/www/html/oa2/includes/theme.inc).
Notice: Trying to get property of non-object in _theme_load_registry() (line 335 of /var/www/html/oa2/includes/theme.inc).
Notice: Undefined index: oa_radix in drupal_theme_initialize() (line 100 of /var/www/html/oa2/includes/theme.inc).
Notice: Trying to get property of non-object in _drupal_theme_initialize() (line 146 of /var/www/html/oa2/includes/theme.inc).
Notice: Trying to get property of non-object in _theme_load_registry() (line 335 of /var/www/html/oa2/includes/theme.inc).
Notice: Undefined index: oa_radix in drupal_theme_initialize() (line 100 of /var/www/html/oa2/includes/theme.inc).
Notice: Trying to get property of non-object in _drupal_theme_initialize() (line 146 of /var/www/html/oa2/includes/theme.inc).
Notice: Trying to get property of non-object in _theme_load_registry() (line 335 of /var/www/html/oa2/includes/theme.inc).
Notice: Undefined index: oa_radix in drupal_theme_initialize() (line 100 of /var/www/html/oa2/includes/theme.inc).
Notice: Trying to get property of non-object in _drupal_theme_initialize() (line 146 of /var/www/html/oa2/includes/theme.inc).
Notice: Trying to get property of non-object in _theme_load_registry() (line 335 of /var/www/html/oa2/includes/theme.inc).
Notice: Undefined index: oa_radix in drupal_theme_initialize() (line 100 of /var/www/html/oa2/includes/theme.inc).
Notice: Trying to get property of non-object in _drupal_theme_initialize() (line 146 of /var/www/html/oa2/includes/theme.inc).
Notice: Trying to get property of non-object in _theme_load_registry() (line 335 of /var/www/html/oa2/includes/theme.inc).

Also

Manifest error from OpenAtrium: php_network_getaddresses: getaddrinfo failed: Name or service not known

At the very end of the installation it shows the following messages

The following views were using the index Solr User Index: oa_user_solr_search. You should disable or delete them.
The following views were using the index User Index: oa_user_search. You should disable or delete them.

View your new site which I click on and then I get

Additional uncaught exception thrown while handling exception.
Original

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: DELETE FROM {semaphore} WHERE (name = :db_condition_placeholder_0) AND (value = :db_condition_placeholder_1) ; Array ( [:db_condition_placeholder_0] => menu_rebuild [:db_condition_placeholder_1] => 82744247454af0b34025a77.69622394 ) in lock_release() (line 254 of /var/www/html/oa2/includes/lock.inc).
Additional

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT ff.* FROM {filter_format} ff WHERE (status = :db_condition_placeholder_0) ORDER BY weight ASC; Array ( [:db_condition_placeholder_0] => 1 ) in filter_formats() (line 427 of /var/www/html/oa2/modules/filter/filter.module).
Uncaught exception thrown in shutdown function.

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: DELETE FROM {semaphore} WHERE (value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 82744247454af0b34025a77.69622394 ) in lock_release_all() (line 269 of /var/www/html/oa2/includes/lock.inc).
Uncaught exception thrown in session handler.

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT 1 AS expression FROM {sessions} sessions WHERE ( (sid = :db_condition_placeholder_0) AND (ssid = :db_condition_placeholder_1) ); Array ( [:db_condition_placeholder_0] => Nv6hNOaeC8pkBqwyuauDR_cOY6ifAHaaB4AmJjV-G6M [:db_condition_placeholder_1] => ) in _drupal_session_write() (line 209 of /var/www/html/oa2/includes/session.inc).

I've reinstalled several times and the same thing over and over again. Not sure what's wrong or what I'm missing.

Argus’s picture

What makes you think your issue is the same as this one?