[pmwiki-users] WikiTag Error
Dear PmWiki Users, I am using the GlossyHue theme with PmWiki, but I have just discovered a small problem that is displayed only in Internet Explorer. Beneath the title, I have three links, which form a "subtitle" that I specified in config.php as WikiTag. In Mozilla and other browsers, the subtitle is displayed as one line and looks very nice. Unfortunately, in Explorer, each word of the subtitle is displayed as a separate line, and the subtitle overflows into the body of the webpage. Could you please recommend a way to stop this from happening in Internet Explorer? (Perhaps using style.css) I would really appreciate any advice! Thank you in advance, Olga ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users
Re: [pmwiki-users] FilePermissions
Hi Gilles, Thank you for your reply. The problem turned out to be really stupid! In my config.php file, I was specifiying: $UploadDir = "pmwiki/uploads"; instead of just "uploads". I thought that the current directory was public_html, but it is actually pmwiki. I do still have a question though. The permissions for my uploads and wiki.d directories are: drwxrwxrwx2 compmem compmem 4096 Dec 16 16:01 uploads drwxrwxr-x2 compmem compmem 4096 Dec 17 13:07 wiki.d Is this how they should be? Is there any way to make the site more secure? Thank you, Olga On Fri, Dec 17, 2010 at 9:58 AM, ABClf wrote: > Hi Olga, > > here are some basic ideas ; not sure any will help you to solve your > problem. > > -do you have the last pmwiki installed ? there used to be a bug for > something similar(?) to your problem in an older version > (cf. http://www.pmwiki.org/wiki/PITS/00396) > > -for information, what does you ftp program say about : > wiki.d/ > uploads/ > Are they writable ? Mine are 755 and working fine. > > -be sure you gave write rights to the real upload destination folder > (search for « upload » in your config to see if there aren't some > special config things related to upload, for example a dedicated > folder that is not the default one) : > « Defaults to uploads/ in the pmwiki directory, but can be set to any > location on the server. This directory must be writable by the > webserver process if uploading is to occur. » > http://www.pmwiki.org/wiki/PmWiki/UploadVariables#UploadDir > > -have a look at : http://www.pmwiki.org/wiki/PmWiki/UploadsAdmin : and > especially §Upload directory configuration (?) > I don't remember what I did when I installed my PmWiki ; but, in that > page, it is said : "Important: do NOT create the uploads directory > yet! See the next paragraph." So, see next paragraph ; who knows ? > > Hope this can help a little (though not sure ;). > > Gilles. > > > 2010/12/16 Olga Lositsky : > > Dear Pmwiki Users, > > > > I have attempted to enable uploads on our Wiki. In addition to changes in > > the config file, I created an uploads directory and gave it > world-writable > > permissions using chmod 777 as described here: > > http://www.pmwiki.org/wiki/PmWiki/FilePermissions > > > > Unfortunately, when I try to upload a file, I get this message: > > > > Warning: mkdir() failed (Permission denied) in > > /var/www/public_html/pmwiki/pmwiki.php on line 548 > > > > PmWiki can't process your request > > > > PmWiki needs to have a writable /pmwiki/ directory before it can > continue. > > You can create the directory manually by executing the following commands > on > > your server: > > > > mkdir //pmwiki > > chmod 777 //pmwiki > > > > Does this mean that the webserver still does not have permission to write > in > > uploads or could there be another problem? > > > > I would really appreciate any tips! > > > > Thank you in advance, > > Olga > > > > > > ___ > > pmwiki-users mailing list > > pmwiki-users@pmichaud.com > > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > > > > > > > > -- > > --- > | A | de la langue française > | B | http://www.languefrancaise.net/ > | C | languefranca...@gmail.com > --- > ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users
[pmwiki-users] FilePermissions
Dear Pmwiki Users, I have attempted to enable uploads on our Wiki. In addition to changes in the config file, I created an uploads directory and gave it world-writable permissions using chmod 777 as described here: http://www.pmwiki.org/wiki/PmWiki/FilePermissions Unfortunately, when I try to upload a file, I get this message: *Warning*: mkdir() failed (Permission denied) in * /var/www/public_html/pmwiki/pmwiki.php* on line *548* PmWiki can't process your request PmWiki needs to have a writable /pmwiki/ directory before it can continue. You can create the directory manually by executing the following commands on your server: mkdir //pmwiki chmod 777 //pmwiki Does this mean that the webserver still does not have permission to write in uploads or could there be another problem? I would really appreciate any tips! Thank you in advance, Olga ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users
[pmwiki-users] BlogIt Installation Problems
Dear PmWiki Users, I'm having a problem installing BlogIt on my Wiki, and I think I must have missed some step of the installation, but can't quite figure out what it is. When I followed the steps in the recipe (unzipped the cookbook and pub files, added the necessary code to my local/config.php file, created Main.Blog and added the Blog code to my SideBar), three headers appeared in my Sidebar : Recently Written, Recent Comments and Categories (with a login underneath). This is my current test Wiki: http://compmem.princeton.edu/tests/test1/ Unfortunately, there is no New Entry link in the SideBar and the Site.BlogIt-NewEntry page does not exist. The only problem I can think of is that I may have installed PmForm incorrectly. I read on the BlogIt page that PmForm is a prerequisite, so I downloaded it into the cookbook and wikilib.d directories, included the code in config.php and created the Site.LocalTemplates (though I didn't modify it.) Can anyone think of a step in the installation I may have missed? Any suggestions would be greatly appreciated! Thank you, Olga ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users
Re: [pmwiki-users] Warning: Compilation failed
It turned out that the problem lay with our server's version of PHP - the server was using 4.2, whereas the current whitespace markup rule seems to require 4.3 at least. A PmWiki user recommended reverting to an older version of the whitespace markup rule: ## Test reverting to 2.1.27 version of ws markup rules Markup('^ws', '<^img', '/^(\\s+)/e', "WSIndent('$1')"); Markup('^ ','block','/^(\\s)/','<:pre,1>$1'); Inserting the above code into the local/config.php file solved the problem! :) On Wed, Oct 13, 2010 at 6:21 PM, Petko Yotov <5...@5ko.fr> wrote: > On Wednesday 13 October 2010 17:07:30, Olga Lositsky wrote : > > *Warning*: Compilation failed: unmatched parentheses at offset 8 in * > > /var/www/public_html/pmwiki/pmwiki.php* on line *1543* > > Hello. This message is caused by a markup definition that doesn't work like > it > should. Can you test different wiki markups (like ''' for bold text, > (:thumblist:) for some directive) and isolate those that seem to trigger > the > message? The problem could come from a cookbook recipe. > > > > *Warning*: Cannot add header information - headers already sent by > (output > > started at /var/www/public_html/pmwiki/pmwiki.php:1543) in * > > /var/www/public_html/pmwiki/pmwiki.php* on line *1120 > > This warning is most likely caused by the previous message - it should > disappear if the markup problem is fixed. > > Petko > ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users
[pmwiki-users] Warning: Compilation failed
Hello, I have recently created a PmWiki page, and every once in a while, I get the following warning at the top of the website: *Warning*: Compilation failed: unmatched parentheses at offset 8 in * /var/www/public_html/pmwiki/pmwiki.php* on line *1543* *Warning*: Cannot add header information - headers already sent by (output started at /var/www/public_html/pmwiki/pmwiki.php:1543) in * /var/www/public_html/pmwiki/pmwiki.php* on line *1120 *This warning doesn't appear every time, but periodically when I load a new page. As recommended on some of the forums, I have made sure that there are no spaces at the beginning or end of the config.php and pmwiki.php files and that the writing permissions for wiki.d are set to 777, but the warnings do not go away. Has anyone encountered this problem in the past? Thank you very much in advance! Olga ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users