BLOG:CMS :: Support Forum

Support Forum for BLOG:CMS

You are not logged in.

#1 09.06.2005 03:46

zerohalo
BLOG:CMS Junior
Registered: 09.06.2005
Posts: 13

Can't edit Wiki pages after clean install

I just installed BLOG:CMS. The "articles", "forums" and "gallery" all work fine. However, I can't edit the Wiki pages. I registered, and it says that I am logged in to the Wiki, however, no "edit" button appears on the page. It's just displaying the standard "start.txt" page that comes by default, but no way to edit it (of course I could log in to the server and edit start.txt directly, but that defeats the purpose of having a wiki :-). Any clues? The permissions for the /wiki folders in the installation are set to 777, and I'm not getting any error messages - there's just no "edit page" button.

Thanks for the help.

Thanks Radek, for a great program--the first one that I've seen that combines blog and wiki (and more!) in a nice way. It's exactly what I was looking for.

PS. I should add that all *.txt files in /wiki/data also have chmod 777. The page also tells me that I am "logged in as <user>" so neither of those are the problem.

Last edited by zerohalo (09.06.2005 03:50)

Offline

 

#2 09.06.2005 04:07

zerohalo
BLOG:CMS Junior
Registered: 09.06.2005
Posts: 13

Re: Can't edit Wiki pages after clean install

With some experimentation, I found the solution. Not a clean one, but it works.

If I set useacl to 0 (off) instead of 1 (on) in conf/docuwiki.php, then it works. What puzzles me is that my .htaccess file was set to 'allow all'. In any case, while this is a solution for the present, it doesn't solve the problem once I want to turn ACL back on.

Offline

 

#3 15.06.2005 21:03

Chris..S
BLOG:CMS Senior
Registered: 14.01.2005
Posts: 78

Re: Can't edit Wiki pages after clean install

If you have useacl on you will need to set up an acl.auth file in the wiki/conf folder.

Copying the acl.auth.dist file across to acl.auth should be enough to get you going.

Offline

 

#4 30.06.2005 00:16

zerohalo
BLOG:CMS Junior
Registered: 09.06.2005
Posts: 13

Re: Can't edit Wiki pages after clean install

After studying the DokuWiki documentation, got the ACL figured out and working. Thanks.

Offline

 

#5 07.07.2005 11:34

hermes
BLOG:CMS Senior
From: Spain
Registered: 14.06.2004
Posts: 98

Re: Can't edit Wiki pages after clean install

i have the same problem: 

zerohalo wrote:

The permissions for the /wiki folders in the installation are set to 777, and I'm not getting any error messages - there's just no "edit page" button.

¿What can i do exactly, to solve it?

i ve read the documentation, and change everthing, but i dont know why cant edit

Please help me, THANKS.

Last edited by hermes (09.07.2005 13:30)


Regards, hermes :: I LOVE BLOG:CMS

Offline

 

#6 12.07.2005 07:24

zerohalo
BLOG:CMS Junior
Registered: 09.06.2005
Posts: 13

Re: Can't edit Wiki pages after clean install

hermes, if you have ACL turned on (set to 1) in your dokuwiki.php file, then you also need to make sure you have a users.auth.php and an acl.auth.php files in your conf folder, and that your webserver has write access to those two files (just set them to 777).

Offline

 

#7 18.07.2005 12:16

hermes
BLOG:CMS Senior
From: Spain
Registered: 14.06.2004
Posts: 98

Re: Can't edit Wiki pages after clean install

zerohalo:

-  ACL is turned on (set to 1) in my dokuwiki.php
-  users.auth.php and acl.auth.php in my conf folder, both have write access (777)
-  Im looged as admin
BUT ---> there's just no "edit page" button.

¿WHAT CAN I DO?,  Help me.


Regards, hermes :: I LOVE BLOG:CMS

Offline

 

#8 18.07.2005 19:26

zerohalo
BLOG:CMS Junior
Registered: 09.06.2005
Posts: 13

Re: Can't edit Wiki pages after clean install

hermes, sorry, i gave you some wrong information. The users and acl files should be named
users.auth
acl.auth

not users.auth.php and acl.auth.php

(in newer versions of dokuwiki, these files have .php extensions, but blogcms uses an older version).

Offline

 

#9 18.07.2005 19:49

hermes
BLOG:CMS Senior
From: Spain
Registered: 14.06.2004
Posts: 98

Re: Can't edit Wiki pages after clean install

ok but
users.auth and acl.auth have 777 permision,

cant edit
what can i do?,


Regards, hermes :: I LOVE BLOG:CMS

Offline

 

#10 19.07.2005 16:16

hermes
BLOG:CMS Senior
From: Spain
Registered: 14.06.2004
Posts: 98

Re: Can't edit Wiki pages after clean install

Now can create and edit my own new pages, but cant edit "start" old page
This is what I am using to control user rights:

/conf/acl.auth:
---------------

* @ALL 1
* @user 4
* @admin 255
start @user 1
start @admin 255

