SourceForge logo
SourceForge logo
Menu

phpwiki-talk

From: Chris O'H. <cm...@gm...> - 2007年06月14日 02:52:53
Hello,
I am running phpwiki 1.3.11p1 on my Kubuntu Dapper machine.
I am trying to get the Tex2png plugin working.
The first error I got related to the /images/tex directory not being writeable.
I created the directory in /usr/share/phpwiki/ so that I now have
/usr/share/phpwiki/images/tex
I can now see the png files being created in this directory and the
error about not being writeable has gone away.
However, whenever I use the wiki, the latex code is still displayed.
ie the alt description in the <img> tag. I can see the correct
reference for src="images/tex/12345abcde.png" but the images isn't
displayed.
I've set the read write permissions to everyone
And I've checked in the config.ini file and made sure png is included
in the inline images configuration.
Is there something else I need to do to make it go?
Thanks for your time and attention.
Chris
From: Reini U. <ru...@x-...> - 2007年06月15日 20:05:00
2007年6月14日, Chris O'Halloran <cm...@gm...>:
> Hello,
>
> I am running phpwiki 1.3.11p1 on my Kubuntu Dapper machine.
>
> I am trying to get the Tex2png plugin working.
>
> The first error I got related to the /images/tex directory not being writeable.
>
> I created the directory in /usr/share/phpwiki/ so that I now have
>
> /usr/share/phpwiki/images/tex
>
> I can now see the png files being created in this directory and the
> error about not being writeable has gone away.
>
> However, whenever I use the wiki, the latex code is still displayed.
> ie the alt description in the <img> tag. I can see the correct
> reference for src="images/tex/12345abcde.png" but the images isn't
> displayed.
>
> I've set the read write permissions to everyone
>
> And I've checked in the config.ini file and made sure png is included
> in the inline images configuration.
>
> Is there something else I need to do to make it go?
"/usr/share/phpwiki/images/tex" is the file location
but the webserver must find it under "images/tex"
so must set an alias for images.
or better symlink from images to /usr/share/phpwiki/images/tex
-- 
Reini Urban
http://phpwiki.org/ http://murbreak.at/
http://spacemovie.mur.at/ http://helsinki.at/
From: Chris O'H. <cm...@gm...> - 2007年06月17日 21:55:56
Thanks for the reply.
I might need a more explicit instruction here.
In the apache.conf file in /etc/phpwiki there are the alias definitions.
Alias /phpwikidata /usr/share/phpwiki/
Alias /phpwiki /usr/share/phpwiki/index.php/
As per your suggestion, I have tried adding the following lines.
Alias /phpwiki/images/tex /usr/share/phpwiki/images/tex/
or
Alias /images/tex /usr/share/phpwiki/images/tex/
or
Alias /phpwiki/images/ /usr/share/phpwiki/images/tex
or
Alias /phpwiki/images/ /usr/share/phpwiki/
The remainder of the apache.conf file is
<Directory /usr/share/phpwiki/>
 DirectoryIndex index.php
 Options +FollowSymLinks
 AllowOverride None
