Last modified: 2012-06-14 22:45:51 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}
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.
Did you try a latest version from https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/ArticleFeedback.git;a=snapshot;h=refs/heads/master;sf=tgz ?
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>
What are the permissions on the file /home/guina764/public_html/__sub__/motor/wiki/extensions/ArticleFeedback/sql/aa_page_user_token.sql ?
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.