Yes. They are all chmod 777.
> Can you see the logo file if you put the address directly into your
> browser?
When I enter http://localhost/pub/skins/pmwiki/pmwiki-32.gif in the
address field of my browser Chrome then I get the pmwiki logo in the
upper left corner of a white page.
> Have you made any changes to the pmwiki skin?
No. But I have downloaded another skin and modified it. It works well. I
can switch between this skin and monobook and pmwiki and all work well.
They all have the PmWiki Logo on them. I thought I would have my own
one.
But as soon as I uncomment the line in local/config.php where it says:
$PageLogoUrl = "..."
nothing works any more. No page is displayed. I had thoght of something
like this:
$PageLogoUrl = "$PubDirUrl/skins/myskin/images/Logo.png"
or alternatively:
$PageLogoUrl = "http://localhost/pub/skins/myskin/images/Logo.png"
which definitely both do not work.
====
Now I have made a workaround.
In the new skin I have changed the line in the .tmpl file such that it
now reads:
<div id='wikilogo'>
<a href='{$ScriptUrl}'><img src='$SkinDirUrl/images/Logo.png'
alt='$WikiTitle' border='0' /></a>
</div>
This works perfect. So I personally have no problems.
But it's kind of funny though...
Ulf
_______________________________________________
pmwiki-users mailing list
pmwiki...@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
You may try adding a semicolon ";" at the end of your instructions or commands
in PHP. For example, this will probably work:
$PageLogoUrl = "http://localhost/pub/skins/myskin/images/Logo.png";
Second, the $PubDirUrl variable may be yet undefined early in config.php, so
if you use it, it is recommended to do either:
$PageLogoUrl = "\$PubDirUrl/skins/myskin/images/Logo.png";
(inside double quotes, a backslash \ will not allow for the variable to be
expanded at this point, it will be expanded later in the skin) or:
$PageLogoUrl = '$PubDirUrl/skins/myskin/images/Logo.png';
(inside single quotes, variables are not expanded, so this one will be
expanded later in the skin).
Now, the "second" part is for your specific case, it may be not adapted for
another case. I can recommend reading a little about the PHP programming
language in order to get comfortable with the strings and variables.
The "semicolon" part can be used in other cases.
Petko
I recently tried to modify our wiki page using edit, but can't be saved.
It always shows message like this:
PmWiki can't process your request
Cannot write page to PmWiki.HomePage (wiki.d/PmWiki.HomePage)...changes
not saved
We are sorry for any inconvenience.
#####################################################
Does anyone know why is this? Thanks a lot!
Xueli
2012/3/30 wang <wa...@knmi.nl>:
It was the semicolon allright. Everything works. I'll read
documentation!
Thank you!
Ulf