etc
The images are still not displaying.
Any thoughts of comments appreciated.
Chris
On 16/06/07, Reini Urban <ru...@x-...> wrote:
> 2007年6月14日, Chris O'Halloran <cm...@gm...>:
> > Hello,
> >
> > I am running phpwiki 1.3.11p1 on my Kubuntu Dapper machine.
> >
> > I am trying to get the Tex2png plugin working.
> >
> > The first error I got related to the /images/tex directory not being writeable.
> >
> > I created the directory in /usr/share/phpwiki/ so that I now have
> >
> > /usr/share/phpwiki/images/tex
> >
> > I can now see the png files being created in this directory and the
> > error about not being writeable has gone away.
> >
> > However, whenever I use the wiki, the latex code is still displayed.
> > ie the alt description in the <img> tag. I can see the correct
> > reference for src="images/tex/12345abcde.png" but the images isn't
> > displayed.
> >
> > I've set the read write permissions to everyone
> >
> > And I've checked in the config.ini file and made sure png is included
> > in the inline images configuration.
> >
> > Is there something else I need to do to make it go?
>
> "/usr/share/phpwiki/images/tex" is the file location
> but the webserver must find it under "images/tex"
> so must set an alias for images.
> or better symlink from images to /usr/share/phpwiki/images/tex
>
> --
> Reini Urban
> http://phpwiki.org/ http://murbreak.at/
> http://spacemovie.mur.at/ http://helsinki.at/
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Phpwiki-talk mailing list
> Php...@li...
> https://lists.sourceforge.net/lists/listinfo/phpwiki-talk
>
From: Chris O'H. <cm...@gm...> - 2007年06月18日 04:19:56
Replying again
I can see in the webserver access logs
... "GET /phpwiki/images/tex/c0e78585c2add482621c0a58207171029.png
HTTP/1.1" 304 1593 "http://ohalloran.homeip.net/phpwiki/" "Mozilla/5.0
(Windows; etc etc
I was wondering if the 304 response was indicating somethings about the setup?
Thanks again.
On 16/06/07, Reini Urban <ru...@x-...> wrote:
> 2007年6月14日, Chris O'Halloran <cm...@gm...>:
> > Hello,
> >
> > I am running phpwiki 1.3.11p1 on my Kubuntu Dapper machine.
> >
> > I am trying to get the Tex2png plugin working.
> >
> > The first error I got related to the /images/tex directory not being writeable.
> >
> > I created the directory in /usr/share/phpwiki/ so that I now have
> >
> > /usr/share/phpwiki/images/tex
> >
> > I can now see the png files being created in this directory and the
> > error about not being writeable has gone away.
> >
> > However, whenever I use the wiki, the latex code is still displayed.
> > ie the alt description in the <img> tag. I can see the correct
> > reference for src="images/tex/12345abcde.png" but the images isn't
> > displayed.
> >
> > I've set the read write permissions to everyone
> >
> > And I've checked in the config.ini file and made sure png is included
> > in the inline images configuration.
> >
> > Is there something else I need to do to make it go?
>
> "/usr/share/phpwiki/images/tex" is the file location
> but the webserver must find it under "images/tex"
> so must set an alias for images.
> or better symlink from images to /usr/share/phpwiki/images/tex
>
> --
> Reini Urban
> http://phpwiki.org/ http://murbreak.at/
> http://spacemovie.mur.at/ http://helsinki.at/
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Phpwiki-talk mailing list
> Php...@li...
> https://lists.sourceforge.net/lists/listinfo/phpwiki-talk
>
From: Reini U. <ru...@x-...> - 2007年06月20日 00:00:19
Chris O'Halloran schrieb:
> Replying again
> 
> I can see in the webserver access logs
> 
> ... "GET /phpwiki/images/tex/c0e78585c2add482621c0a58207171029.png
> HTTP/1.1" 304 1593 "http://ohalloran.homeip.net/phpwiki/" "Mozilla/5.0
> (Windows; etc etc
> 
> I was wondering if the 304 response was indicating somethings about the setup?
304 is just 304, not modified since.
images/tex/c0e78585c2add482621c0a58207171029.png is treated as empty 
wikipage text/html, and not as image/png
in your accesslog there must be
"GET /phpwikidata/images/tex/c0e78585c2add482621c0a58207171029.png ..."
otherwise you'll see no image
Have you already tried the real and working latex plugin? TexToPng
This requires PLUGIN_CACHED_CACHE_DIR to be configured, but this plugin 
should work with your non-simple setup.
> On 16/06/07, Reini Urban <ru...@x-...> wrote:
>> 2007年6月14日, Chris O'Halloran <cm...@gm...>:
>>> Hello,
>>>
>>> I am running phpwiki 1.3.11p1 on my Kubuntu Dapper machine.
>>>
>>> I am trying to get the Tex2png plugin working.
>>>
>>> The first error I got related to the /images/tex directory not being writeable.
>>>
>>> I created the directory in /usr/share/phpwiki/ so that I now have
>>>
>>> /usr/share/phpwiki/images/tex
>>>
>>> I can now see the png files being created in this directory and the
>>> error about not being writeable has gone away.
>>>
>>> However, whenever I use the wiki, the latex code is still displayed.
>>> ie the alt description in the <img> tag. I can see the correct
>>> reference for src="images/tex/12345abcde.png" but the images isn't
>>> displayed.
>>>
>>> I've set the read write permissions to everyone
>>>
>>> And I've checked in the config.ini file and made sure png is included
>>> in the inline images configuration.
>>>
>>> Is there something else I need to do to make it go?
>> "/usr/share/phpwiki/images/tex" is the file location
>> but the webserver must find it under "images/tex"
>> so must set an alias for images.
>> or better symlink from images to /usr/share/phpwiki/images/tex
>>
>> --
>> Reini Urban
>> http://phpwiki.org/ http://murbreak.at/
>> http://spacemovie.mur.at/ http://helsinki.at/
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Phpwiki-talk mailing list
>> Php...@li...
>> https://lists.sourceforge.net/lists/listinfo/phpwiki-talk
>>
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Phpwiki-talk mailing list
> Php...@li...
> https://lists.sourceforge.net/lists/listinfo/phpwiki-talk
> 
-- 
Reini Urban
http://phpwiki.org/ http://murbreak.at/
http://helsinki.at/ http://spacemovie.mur.at/
From: Reini U. <ru...@x-...> - 2007年06月18日 10:17:01
2007年6月18日, Chris O'Halloran <cm...@gm...>:
> Replying again
>
> I can see in the webserver access logs
>
> ... "GET /phpwiki/images/tex/c0e78585c2add482621c0a58207171029.png
> HTTP/1.1" 304 1593 "http://ohalloran.homeip.net/phpwiki/" "Mozilla/5.0
> (Windows; etc etc
>
> I was wondering if the 304 response was indicating somethings about the setup?
your setup is clear.
/phpwiki/images resolves in your setup to /usr/share/phpwiki/index.php/images.
this will not work.
you have to change the source of the problem: the plugin, which wants
/phpwiki/images and not /phpwikidata/images.
> On 16/06/07, Reini Urban <ru...@x-...> wrote:
> > 2007年6月14日, Chris O'Halloran <cm...@gm...>:
> > > Hello,
> > >
> > > I am running phpwiki 1.3.11p1 on my Kubuntu Dapper machine.
> > >
> > > I am trying to get the Tex2png plugin working.
> > >
> > > The first error I got related to the /images/tex directory not being writeable.
> > >
> > > I created the directory in /usr/share/phpwiki/ so that I now have
> > >
> > > /usr/share/phpwiki/images/tex
> > >
> > > I can now see the png files being created in this directory and the
> > > error about not being writeable has gone away.
> > >
> > > However, whenever I use the wiki, the latex code is still displayed.
> > > ie the alt description in the <img> tag. I can see the correct
> > > reference for src="images/tex/12345abcde.png" but the images isn't
> > > displayed.
> > >
> > > I've set the read write permissions to everyone
> > >
> > > And I've checked in the config.ini file and made sure png is included
> > > in the inline images configuration.
> > >
> > > Is there something else I need to do to make it go?
> >
> > "/usr/share/phpwiki/images/tex" is the file location
> > but the webserver must find it under "images/tex"
> > so must set an alias for images.
> > or better symlink from images to /usr/share/phpwiki/images/tex
-- 
Reini Urban
http://phpwiki.org/ http://murbreak.at/
http://spacemovie.mur.at/ http://helsinki.at/
From: Chris O'H. <cm...@gm...> - 2007年06月19日 03:34:44
Thanks for your help.
I am not entirely sure what you mean but I will have a think about
what you've said.
Are you suggesting that I need to change some code in the Tex2png plugin?
Chris
On 18/06/07, Reini Urban <ru...@x-...> wrote:
> 2007年6月18日, Chris O'Halloran <cm...@gm...>:
> > Replying again
> >
> > I can see in the webserver access logs
> >
> > ... "GET /phpwiki/images/tex/c0e78585c2add482621c0a58207171029.png
> > HTTP/1.1" 304 1593 "http://ohalloran.homeip.net/phpwiki/" "Mozilla/5.0
> > (Windows; etc etc
> >
> > I was wondering if the 304 response was indicating somethings about the setup?
>
> your setup is clear.
> /phpwiki/images resolves in your setup to /usr/share/phpwiki/index.php/images.
> this will not work.
> you have to change the source of the problem: the plugin, which wants
> /phpwiki/images and not /phpwikidata/images.
>
>
> > On 16/06/07, Reini Urban <ru...@x-...> wrote:
> > > 2007年6月14日, Chris O'Halloran <cm...@gm...>:
> > > > Hello,
> > > >
> > > > I am running phpwiki 1.3.11p1 on my Kubuntu Dapper machine.
> > > >
> > > > I am trying to get the Tex2png plugin working.
> > > >
> > > > The first error I got related to the /images/tex directory not being writeable.
> > > >
> > > > I created the directory in /usr/share/phpwiki/ so that I now have
> > > >
> > > > /usr/share/phpwiki/images/tex
> > > >
> > > > I can now see the png files being created in this directory and the
> > > > error about not being writeable has gone away.
> > > >
> > > > However, whenever I use the wiki, the latex code is still displayed.
> > > > ie the alt description in the <img> tag. I can see the correct
> > > > reference for src="images/tex/12345abcde.png" but the images isn't
> > > > displayed.
> > > >
> > > > I've set the read write permissions to everyone
> > > >
> > > > And I've checked in the config.ini file and made sure png is included
> > > > in the inline images configuration.
> > > >
> > > > Is there something else I need to do to make it go?
> > >
> > > "/usr/share/phpwiki/images/tex" is the file location
> > > but the webserver must find it under "images/tex"
> > > so must set an alias for images.
> > > or better symlink from images to /usr/share/phpwiki/images/tex
> --
> Reini Urban
> http://phpwiki.org/ http://murbreak.at/
> http://spacemovie.mur.at/ http://helsinki.at/
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Phpwiki-talk mailing list
> Php...@li...
> https://lists.sourceforge.net/lists/listinfo/phpwiki-talk
>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /