Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
ezra-g CreditAttribution: ezra-g commentedCan you check your PHP error log and post the specific error message that appears when you attempt to register for the site?
Comment #2
pdeclarens CreditAttribution: pdeclarens commentedHi
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!
Comment #3
pdeclarens CreditAttribution: pdeclarens commentedare the informations above suffcient to find where is the problem?
Comment #4
pdeclarens CreditAttribution: pdeclarens commentedany one to help me on this issue?
Comment #5
pdeclarens CreditAttribution: pdeclarens commentedmaybee 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!
Comment #6
pdeclarens CreditAttribution: pdeclarens commentedand 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;
}
Comment #7
pdeclarens CreditAttribution: pdeclarens commentedhello,
I posted what seems to me the error log...
Could you tell me if this gives you enough informations?
thanks
Comment #8
pdeclarens CreditAttribution: pdeclarens commentedI used improperly the assigned tab.. sorry
Comment #9
japerryI'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.
Comment #10
pdeclarens CreditAttribution: pdeclarens commentedthe 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
Comment #11
lsolesen CreditAttribution: lsolesen commented