Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Problems with PageLogoUrl
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ulf Bro  
View profile   Translate to Translated (View Original)
 More options Mar 29 2012, 10:49 am
From: Ulf Bro <ulf....@web.de>
Date: Thu, 29 Mar 2012 16:49:49 +0200
Local: Thurs, Mar 29 2012 10:49 am
Subject: Re: [pmwiki-users] Problems with PageLogoUrl

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-us...@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Petko Yotov  
View profile  
 More options Mar 29 2012, 4:39 pm
From: Petko Yotov <5...@5ko.fr>
Date: Thu, 29 Mar 2012 22:39:49 +0200
Local: Thurs, Mar 29 2012 4:39 pm
Subject: Re: [pmwiki-users] Problems with PageLogoUrl
On Thursday 29 March 2012 16:49:49 Ulf Bro wrote:

> 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.

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

_______________________________________________
pmwiki-users mailing list
pmwiki-us...@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "can't save pmwiki page after modification" by wang
wang  
View profile  
 More options Mar 30 2012, 7:06 am
From: wang <w...@knmi.nl>
Date: Fri, 30 Mar 2012 13:06:37 +0200
Local: Fri, Mar 30 2012 7:06 am
Subject: [pmwiki-users] can't save pmwiki page after modification

      Dear pmwiki users,

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

_______________________________________________
pmwiki-users mailing list
pmwiki-us...@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Forgeot  
View profile  
 More options Mar 30 2012, 8:41 am
From: Eric Forgeot <eforg...@gmail.com>
Date: Fri, 30 Mar 2012 14:41:12 +0200
Local: Fri, Mar 30 2012 8:41 am
Subject: Re: [pmwiki-users] can't save pmwiki page after modification
probably a permission error. See #3 in
http://www.pmwiki.org/wiki/PmWiki/Installation
and also this page http://www.pmwiki.org/wiki/PmWiki/FilePermissions

2012/3/30 wang <w...@knmi.nl>:

_______________________________________________
pmwiki-users mailing list
pmwiki-us...@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Problems with PageLogoUrl" by Ulf Bro
Ulf Bro  
View profile  
 More options Mar 30 2012, 9:24 am
From: Ulf Bro <ulf....@web.de>
Date: Fri, 30 Mar 2012 15:24:00 +0200
Subject: Re: [pmwiki-users] Problems with PageLogoUrl

> You may try adding a semicolon ";" at the end...
...
> ... I can recommend reading a little about the PHP
> programming language...

It was the semicolon allright. Everything works. I'll read
documentation!

Thank you!

Ulf

_______________________________________________
pmwiki-users mailing list
pmwiki-us...@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »