meta-environment icon indicating copy to clipboard operation
meta-environment copied to clipboard

translate.wordpresorg.dev not connected to GlotPress

Open adipop opened this issue 10 years ago • 4 comments

After I created a WordPress Meta-Environment as described in the short article http://test.informagination.ro/wordpress-meta-environment-in-win-10/, I came acress this issue: when starting http://translate.wordpressorg.dev/ all langage cards have 0 information. Then, trying to login with admin | password I get several notifications all related to GlotPress (and BackPress):

Notice: Undefined offset: 0 in /srv/www/wordpress-meta-environment/translate.wordpressorg.dev/public_html/glotpress/gp-includes/backpress/class.bpdb.php on line 936

Notice: Trying to get property of non-object in /srv/www/wordpress-meta-environment/translate.wordpressorg.dev/public_html/glotpress/gp-includes/backpress/class.bpdb.php on line 936

Notice: Undefined variable: new_array in /srv/www/wordpress-meta-environment/translate.wordpressorg.dev/public_html/glotpress/gp-includes/backpress/class.bpdb.php on line 945

Notice: Use of undefined constant PLUGINS_TABLE_PREFIX - assumed 'PLUGINS_TABLE_PREFIX' in /srv/www/wordpress-meta-environment/translate.wordpressorg.dev/public_html/gp-plugins/wporg-routes/routes/locale.php on line 567

Is there some bug with the GlotPress' provisioning script? I did something wrong? Please advice!

All the best!

adipop avatar Oct 18 '15 13:10 adipop

At first glance it seems like the PHP notices are probably caused by the Meta Environment not having some database content and a gp-config.php constant that production has.

@ocean90, do you know if those cards should be populated by default? If so, maybe I broke it while fixing #28?

iandunn avatar Oct 18 '15 13:10 iandunn

In addition (and possibly related) the default admin user doesn't have any administration capabilities over GP projects, so populating the projects is impossible at this point.

deconf avatar Oct 18 '15 13:10 deconf

Already talked with @deconf about this and it seems like something broke the setup. I've no install handy to investigate the issues at the moment and since I'm in the process of switching translate.w.org to the plugin version of GlotPress I currently can't spend any time on this.

when starting http://translate.wordpressorg.dev/ all langage cards have 0 information. Not sure what you mean by that, but the install doesn't contain originals or translations. You have to import them by yourself.

ocean90 avatar Oct 18 '15 15:10 ocean90

Related: #54

ocean90 avatar May 28 '16 22:05 ocean90