Hi there,
Today (and yesterday, and the day before that) I am trying to install commons.
I am using wampserver 2.2 which installed correctly
I created a database and a user
I modified config.inc.php with that user and set AllowNoPwd to false
I modified settings.php's $db_url and added ini_set('max_execution_time', 0);
I modified install.php and commented //install_check_requirements($profile, $verify); out.
Then I run the installer at: http://localhost/commons/install.php
I select the db and give in the user I created.
Then........
A blank screen. Nothing. The database is filled with tables however...
Also when going to my localhost/commons/index.php I find the following error:
( ! ) Fatal error: Call to undefined function user_access() in E:\wamp\www\commons\includes\theme.inc on line 1791
Call Stack
# Time Memory Function Location
1 0.0006 681160 {main}( ) ..\index.php:0
2 0.0519 6708032 drupal_not_found( ) ..\index.php:23
3 0.0520 6709432 theme( ) ..\common.inc:390
4 0.0564 7170656 call_user_func_array ( ) ..\theme.inc:709
5 0.0564 7171056 template_preprocess( ) ..\theme.inc:709
What should I do? I am getting quite desperate here.
The following url might give some answers:
- CHECK (MY PC is an I7 with 8GB memory): A VPS or dedicated server with 1GB RAM minimum; 2GB recommended
- CHECK: max_execution_time at least 120 seconds
- CHECK: memory_limit at least 128MB (190MB recommended)
- CHECK (I run windows 7): Up-to-date *AMP Stack (most tested on Linux)
- CHECK (v5.3.8 & v5.5.16 trough WAMP server 2.2) PHP 5.2. and MySQL 5.x required
- UNKNOWN (how do I check this?): The GD graphics library for your PHP interpreter
- CHECK? (I deleted the # in front of the line in the httpd.config file): PHP must have mod_rewrite enabled
- UNKNOWN (How do I check if I have this?: An op-code cache like APC is recommended since it greatly improves performance
Can anyone please help me set this thing up, I've been struggling for days now.
Kindest regards,
NiQuil
Comments
Comment #1
wjaspers commentedThis belongs in the Drupal Commons queue because it is a distribution.
Since you're using a WAMP stack, the GD image library is easy to enable for PHP.
Find your PHP folder, typically C:/PHP, and change your php.ini (if you haven't already done so, you will need to copy one of: php-development or php-production to php.ini). Look for the extension=gd2.dll
Make sure the comment out is removed (instead of
;extensionit would look likeextension=Restart Apache.
If Apache restarts and starts spewing dialog errors, you may need to update the extension_dir where PHP's extensions are located. I've never understood why the PHP binaries for Windows don't come by default with a sensible value, but whatever.
I'm not familiar with APC on Windows machines, so you're on your own there.
Comment #2
mstef commentedWhy did you do that? I've never heard of anyone doing that before.
Revert those changes. Set a password for your db user.
I'd make sure you have at least 128MB allocated for PHP. I'd also set the max execution time to more than 30 seconds.
Try that and report back.
Comment #3
lsolesen commentedClosing old issues for inactivity. Please reopen if the problem still persists.