Extension talk:CentralNotice
Contents |
[edit] Error when DB_table names are prefixed
MySQL a renvoyé l’erreur « 1109 : Unknown table 'cn_notices' in where clause
when the tables are prefixed with fr_ as are all the tables in my wiki. FrViPofm 17:16, 7 March 2009 (UTC)
[edit] Non-Wikimedia use?
Is this extension intended for non-Wikimedia use? It appears to ignore $wgDBprefix and to have the Wikimedia project names hard-coded. (Assuming that the instruction 2. Run central-auth.sql is a typo for 2. Run CentralNotice.sql) --MoreThings 19:34, 19 April 2009 (UTC)
[edit] how do you find out?
how do you find out if you have a "periodic scheduler (cron)"? Bud0011 08:25, 20 June 2009 (UTC)
- You would probably need to ask your hosting provider. More info can be found at cron. Kaldari 17:11, 8 June 2010 (UTC)
[edit] um...where is this function?
So, i'm trying this extension out, and i get this error:
- Fatal error: Call to undefined method SiteConfiguration::loadFullData() in $IP/extensions/CentralNotice/SpecialNoticeText.php on line 213
but problem is, there's no "loadFullData" in any of the files .... is there? Bud0011 02:14, 11 August 2009 (UTC)
[edit] The same error:
- Fatal error: Call to undefined method SiteConfiguration::loadFullData() in /var/wwwpub/extensions/CentralNotice/SpecialNoticeText.php on line 213
What shall i do with it ? --Lugerr 11:20, 17 September 2009 (UTC)
- For now, just disable the extension.... i guess....? Bud0011 21:17, 19 September 2009 (UTC)
loadFullData() you find in the new Version von WM. 1.16. You can download that, and copy and paste it in the same .php
[edit] unable to make it work "(
when i write Run php maintenance/sql.php CentralNotice.sql in putty (in my wiki dir) it says X-Powered-By: PHP/5.2.14 Content-type: text/html
Warning: fopen(CentralNotice.sql) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in /home2/uetblogs/public_html/wiki/maintenance/sql.php on line 35
Unable to open input file and when i goto Special:CentralNotice it says, A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "CentralNotice::listNotices". Database returned error "1146: Table 'uetblogs_mdw1.mdw_cn_notices' doesn't exist (localhost)". i am a not a pro and wanted to have run CentralNotice active on my wiki. please help me.. whats wrong i am doing. Thanks --Adilch 09:28, 15 January 2011 (UTC)
- I've changed the installation instructions so that the path should be correct. Give it another try. —Emufarmers(T|C) 21:09, 15 January 2011 (UTC)
- Thanks for simplifing things.. but i am still stuck... when i type "extensions/CentralNotice/CentralNotice.sql" it says "-bash: extensions/CentralNotice/CentralNotice.sql: Permission denied" where as Extensions dir already have 755 permission :( now what sir?? --Adilch 00:12, 16 January 2011 (UTC)
-
- What you need to type is
- php maintenance/sql.php extensions/CentralNotice/CentralNotice.sql
- —Emufarmers(T|C) 05:43, 16 January 2011 (UTC)
- i wrote the same what you suggested, now it says,
Warning: fopen(extensions/CentralNotice/CentralNotice.sql) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in /home2/uetblogs/public_html/wiki/maintenance/sql.php on line 35
Unable to open input file --Adilch 21:53, 16 January 2011 (UTC)
-
-
-
- You need to be running it from the wiki root (/home2/uetblogs/public_html/wiki/). —Emufarmers(T|C) 07:29, 17 January 2011 (UTC)
-
-