Installation problem on Windows

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

Hello, everyone. We'd love to try OpenScholar (cf. my previous message), but are having a tough time installing it on Windows. We're trying to install OS 2.0-RC1. We're using EasyPHP, and we've tried both the current version (the one with PHP 5.4.6) and an older version (with PHP 5.2.17). We get tons of messages with pink warnings during the install, and when the install is complete and we try to go to the site, we get a page with hundreds or thousands of messages, for example

Warning: MySQL server has gone away query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid =
'theme_registry:openscholar_default' in C:\Program Files (x86)\EasyPHP-12.0\www\openscholar-2.0-RC1\includes\database.mysqli.inc on line 169

and then finally, "Page not found".

We're not complete newbies, because we've managed to get Drupal 7.20 running with no problem whatsoever.

Does anyone know what could be causing this?

Mark

Comments

We just had these problems

kickasstimus's picture

We just had these problems ourselves. Here's how we fixed it.

You'll have to go in and modify your my.cnf and php.ini files to something like the following

max_execution_time = 300
max_input_time = 600
memory_limit = 160M
post_max_size = 160M
realpath_cache_size = 2M
key_buffer = 1024M
max_allowed_packet = 128M
table_cache = 1024M
sort_buffer_size = 8M
net_buffer_length = 8K
read_buffer_size = 8M
read_rnd_buffer_size = 4M
myisam_sort_buffer_size = 128M
tmp_table_size = 320M
query_cache_size = 192M
query_cache_type = 1
thread_cache_size = 16
max_connections = 400
wait_timeout = 600

Use phpinfo.php to confirm your settings.

You will still get warnings. Make sure your permissions are set as loosely as possible. Many of the warnings you'll get are pass_by_reference errors in php (differences between 5.2, 5.3, and 5.4). Just turn them off in the admin panel once you've set up OS or force php to accept pass_by_reference.

That should do it.

-KA

OpenScholar

Group organizers

Group notifications

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