symbiote/silverstripe-memberprofiles

Installation problem with ver. SS 3.1.3, 3.1.4, 3.1.5

JStika opened this issue · 4 comments

Hi,

I cannot install module, after http://www.***********.loc/dev/build?isDev=1&flush=all
I gor error: Sorry, you can't use ?isDev=1 until your Member and Group tables database are available. Perhaps your database connection is failing?
Tables not created.
Why?
Attached image
thursday 15-5-2014 10-13-13

You'll need to place your site into dev mode to get a useful error instead of the generic error page. http://doc.silverstripe.org/framework/en/topics/debugging

  1. I place define('SS_ENVIRONMENT_TYPE', 'dev'); in _ss_enviroment.php
  2. ok, I must to change:
    Object::set_static('ErrorPage','icon','mysite/images/treeicons/error');
    to
    Config::inst()->update('ErrorPage','icon','mysite/images/treeicons/error');
  3. I did http://www.***********.loc/dev/build?isDev=1&flush=all
  4. Tables was created, but some errors

Attached image
thursday 15-5-2014 11-01-59
5) Wned i do http://www.***********.loc/dev/build?isDev=1&flush=all second time errors dissapears
Why?

It's due to how your news page database building works, since the member table hasn't been built yet and it's querying it. Since the error is fixed, I'm closing this off.

I never sow this behaviour on installing any module.