Harvard Sields

Events happening in the community are now at Drupal community events on www.drupal.org.
bremskraft's picture

I am running the latest version of OpenScholar, but I am having problems with the Harvard Shield not showing up on individual sites/themes. The URL for the graphic on the individual pages is:

http://mysite.mysite.edu/sites/all/modules/openscholar_vsite/vsite_desig...

But the graphic is actually located here:

http://mysite.mysite.edu/MYSITE/sites/all/modules/openscholar_vsite/vsit...

It's like the base.url isn't being recognized, but everything is properly set up in htaccess. Any thoughts?

Comments

I think we ran into this too.

dmcw's picture

I think we ran into this too. We didn't find a real fix, but ended up putting a symlink somewhere - I think at http://mysite.mysite.edu/sites to http://mysite.mysite.edu/MYSITE/sites (or somesuch)

certainly not a recommended approach, but it did get us through some testing and review we were doing.

Hope this is of some help.

Adjust the default Drupal

stevecory's picture

Adjust the default Drupal .htaccess file
Look for:
# Modify the RewriteBase if you are using Drupal in a subdirectory or in a
# VirtualDocumentRoot and the rewrite rules are not working properly.
# For example if your site is at http://example.com/drupal uncomment and
# modify the following line:
# RewriteBase /drupal
uncomment RewriteBase /

Thanks

bremskraft's picture

But everything is set up properly in .htaccess...

It looks like this is a bug

ferdi's picture

It looks like this is a bug in OS. It's ignoring the base path. A solution that I would recommend for now is to install it in the documentroot of the vhost and not in a subdirectory.

Got it working by creating a

bremskraft's picture

Got it working by creating a sites dir under /www/html/MySite that has an .htaccess file to redirect all requests "/" to http://faculty.unlv.edu/MySite/

thanks

progone's picture

This one worked for me.

It worked for a while, then

progone's picture

It worked for a while, then it broke again. This time, its not fixing with this solution.
Perhaps its a php or db issue.

I found a much easier way

progone's picture

I found a much easier way that I just came across while looking at my DB tables.

The tables revealed the 'Front page' is set at admin/config/system/site-information

Find this section:
Front page
Number of posts on front page

The maximum number of posts displayed on overview pages such as the front page.
Default front page
http://example.com/drupal/
Optionally, specify a relative URL to display as the front page. Leave blank to display the default content feed.

Change the URL to a node or another page you made, such as: aboutme or home
mine would be something like this http://example.com/drupal/home

OpenScholar

Group organizers

Group notifications

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