Project:Drupal Commons
Version:7.x-3.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:japerry
Status:postponed (maintainer needs more info)

Issue Summary

Hi,

In the account settings, I checked : Visitors, but administrator approval is required

but when I try via the welcome page to click on the Signup button, I get a page Error: the site encountered an unexpected error.

I made several attemps on various browser with same result.

thanks for your help

Comments

#1

Assigned to:pdeclarens» Anonymous
Status:active» postponed (maintainer needs more info)

Can you check your PHP error log and post the specific error message that appears when you attempt to register for the site?

#2

Assigned to:Anonymous» pdeclarens

Hi

this is what I find in the report/recentlog messages:

php 02/21/2013 - 16:46 Notice: Use of undefined constant OG_REQUIRED_CTOOLS...

php 02/21/2013 - 09:56 EntityMetadataWrapperException: Invalid data value...
php 02/21/2013 - 09:56 Notice: Undefined property: stdClass::$gid in og...

details:
Type php
Date Thursday, February 21, 2013 - 09:56
User Jean Aymar
Location http://www.rse.adret.eu/?q=users/pascal-de-clarens
Referrer http://www.rse.adret.eu/
Message EntityMetadataWrapperException: Invalid data value given. Be sure it matches the required data type and format. in EntityMetadataWrapper->set() (line 122 of /homepages/42/d141549472/htdocs/rse/commons/profiles/commons/modules/contrib/entity/includes/entity.wrapper.inc).
Severity error
Hostname 92.90.26.14
Operations

thanks for your help!

#3

Status:postponed (maintainer needs more info)» active

are the informations above suffcient to find where is the problem?

#4

any one to help me on this issue?

#5

maybee theese informations are helpfull to find the bug?

Type php
Date Sunday, March 10, 2013 - 07:39
User Anonymous (not verified)
Location http://localhost/commons7/user/register
Referrer http://localhost/commons7/
Message EntityMetadataWrapperException: Invalid data value given. Be sure it matches the required data type and format. in EntityMetadataWrapper->set() (line 122 of C:\wamp\www\commons7\profiles\commons\modules\contrib\entity\includes\entity.wrapper.inc).
Severity error
Hostname 127.0.0.1
Operations

thanks for your help!

#6

and this is the entity.wrapper concerned lines:
public function set($value) {
if (!$this->validate($value)) {
throw new EntityMetadataWrapperException('Invalid data value given. Be sure it matches the required data type and format.');
}
$this->clear();
$this->data = $value;
$this->updateParent($value);
return $this;
}

#7

hello,

I posted what seems to me the error log...

Could you tell me if this gives you enough informations?

thanks

#8

Assigned to:pdeclarens» Anonymous

I used improperly the assigned tab.. sorry

#9

Category:bug report» support request
Assigned to:Anonymous» japerry
Status:active» postponed (maintainer needs more info)

I've gone through a few test cases and cannot replicate yet. Can you please provide the following information:

Version of commons. it says 3.x-dev, but are you using a nightly snapshot, or are you using the 3.0 release?
What is the history of this site and commons? IE: is this a new commons site or an upgrade from an earlier beta or alpha version of 3.0... or from 6.x-2.0?
Area of failure: does it occur immediately when you click 'signup'? The url should say 'user/register'

If this is a brand new install you're testing, its possible that something interrupted the installation process. I'd recommend completely wiping out the database and starting over. Make sure the files folder is also removed/recreated, or you might see permission issues.

If you're upgrading I need to know from which version to which you've gone from so I can test it. Its also a possible windows specific issue, since I noticed you're using wamp.

#10

the version I use is following : commons-7.x-3.0-beta2-core.tar

It is a brand new site

error come immediatly and screen looks like:

Home (my logo)
RSE (name I given to site)
Error
The website encountered an unexpected error. Please try again later.

I installed it on localhost ans on a 1&1 server : http://rse.adret.eu/ with same problem (so you can see the result)

I just tried to download the latest version dated 2013-Mar-02 but it is no longer on the server, this is the message: The requested URL /files/projects/commons-7.x-3.x-dev-core.tar.gz was not found on this server.

This is a test site made as demonstartor for custommers, so I have no problems to give you an administrator acess (I can create user through admin/people/add user

I will try on localhost with the 3.0 version and come back to you

many thanks

thanks for your help