Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mediawiki 1.5.6 -> can only edit when anonymous - paradox
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mcjack
n00b
n00b


Joined: 03 Feb 2006
Posts: 2

PostPosted: Fri Feb 03, 2006 1:02 pm    Post subject: Mediawiki 1.5.6 -> can only edit when anonymous - paradox Reply with quote

Hi,

I am using

* MediaWiki: 1.5.6
* PHP: 4.3.10-16 (apache2handler)
* MySQL: 4.1.11-Debian_4sarge2-log

since I upgraded from 1.5.3 to 1.5.6, only changes to pages, which are submitted when 'anonymous', are applied.

When I am logged on with a user in wiki I can go 'edit page' but when I 'apply' I am always
redirected to the 'preview page' where it sais "This is only a preview, the article is not saved yet".

Other example: when I go to the preferences the logged on user and change the language for example,
then click on save, it reverts back to the old settings.

The mysql.log (when clicking on save preferences):
Code:

060203 15:04:17      29 Connect     wikiuser@localhost on
             29 Init DB     wikidb
             29 Query       /* Database::begin */ BEGIN
             29 Query       SHOW PROCESSLIST
             29 Query       SHOW STATUS
             29 Query       /* User::loadFromDatabase */ SELECT user_name,user_password,user_newpassword,user_email,user_email_authenticated,user_real_name,user_options,user_touched,user_token  FROM `user`  WHERE user_id = '2'  LIMIT 1
             29 Query       /* User::loadFromDatabase */ SELECT ug_group  FROM `user_groups`  WHERE ug_user = '2'
             29 Query       /* MediaWikiBagOStuff:_doquery */ SELECT value,exptime FROM `objectcache` WHERE keyname='wikidb:messages'
             29 Query       /* Database::immediateCommit */ COMMIT
             29 Query       /* Database::begin */ BEGIN
             29 Query       /* LinkCache::addLinkObj */ SELECT page_id  FROM `page`  WHERE page_namespace = '2' AND page_title = 'Mjackson'  LIMIT 1
             29 Query       /* User::getNewtalk */ SELECT wl_user  FROM `watchlist`  WHERE wl_title = 'Mjackson' AND wl_namespace = '3' AND wl_user = '2' AND (wl_notificationtimestamp != 0)
             29 Query       /* LinkCache::addLinkObj */ SELECT page_id  FROM `page`  WHERE page_namespace = '3' AND page_title = 'Mjackson'  LIMIT 1
             29 Query       /* Database::immediateCommit */ COMMIT
             29 Quit


I see no error anywhere really. So the paradox is - with authenticated users I cannot save changes (alas post new content to pages) but unauthenticated can
change pages!

Need advice. Cheers!


Last edited by mcjack on Mon Feb 06, 2006 8:45 am; edited 1 time in total
Back to top
View user's profile Send private message
mcjack
n00b
n00b


Joined: 03 Feb 2006
Posts: 2

PostPosted: Fri Feb 03, 2006 3:19 pm    Post subject: Reply with quote

I am using Firefox 1.5. I enter

javascript:alert(document.cookie) in the address bar and get following output:

Code:
wikidbUserName=Mjackson; wikidbLoggedOut=20060203151110; wikidbUserID=2;
wikidbToken=CA1E7670B466F6........


The thing is: it is 16:11 local time here and the "loggedout" value sais 15:11 (paradox again)?

I read this http://www.modwest.com/help/kb6-256.html .

I have set the Europe/Berlin timezone in 'date' 'php.ini' 'Localsettings.php' and in the 'my.cnf' .

Still I get a "loggedout" value one hour behind my actual time.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum