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?
Comments
I agree. We were trying to
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
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!
Hi rbrandon,
What is the correct way to instal git available version? I think this is the initial step-by-step:
Is this correct way?
Thank you very much!
Updated install docs
Let me know if this is confusing, updated the docs.
https://github.com/openscholar/openscholar/wiki/Install-on-Drupal-7#7x-3...
Issues in fresh install
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
change $entity->type == 'person' to $entity_type == 'person'
Which file?
In which file I need to do this hack?
Line 139
Hi,
In the file mentioned in the error output:
profiles/openscholar/modules/os_features/os_profiles/os_profiles.module
Confirmed issues
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
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
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
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
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.