I have no idea... We have no shell access to that server unfortunately.ulrich1a wrote:Is the python-packet Pygments installed at the webserver?
Forum upgraded to version 3.1.9
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: Forum upgraded to version 3.1.9
-
- Veteran
- Posts: 2611
- Joined: Tue Feb 21, 2012 8:07 pm
- Location: Torino - Italy
Re: Forum upgraded to version 3.1.9
when I try to translate a page this message is shown
RenatoRe: Forum upgraded to version 3.1.9
At least python is not announced for the hosted webspace.
They provide:
Ulrich
They provide:
I wrote to the service of the webhoster regarding support of mediawiki 1.26.2. Lets see what they answer.-CGI (Perl)
-PHP5 (gehärtete Version, dadurch extrem sicher gegen Angriffe von Außen)
-MySQL
-POP3
-IMAP4
-IMAP4-fähiges Webinterface (RoundCube mit Skins für Smartphone oder Tablet)
Ulrich
Re: Forum upgraded to version 3.1.9
hi
same Renato "Erreur de configuration"
the <syntaxhighlight> </syntaxhighlight> are displayed and disconnected
example http://www.freecadweb.org/wiki/index.ph ... _cutCircle the macro is disconnected (with {{Code|code=)
example http://www.freecadweb.org/wiki/index.ph ... odesicDome mario
same Renato "Erreur de configuration"
the <syntaxhighlight> </syntaxhighlight> are displayed and disconnected
example http://www.freecadweb.org/wiki/index.ph ... _cutCircle the macro is disconnected (with {{Code|code=)
example http://www.freecadweb.org/wiki/index.ph ... odesicDome mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.
Re: Forum upgraded to version 3.1.9
I got an answer with the following content. (Translated from German)ulrich1a wrote:I wrote to the service of the webhoster regarding support of mediawiki 1.26.2. Lets see what they answer.
UlrichIn order to support Mediawiki 1.26.2, the webspace has to be upgraded to
PHP-Version: 5.6.20
MySQL-Version: 5.5.47
This was already requested in November 2015, but there was no answer.
Python runs already in the webspace, but safety measure due to a low PHP-version are disturbing the python-processes.
One of the administrators: yorik or Jürgen Riegel have to confirm the upgrade of the webspace und send the requirements of Mediawiki 1.26.2.
The upgrade can be done not before 20th of May 2016 due to current workload.
Re: Forum upgraded to version 3.1.9
Excellent! I'll send them an email then. Thanks for looking into this Ulrich.
Mario/Renato: Indeed I had to disable the Universal Language Selector otherwise it wouldn't install... I'll try to reenable it, if it doesn't work then we'll have to wait for our webhost to do the change above.
Mario/Renato: Indeed I had to disable the Universal Language Selector otherwise it wouldn't install... I'll try to reenable it, if it doesn't work then we'll have to wait for our webhost to do the change above.
Re: Forum upgraded to version 3.1.9
Regarding syntaxhighlight: I reenabled syntaxhighlight, because actually the <syntaxhighlight> tag works. What doesn't work is the lang="XXX" attribute.
So this works:
But this doesn't work:
But it doesn't matter because the code is now automatically recognized and properly highlighted by our theme. So I think that is one problem solved. I updated the code template already.
Now I'll look at the translation stuff...
So this works:
Code: Select all
<syntaxhighlight>import FreeCAD</syntaxhighlight>
Code: Select all
<syntaxhighlight lang="python">import FreeCAD</syntaxhighlight>
Now I'll look at the translation stuff...
Re: Forum upgraded to version 3.1.9
Ok the translation problem is solved too!
The problem was that one of the extensions was too old. I was lazy and just copied over the extensions from our old wiki, but in reality we absolutely need to re-download them all each time.
The problem was that one of the extensions was too old. I was lazy and just copied over the extensions from our old wiki, but in reality we absolutely need to re-download them all each time.
Re: Forum upgraded to version 3.1.9
hi
the code copied (copy paste in FreeCAD macro edit) give 4 spaces adverse !!
what category "Pages with syntax highlighting errors"
for the moment i have not access on the wiki modification (I do not know test)
Exception encountered, of type "Symfony\Component\Process\Exception\RuntimeException"
[f689cbb9] /wiki/index.php?title=Macro_FCCircularText&action=submit Symfony\Component\Process\Exception\RuntimeException from line 150 of /home/freecadweb/public_html/wiki/vendor/symfony/process/Process.php: The Process class relies on proc_open, which is not available on your PHP installation.
mario
the code copied (copy paste in FreeCAD macro edit) give 4 spaces adverse !!
what category "Pages with syntax highlighting errors"
for the moment i have not access on the wiki modification (I do not know test)
Exception encountered, of type "Symfony\Component\Process\Exception\RuntimeException"
[f689cbb9] /wiki/index.php?title=Macro_FCCircularText&action=submit Symfony\Component\Process\Exception\RuntimeException from line 150 of /home/freecadweb/public_html/wiki/vendor/symfony/process/Process.php: The Process class relies on proc_open, which is not available on your PHP installation.
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.
Re: Forum upgraded to version 3.1.9
Mario, I don't understand what is wrong, I cannot see that error. Can you tell me what I must do to see it?