/conf/users.auth
-----------------

# Userfile
#
# Format:
#
# user:MD5password:Real Name:email:groups,comma,seperated
hermes:password_hash:hermes:hermes@info.com:admin

/conf/dokuwiki.php
-------------------

<?php
/**
* This is DokuWiki's Main Configuration file
* This is a piece of PHP code so PHP syntax applies!
*
* For help with the configuration see
http://www.splitbrain.org/dokuwiki/wiki:config
*/


/* Datastorage and Permissions */

$conf['umask']       = 0111;              //set the umask for new files
$conf['dmask']       = 0000;              //directory mask accordingly
$conf['lang']        = 'en';              //your language
$conf['datadir']     = './data';          //where to store the data
$conf['olddir']      = './attic';         //where to store old revisions
$conf['mediadir']    = './media';         //where to store media files
$conf['mediaweb']    = 'media';           //access to media from the web
$conf['changelog']   = './changes.log';   //change log
$conf['uploadtypes'] = 'gif|jpe?g|png|zip|pdf|tar(\.gz)?|tgz'; //regexp of
allowed filetypes to upload

/* Display Options */

$conf['start']       = 'start';           //name of start page
$conf['title']       = 'DokuWiki';        //what to show in the title
$conf['fullpath']    = 0;                 //show full path of the document or
relative to datadir only? 0|1
$conf['recent']      = 20;                //how many entries to show in recent
$conf['breadcrumbs'] = 10;                //how many recent visited pages to
show
$conf['typography']  = 1;                 //convert quotes, dashes and stuff to
typographic equivalents? 0|1
$conf['htmlok']      = 0;                 //may raw HTML be embedded? This may
break layout and XHTML validity 0|1
$conf['phpok']       = 0;                 //may PHP code be embedded? Never do
this on the internet! 0|1
$conf['dformat']     = 'Y/m/d H:i';       //dateformat accepted by PHPs date()
function
$conf['signature']   = ' --- //[[@MAIL@|@NAME@]] @DATE@//'; //signature see
wiki:config for details
$conf['maxtoclevel'] = 3;                 //Up to which level include into
AutoTOC (max. 5)
$conf['maxseclevel'] = 3;                 //Up to which level create editable
sections (max. 5)
$conf['camelcase']   = 0;                 //Use CamelCase for linking? (I don't
like it) 0|1
$conf['localnames']  = 0;                 //Allow non-ASCII chars in pagenames
(0|1)
                                          //You need a correct locale for this!

/* Antispam Features */

$conf['usewordblock']= 1;                 //block spam based on words? 0|1
$conf['mailguard']   = 'hex';             //obfuscate email addresses against
spam harvesters?
                                          //valid entries are:
                                          //  'visible' - replace @ with [at], .
with [dot] and - with [dash]
                                          //  'hex'     - use hex entities to
encode the mail address
                                          //  'none'    - do not obfuscate
addresses

/* Authentication Options */
$conf['useacl']      = 1;                //Use Access Control Lists to restrict
access?
$conf['openregister']= 1;                //Should users to be allowed to
register?
$conf['authtype']    = 'plain';          //which authentication DB should be
used (currently plain only)
$conf['defaultgroup']= 'user';           //Default groups new Users are added to

//LDAP auth specific stuff (see wiki:auth_ldap)
$conf['auth']['ldap']['server']     = 'localhost';
$conf['auth']['ldap']['usertree']   = 'ou=people, dc=my, dc=home';
$conf['auth']['ldap']['grouptree']  = 'ou=group, dc=my, dc=home';
$conf['auth']['ldap']['userfilter'] = '(&(uid=%u)(objectClass=posixAccount))';

/* Advanced Options */
$conf['userewrite']  = 1;                //this makes nice URLs but you need to
enable it in .htaccess first 0|1
$conf['canonical']   = 0;                //Should all URLs use full canonical
http://... style?
$conf['autoplural']  = 0;                //try (non)plural form of nonexisting
files?
$conf['usegzip']     = 1;                //gzip old revisions?
$conf['cachetime']   = 60*60*24;         //maximum age for cachefile in seconds
(defaults to a day)
$conf['purgeonadd']  = 1;                //purge cache when a new file is added
(needed for up to date links)
$conf['locktime']    = 15*60;            //maximum age for lockfiles (defaults
to 15 minutes)
$conf['notify']      = 'hermes@hermes.info';               //send change info to
this email (leave blank for nobody)

//Set target to use when creating links - leave empty for same window
$conf['target']['wiki']      = '';
$conf['target']['interwiki'] = '_blank';
$conf['target']['extern']    = '_blank';
$conf['target']['media']     = '';
$conf['target']['windows']   = '';

//this includes a local config file if exist which make upgrading more easy -
just don't touch this
@include("conf/local.php");

//a small bugfix for some browsers/proxies just don't touch this either
$lang = array();
?>

Last edited by hermes (19.07.2005 16:17)


Regards, hermes :: I LOVE BLOG:CMS

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

TOPlist