Last modified: 2012-06-14 22:45:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39607, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37607 - Error in installation (mw-config) for a new wiki.
Error in installation (mw-config) for a new wiki.
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
ArticleFeedback (Other open bugs)
REL1_19-branch
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-14 20:25 UTC by Jean Carlo
Modified: 2012-06-14 22:45 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
PrintScreen Error in Google Chrome (26.57 KB, image/png)
2012-06-14 20:25 UTC, Jean Carlo
Details

Description Jean Carlo 2012-06-14 20:25:34 UTC
Created attachment 10752 [details]
PrintScreen Error in Google Chrome

I do not speak English. Using Google Translator.
In a new wiki, using the installation wizard (subfolder / mw-config), the system has an error in the "Creating tables of enabled extensions" of "mw-config/index.php? Page = Install". The error is described below:

Ocorreu um erro de sintaxe de busca no banco de dados.
Isto pode indicar um problema com o ''software''.
A última tentativa de busca no banco de dados foi:
<blockquote><tt>SHOW INDEX FROM `article_feedback`</tt></blockquote>
na função "<tt>ArticleFeedbackHooks::loadExtensionSchemaUpdates</tt>".
O banco de dados retornou o erro "<tt>1146: Table 'guina764_wikinalz.article_feedback' doesn't exist (localhost)</tt>".<p>Backtrace:</p><p>#0 /home/guina764/public_html/__sub__/motor/wiki/includes/db/Database.php(885): DatabaseBase->reportQueryError('Table 'guina764...', 1146, 'SHOW INDEX FROM...', 'ArticleFeedback...', false)<br />
#1 /home/guina764/public_html/__sub__/motor/wiki/includes/db/DatabaseMysql.php(397): DatabaseBase->query('SHOW INDEX FROM...', 'ArticleFeedback...')<br />
#2 /home/guina764/public_html/__sub__/motor/wiki/includes/db/Database.php(1547): DatabaseMysql->indexInfo('article_feedbac...', 'aa_page_id', 'ArticleFeedback...')<br />
#3 /home/guina764/public_html/__sub__/motor/wiki/extensions/ArticleFeedback/ArticleFeedback.hooks.php(177): DatabaseBase->indexExists('article_feedbac...', 'aa_page_id', 'ArticleFeedback...')<br />
#4 /home/guina764/public_html/__sub__/motor/wiki/includes/Hooks.php(216): ArticleFeedbackHooks::loadExtensionSchemaUpdates(Object(MysqlUpdater))<br />
#5 /home/guina764/public_html/__sub__/motor/wiki/includes/GlobalFunctions.php(3847): Hooks::run('ArticleFeedback...', Array)<br />
#6 /home/guina764/public_html/__sub__/motor/wiki/includes/installer/DatabaseUpdater.php(69): wfRunHooks()<br />
#7 /home/guina764/public_html/__sub__/motor/wiki/includes/installer/DatabaseUpdater.php(120): DatabaseUpdater->__construct('LoadExtensionSc...', Array)<br />
#8 /home/guina764/public_html/__sub__/motor/wiki/includes/installer/DatabaseInstaller.php(195): DatabaseUpdater::newForDB('LoadExtensionSc...', Array)<br />
#9 /home/guina764/public_html/__sub__/motor/wiki/includes/installer/Installer.php(1390): DatabaseInstaller->createExtensionTables(Object(DatabaseMysql), false, NULL)<br />
#10 /home/guina764/public_html/__sub__/motor/wiki/includes/installer/WebInstallerPage.php(1142): Installer->performInstallation(Object(DatabaseMysql))<br />
#11 /home/guina764/public_html/__sub__/motor/wiki/includes/installer/WebInstaller.php(254): WebInstaller_Install->execute(Object(MysqlInstaller))<br />
#12 /home/guina764/public_html/__sub__/motor/wiki/mw-config/index.php(50): WebInstaller->execute(Array, Object(MysqlInstaller))<br />
#13 /home/guina764/public_html/__sub__/motor/wiki/mw-config/index.php(18): wfInstallerMain()<br />
#14 {main}
Comment 1 Jean Carlo 2012-06-14 20:28:05 UTC
Em PT_BR (Original Language):
Em um wiki novo, usando o assistente de instalação (subpasta / mw-config), o sistema retorna um erro na "Criação de tabelas de extensões habilitadas" de "mw-config/index.php?page=Install". O erro é descrito acima.

Obrigado.
Comment 3 Jean Carlo 2012-06-14 21:50:15 UTC
The problem still persists, but now the error is different:

Creating article_feedback table...done.
...article_feedback table already exists.
...index aa_page_id already set on article_feedback table.
...have aa_design_bucket field in article_feedback table.
...have afp_value_text field in article_feedback_properties table.
...article_feedback_properties table already exists.
...article_feedback_revisions table already exists.
Creating article_feedback_stats_types table...done.
Creating article_feedback_stats table...done.
Adding index article_feedback_timestamp to table article_feedback... done.
Adding index aa_page_user_token to table article_feedback... <p>Could not open "/home/guina764/public_html/__sub__/motor/wiki/extensions/ArticleFeedback/sql/aa_page_user_token.sql".<br />
</p><p>Backtrace:</p><p>#0 /home/guina764/public_html/__sub__/motor/wiki/includes/installer/DatabaseUpdater.php(418): DatabaseBase->sourceFile('/home/guina764/...')<br />
#1 /home/guina764/public_html/__sub__/motor/wiki/includes/installer/DatabaseUpdater.php(471): DatabaseUpdater->applyPatch('/home/guina764/...', true)<br />
#2 /home/guina764/public_html/__sub__/motor/wiki/includes/installer/DatabaseUpdater.php(281): DatabaseUpdater->addIndex('article_feedbac...', 'aa_page_user_to...', '/home/guina764/...', true)<br />
#3 /home/guina764/public_html/__sub__/motor/wiki/includes/installer/DatabaseUpdater.php(248): DatabaseUpdater->runUpdates(Array, Array)<br />
#4 /home/guina764/public_html/__sub__/motor/wiki/includes/installer/DatabaseInstaller.php(195): DatabaseUpdater->doUpdates(Array, true)<br />
#5 /home/guina764/public_html/__sub__/motor/wiki/includes/installer/Installer.php(1390): DatabaseInstaller->createExtensionTables(Array)<br />
#6 /home/guina764/public_html/__sub__/motor/wiki/includes/installer/WebInstallerPage.php(1142): Installer->performInstallation(Object(MysqlInstaller))<br />
#7 /home/guina764/public_html/__sub__/motor/wiki/includes/installer/WebInstaller.php(254): WebInstaller_Install->execute(Array, Object(MysqlInstaller))<br />
#8 /home/guina764/public_html/__sub__/motor/wiki/mw-config/index.php(50): WebInstaller->execute(Array, Array)<br />
#9 /home/guina764/public_html/__sub__/motor/wiki/mw-config/index.php(18): wfInstallerMain()<br />
#10 {main}</p>
Comment 4 Platonides 2012-06-14 21:54:28 UTC
What are the permissions on the file /home/guina764/public_html/__sub__/motor/wiki/extensions/ArticleFeedback/sql/aa_page_user_token.sql ?
Comment 5 Jean Carlo 2012-06-14 22:45:51 UTC
It was just that! The linux permições were like 644, changed to 777 (to avoid any new problem). The scrip ended successfully.
I will add this information in mediawiki, as in other extensions, the. Sql have permission 644, without presenting any problems. Only it has this error.
It would be interesting to adapt it to the example of others, that this is not a problem for future causase unsuspecting user.
Thank you.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links