Open adipop opened 8 years ago
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?
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.
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.
Related: #54
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!