Installation problem

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

Hi all,
I am trying to install OpenScholar for the first time and I'm having problems. When I get to the Install profile step (after the database config) I get and error An HTTP error 500 occurred. http://localhost:8888/mentormatch/install.php?locale=&profile=openschola.... I did give my default directory and the settings.php file read/write access before installing. After the receiving the error I noticed the privileges had been set back to read only. I clicked on a link to the error page and that then brings me to the Open Flavor part of the installation. When I try selecting any of the options...Project Site, Scholar Personal Sites, etc....and click OK I just get a blank screen. I've tried deleting my installation and reinstalling but the same thing happens. I'm using the latest version of MAMP for my server and mySQL for the database.

Any thoughts? I'd greatly appreciate your help!!!
Regards,
Laura

Comments

Release?

nancydru's picture

Is this 7.10, by any chance? I've seen several people in the last day or so saying they are having this problem.

No, OpenScholar is still

lgreer's picture

No, OpenScholar is still using version 6 and will be for a while from what I gather.

I would check the apache

timhilliard's picture

I would check the apache error logs to see what was causing the error. You may have been running out of memory. I don't use MAMP so don't know where it stores the error log but someone else may be able to help out there.

It should be a PHP memory

ferdi's picture

It should be a PHP memory limit issue (http://drupal.org/node/207036). You will need at least 96M

Second that... Could be your memory.

ttjordan81's picture

You probably have already seen the server requirements page, but I installed Openscholar and the only issue I had was not having enough memory. I set my limit to 100M.

Requirements Page
http://openscholar.harvard.edu/book/requirements

Thanks everyone! Increasing

lgreer's picture

Thanks everyone! Increasing the memory limit to 96 got rid of the 500 error but I still not sure the install is completing successfully. I'm still getting a blank screen after choosing the option on the OpenScholar flavor step. I check the mamp logs and there is an error in php_error.log - PHP Fatal error: Call to undefined function os_include() in /Users/laura/Dropbox/mamp/MentorMatch/profiles/openscholar/openscholar.profile on line 493. I'm able to open the local site but there is a warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'cp_access_cp' was given in /Users/laura/Dropbox/mamp/MentorMatch/includes/menu.inc on line 453. I'm new to all of this so I'm not sure if I should be worried about it.

It's hard to tell but if you

ferdi's picture

It's hard to tell but if you get a blank screen, that's not a good sign. I'd increase the memory again (256M). I dont think The HTTP error 500 is because of memory limit though.

Before this last response, I

lgreer's picture

Before this last response, I tried installing to a new directory (I had been deleting the install, dropping and recreating the db and installing to the same directory each time). Now the installation is seemingly completing OK - no more blank screen - but when I try to bring up the site I get a lengthy set of user warnings that start with MySQL server has gone away query: UPDATE cache SET data instead of the login screen. Is that another parameter that I need to adjust?

max_allowed_packet ?

bbenone's picture

When I see "MySQL Server has gone away", it's usually an issue with the max_allowed_packet size setting in your mysql config (my.cnf). I'm not sure what config MAMP ships with, but if you are doing anything that requires lots of data transfered in single queries, you may need it higher than the default. I wouldn't be surprised if a cache update tripped this. I used to run into this problem when I used XAMP. I always changed mine to 16M... might want to try that?

-Ben

Ben Benone
Director of Applications
BioRAFT

Indeed

nancydru's picture

Small max_allowed_packet settings can show up several ways. I first encountered it with Views and NodeQueue. Only part of the data got transferred and that made the site go really wacky. The host would only go to 4M (from the 1M default), but that, plus clearing the cache at least once a day, solved the problem.

500 server error

spiritcapsule's picture

We've run into the 500 error as well, every time we try to install 2.0 Beta 13.
2.0 Beta 9 installed ok on the same server.

We have the PHP memory limit set to 96M, but maybe that's still not enough?

Setting max_allowed_packet to

lgreer's picture

Setting max_allowed_packet to 16M did the trick. Thanks so much everyone!

Global Communication Institute's picture

Hello All,

Problem: Installing openScholar latest version and Drupal6 on our server, and I encountered the following problems for many times:

After I have tried all fixes suggested by many web pages, but the White web page was shown during installing. The error message says the following:

: " PHP Fatal error: Allowed memory size of 67108864 bytes exhausted"

I have read most of the solutions on the web to the above problems, and done the solutions given at these pages:

http://drupal.org/node/1350462
http://forum.civicrm.org/index.php?topic=17481.0
http://ftp.drupal.org/files/videocasts/Install-D6.mp4
http://groups.drupal.org/node/104979
http://drupal.org/documentation/install/beginners
http://drupal.org/server-permissions

I made sure that I made done the following things:

* Done this, not solved

I did the following in php.ini file and ..htaccess file

memory_limit = 128M

  • Done this, not solved

http://drupal.org/node/158043

Output Buffering
Some modules need output buffering turned on.
To do this, try adding these lines to your .htaccess file (normally located in your root directory:

php_value output_buffering On

php_value output_handler mb_output_handler

* Done this, not solved

Clearing the Cache Table

Depending on the problem, clearing the cache table (via phpmyadmin for example) can resolve a WSOD.

* Done this, not solved

PHP pages do not display

https://my.hostmonster.com/cgi/help/281

* Problem: " PHP Fatal error: Allowed memory size of 67108864 bytes exhausted"

Used these solutions suggested at these pages: did not work for me
http://drupal.org/node/1350462

http://forum.civicrm.org/index.php?topic=17481.0

All the above have not fixed the above install problems. Now, I really wish to hear any suggestions what I have done wrong here. Thanks a lot.

Helen

24-hours Daily Global Tel. 1-617-418-3326 (U.S.)
China-Asia Office: College Area, Beijing
North America: Harvard & MIT Area, Boston
company: eGlobeBiz@Gmail.com

PHP limit

freescholar's picture

On some machines, I have had to seriously raise the php limit during the install --

You wrote:
I did the following in php.ini file and ..htaccess file
memory_limit = 128M

I raised mine to 300M, and then set it back to 128M after the install.

Also, be sure that the server is reading the php.ini file that you are actually editing - some servers have multiple php.ini files, and some hosts allow you to put a php.ini file in your web root folder too.

Handbook on Platform Cooperativism, a movement building platforms and tools owned by the people. http://bit.ly/hackitownit

I did this and set it to 256MB, seems no effect.

Global Communication Institute's picture

Hello,

=====================================

some hosts allow you to put a php.ini file in your web root folder too.

I did this and set it to 256MB, seems no effect.

I reported more error messages here in this install process.
http://drupal.org/node/1335698#comment-5659914

Thank a lot,

Helen

24-hours Daily Global Tel. 1-617-418-3326 (U.S.)
China-Asia Office: College Area, Beijing
North America: Harvard & MIT Area, Boston
company: eGlobeBiz@Gmail.com

reload your web server

mbouchard58's picture

Helen,
Read closely the response you are getting from Steve Dondley at the link you provided. You may have changed your php.ini to 256MB but it has not taken effect. The log message you provided is telling you that. It says 67,108,864 bytes exhausted. Clearly, ~67 million bytes is not 256 megabytes. Can you reload the web server with something like apachectl restart (or apachectl stop followed by a apachectl start). If not, get a system administrator to do it for you. Look at php_info(). It will tell you what the web server has for php memory_limit.

Maury Bouchard
Simmons GSLIS

Boston

Group categories

More Specifically

Group notifications

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