Posted by crazyrohila on August 17, 2011 at 11:48am
hey first of all thanks for this awesome thing (openscholar).
I having a problem when click on shortcut icon.My main domain site is http://localhost/openscholar/ and a subdomain site is http://localhost/openscholar/itdept/. When i click on subdomain's site logo (or shortcut icon) it should be redirect on it's homepage (in my case http://localhost/openscholar/itdept) but it shows error 404 and redirecting on (http://localhost/itdept/). And this is happening every time when i click on shortcut icon and content editing or updating. so please help me and give a solution.
thanks

Comments
Need a domain
In my experience, Scholar's redirects do not work when the address is within a directory. If you set up a domain (ie: http://openscholar.localhost/ instead of http://localhost/openscholar), you might have better luck.
Here's instructions on how to do it with MAMP, but the process is similar on other platforms.
http://sawmac.com/mamp/virtual/
Same here
Hi, I have the same problem. In principle I could set up the subdomain but it's not really what I want at the moment. Any other ideas or solutions?
Thanks.
Solution: change the RewriteBase for subdirectory installations
Hi,
just edit the .htacess file on your OpenScholar installation root directory and follow the instructions around line 100:
# 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
Didn't work
Hi,
thanks, but this didn't work for me for some reason... even after restarting Apache and flushing the Drupal caches.
Well, I may set up the subdomain then. Thanks anyway.
curious if anyone knows why
curious if anyone knows why this happens (not being able to run in a subdir). Was playing with it the other day and it got very frustrating, seems like it's not using purl correctly as purl has helped mitigate these types of issues for me.
Ex Uno Plures
http://elmsln.org/
http://btopro.com/
http://drupal.psu.edu/
solution
Hi,
I had the same problem. I installed openscholar at localhost/test/openscholar.
What I did is:
1) grant 755 permissions to sites folder (recursively)
2) go to Site configuration/Persistent URL
2.1 In Persistent URL/types add the Path option
2.2 In Persistent URL /settings add the default domain (http://localhost/test/openscholar) and select the path modifier type in group space.
It works for me... everything but the thumbnails preview.
Cheers
page not found
i have problem with sub-domain site. i installed openscholar at (http://localhost/openscholar-dev ) my sub-domain site (example) redirects me to (http://localhost/openscholar-dev/example) but still i am getting "page not found error". any idea what causing me this problem ? Thanks in advance :)
OpenOutreach
Hi,
I am having the exact same problem with Open Outreach.
If anyone can guide me where in Admin Page, the sub-domain or Persistent URL setting is present, I would be very much thankful.
great
This seems to do it for me too.
Thanks a lot!
what about images
You're welcome!
Do you have any problems viewing image thumbnail previews (in people or image galleries?)
no but...
No the images and thumbs show up. But I had this problem before, even when running the OpenScholar site on a subdomain. I think I solved it either by fixing the permissions/ownership of the sites/default/files folder and its contents, or by running cron regularly.
As I figured out, cron is not run regularly by default because it's OpenScholar is D6 and the module Poormanscron is not installed. (Realising this, I'm really a newbie and you may find this comment useless...) Anyway, I think installing Poormanscron did it for me. Could that be true?
Good luck