Lots of issues in fresh install 7.22 and 3.5

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by marcelolaia on June 4, 2013 at 11:50pm

Hi,

I downloaded Drupal 7.22 and openscholar 3.5.

After unpack they, I have been copied all files/directory inside openscholar-SCHOLAR-3.5.0 directory

default.install.sh
.gitignore
.gitmodules
.htaccess
openscholar
patches
README.md
scripts
temporary
.travis.yml

to drupal-7.22/profiles

After that, I moved drupal-7.22/* to public_html/ and pointed my browser to http://mysite/install.php

The installer complains that modules

admin_menu
advanced_help
apachesolr
apachesolr_attachments
apachesolr_og
biblio
boxes
calendar
colorbox
comment_sources
context
context.last_chance_hook.patch
contextual_annotation
ctools
date
devel
diff
disqus
dyntextfield
elysia_cron
entity
entitycache
entityreference
entityreference_prepopulate
eva
facetapi
fb_social
features
feeds
feeds_xpathparser
field_collection
field_group
field_redirection
file_entity
filefield_paths
flag
google_feedapi
hierarchical_taxonomy
imagefield_crop
jcarousel
job_scheduler
js
libraries
link
linkchecker
media
media_gallery
memcache
message
migrate
migrate_extras
module_filter
mollom
multiform
nice_menus
nodeorder
oembed
og
og_tasks
og_views
og_vocab
olark
password_hustle
pathauto
purl
respondjs
restws
services
shorten
spaces
stringoverrides
strongarm
token
transliteration
twitter_pull
views
views_bulk_operations
views_og_cache
views_slideshow
wysiwyg
wysiwyg_filter

was missing!

So, I downloaded the openscholar-7.x-3.5_0 from http://openscholar.harvard.edu/download and moved all profiles/openscholar/modules/contrib to my fresh install profiles/openscholar/modules/contrib

Is this correct? Why this is not covered in Install Instructions (https://github.com/openscholar/openscholar/wiki/Install-on-Drupal-7)?

Plus, after installed, the system shows this message:

Notice: Trying to get property of non-object in os_profiles_field_access() (line 139 of /home/mydir/public_html/profiles/openscholar/modules/os_features/os_profiles/os_profiles.module).
Notice: Trying to get property of non-object in os_profiles_field_access() (line 139 of /home/mydir/public_html/profiles/openscholar/modules/os_features/os_profiles/os_profiles.module).
Notice: Undefined index: os_subsites in _openscholar_module_batch() (line 222 of /home/mydir/public_html/profiles/openscholar/openscholar.profile).
Notice: Trying to get property of non-object in _openscholar_module_batch() (line 222 of /home/mydir/public_html/profiles/openscholar/openscholar.profile).
Notice: Trying to get property of non-object in os_profiles_field_access() (line 139 of /home/mydir/public_html/profiles/openscholar/modules/os_features/os_profiles/os_profiles.module).
Notice: Trying to get property of non-object in os_profiles_field_access() (line 139 of /home/mydir/public_html/profiles/openscholar/modules/os_features/os_profiles/os_profiles.module).

What is this?

Categories:

Comments

I agree. We were trying to

Posted by dbinoj on June 5, 2013 at 3:19am

I agree. We were trying to install the latese openscholar so that we can replace the D6 version of beta OS. But faced a lot of issues similar to the above. Plus, the site looks broken after install.

Hi, It looks like the docs on

Posted by rbrandon on June 5, 2013 at 11:15am

Hi,

It looks like the docs on the github site need updating, they are valid for the older versions of 7.x-3.x.

The 3.5 version available at http://openscholar.harvard.edu/download is fully packaged and includes drupal. If you download this you should use it in it's entirety.

The 3.5 version available in git uses a build script which runs "drush make" the script is located at "./scripts/build" in the github checkout. You only need to use this if you want to build yourself. In both cases drupal core will be taken care of for you.

-RB

I need more helps, so!

Posted by marcelolaia on June 5, 2013 at 11:47am

Hi rbrandon,

What is the correct way to instal git available version? I think this is the initial step-by-step:

  1. install the latest version of Drupal from https://drupal.org/project/drupal
  2. download openscholar from github repositories https://github.com/openscholar/openscholar/tags
  3. run the "drush make" script located at "./scripts/build" inside OS
  4. what more?

Is this correct way?

Thank you very much!

Updated install docs

Posted by rbrandon on June 5, 2013 at 2:03pm

Issues in fresh install

Posted by UniversalDrupal on June 19, 2013 at 9:19am

Hi,

I've downloaded OpenScholar 3.5 package which includes Drupal and did the installation as usual. After the first step where modules are installed I am getting the following errors:

Notice: Trying to get property of non-object in os_profiles_field_access() (line 139 of /var/www/html/mydir/profiles/openscholar/modules/os_features/os_profiles/os_profiles.module).
Notice: Trying to get property of non-object in os_profiles_field_access() (line 139 of /var/www/html/mydir/profiles/openscholar/modules/os_features/os_profiles/os_profiles.module).
Notice: Trying to get property of non-object in os_profiles_field_access() (line 139 of /var/www/html/mydir/profiles/openscholar/modules/os_features/os_profiles/os_profiles.module).

Plus all the errors listed by marcelolaia in the end of his post a few steps after in the installation.

Installation was on a CENTOS 6.2. with php 5.3.3, mysql 5.1.61

What to do? Thanks

fix for line 139 error

Posted by UniversalDrupal on June 19, 2013 at 11:25am

change $entity->type == 'person' to $entity_type == 'person'

Which file?

Posted by marcelolaia on June 19, 2013 at 2:13pm

In which file I need to do this hack?

Line 139

Posted by UniversalDrupal on June 19, 2013 at 2:22pm

Hi,

In the file mentioned in the error output:

profiles/openscholar/modules/os_features/os_profiles/os_profiles.module

Confirmed issues

Posted by UniversalDrupal on June 19, 2013 at 11:17am

Hi, just confirmed the issues in a new VM Ubuntu 12.04 LTS with php 5.3.1 and mysql 5.5.29.

Same problem for me

Posted by franji on July 9, 2013 at 2:02am

After miles and miles of problems with installing OpenScholar I have finally gotten somewhere... but not all the way through with the unmitigated success for which I'd hoped when I started the process.
I am getting the following message as well:
Notice: Trying to get property of non-object in os_profiles_field_access() (line 139 of C:.........\profiles\openscholar\modules\os_features\os_profiles\os_profiles.module).

Is the hack suggested by UniversalDrupal the only way to fix it?
Do I need to then reinstall the whole project?
It would help if it were fixed. I downloaded my install package July 4.

Blessings,
Franji

We will take a look, I doubt

Posted by rbrandon on July 9, 2013 at 1:46pm

We will take a look, I doubt it is causing any major issues. You may just want to turn off notices for now.

More Notice and Warmings

Posted by marcelolaia on July 9, 2013 at 2:37pm

Notice: Undefined index: external in locale_url_outbound_alter() (line 1060 of /home/user/public_html/modules/locale/locale.module).

How I could disable Notices and Warmings?

how to run the build file

Posted by what_ever on September 27, 2013 at 8:26am

After read the documentation on github, I still don't know how to install the openScholar. it says "Build openscholar by running ./scripts/build (drush required)", how can I excute this file? Thanks.

OpenScholar

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /