[solved] WAMP server issue - local/public
Posted by: FakE (---.dynamic.kabel-deutschland.de)
Date: February 17, 2016 08:07PM

Well I found a bug (maybe).

I fresh installed WAMP server without edit anything.
I don't change any kind of the tpl, ini or conf file.


THE BUG
-------

Try to put the apache server online (public).
It will work fine in each language you choose.

Now put the apache server offline (local).
It will work fine in English, Frensh and so on, but NOT in German.

There is no edit in German files or sth. like that.
Just test it and see.

Can you find the problem? I compare it with English and can't find the problem.



Edited 1 time(s). Last edit at 02/18/2016 01:30PM by FakE.

Options: ReplyQuote
Re: WAMP server issue - local/public
Posted by: Otomatic (Moderator)
Date: February 17, 2016 08:42PM

Hi,

I'll see this tomorrow. The PC is switched off at 19h each Day.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: WAMP server issue - local/public
Posted by: FakE (---.dynamic.kabel-deutschland.de)
Date: February 17, 2016 09:38PM

Ok, please test it tomorrow.

If it helps, I use 64bit of WAMP server on 64bit system.

Options: ReplyQuote
Re: WAMP server issue - local/public
Posted by: Otomatic (Moderator)
Date: February 18, 2016 10:11AM

Hi,

- Total Uninstall of Wampserver 64
- Restart Windows 7 Pro 64 bit
- Download wampserver3_x64_apache2.4.17_mysql5.7.9_php5.6.16_php7.0.0.exe from Sourceforge
- Install Wampserver 3.0.0 64bit into j:\wamp64
- Launch Wampserver64 3.0.0
--- Icon green without red dot - Item Online/offline is not in menu
- Switch language to deutsch
--- It does not switch to "deutsch" because of lack of space after the equals sign into language ="english"
- Edit wampmanager.conf to add the space (Corrected with Wampserver 3.0.3)
- Switch language to deutsch -> It's OK now
- Right-Click->Wamp Settings-> Menu Item : Online/Offline
- Left-Click-> Online setzen
--- Green W with yellow background and red dot
--- httpd.conf was correctly modified with :
#   onlineoffline tag - don't remove
    Require all granted
</Directory>
- Left-Click->Offline setzen
You are right ! It does not switch back to Offline.
If I switch to French or English, it works.

Now I will have to investigate why a parameter remains "on" in the call to onlineOffline.php script if it was chosen deutsch as language.
Bizarre! I think of a conflict or an error on a variable name.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: WAMP server issue - local/public
Posted by: FakE (---.dynamic.kabel-deutschland.de)
Date: February 18, 2016 11:17AM

Fine, I'm proud to help you.

I hope you can fix this. smiling smiley

Options: ReplyQuote
Re: WAMP server issue - local/public
Posted by: Otomatic (Moderator)
Date: February 18, 2016 12:19PM

Hi,

I found !

What special about the language file "deutsch" compared to all other language files?
It is the only language file for which the variables $w_serverOffline and $w_serverOnline contain:
$w_serverOffline = 'Offline';
$w_serverOnline = 'Online';
with "Offline" and "Online" only, without other term as in the other language files where there eg "Server Online" or "Offline Server".

And... before switching Online to Offline thre is string replacement into tpl file, inter alia:
$tpl = str_replace($w_serverOffline, $w_serverOnline,$tpl);
but ... as in the tpl file there are other strings that contain "online" or "offline", there is unwanted replacements.

First, to overcome this problem, you can replace in the language file wamp\lang\deutsch.lang:
$w_serverOffline = 'Offline';
$w_serverOnline = 'Online';
by
$w_serverOffline = 'Offline server';
$w_serverOnline = 'Online server';
But, as someone could, in a language file, put "online" or "offline" in these variables, I will change the script suitable for this kind of problem can not produce. It will be part of the 3.0.4 update.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: WAMP server issue - local/public
Posted by: FakE (---.dynamic.kabel-deutschland.de)
Date: February 18, 2016 12:43PM

Ok, good to know.

You should rename those variables in the language files. smiling smiley

On the other side, the German translation is absolutly damn.
I'm sorry but this is the reality.

The grammer isn't okay and some words are not the right translation, too.

Well of course I edit it for myself, as the sort order in the TPL, but it should be corrected some day.



Edited 3 time(s). Last edit at 02/18/2016 12:50PM by FakE.

Options: ReplyQuote
Re: WAMP server issue - local/public
Posted by: Otomatic (Moderator)
Date: February 18, 2016 01:09PM

Hi,

>On the other side, the German translation is absolutly damn.
> I'm sorry but this is the reality.

I am sorry ! But these files come from Wampserver 2.0 and have not evolved since.
I am French and I can update the English language file with the help of RiggsFolly; but I can not do it for all other languages.
All people of goodwill are welcome.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: WAMP server issue - local/public
Posted by: FakE (---.dynamic.kabel-deutschland.de)
Date: February 18, 2016 01:28PM

This sounds good. I'm proud to help you.

These two files are the actually translation of 3.0.3.
I added the missed variables and fixed the online/offline issue.

The grammer is absolutly right.
There no more false words in the translation.
Everything uses the right German technical terms.

[www.file-upload.net]

Well I'm not an Apache beginner.
I use it for years as advanced web server and it's great.

It's great for beginners and you can edit everything you want
as you want and there's no conflict with the written application.

Your doing a great job men, thanks!

Options: ReplyQuote
Re: WAMP server issue - local/public
Posted by: Otomatic (Moderator)
Date: February 18, 2016 03:04PM

Hi,

Thanks. New language files will be parts of update 3.0.4.

Without abuse, is it possible, when you have some availability to take care of the files that do not exist (Update 3.0.3) :
wamp\www\wamplangues\add_vhost_deutsch.php
wamp\www\wamplangues\index_deutsch.php

from
wamp\www\wamplangues\add_vhost_english.php
wamp\www\wamplangues\index_english.php


---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: [solved] WAMP server issue - local/public
Posted by: FakE (---.dynamic.kabel-deutschland.de)
Date: February 18, 2016 03:17PM

Ok, I will edit them til weekend and send you the files.

You can be sure, there won't be any abuse.
I want to help this project to get better and better winking smiley

Options: ReplyQuote
Re: [solved] WAMP server issue - local/public
Posted by: Otomatic (Moderator)
Date: February 19, 2016 10:48AM

Hi,

For the update 3.0.4, what would you prefer as name for your language: "deutsch 'or' german '?
As I will replace 'greek' with 'hellenic' it will be very easy to do the same for your language.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: [solved] WAMP server issue - local/public
Posted by: FakE (---.dynamic.kabel-deutschland.de)
Date: February 19, 2016 03:57PM

Well if I take a look at the language directory
I can see nearly all files are named in English.
Of cause some lanuages not for example German.

But...

The main and basic language is English and everyone
should be able to understand it and choose his language.

So in my opinion you should rename it to german.lang

And all languages should be readable in English only.

--

Something else...

I will send you a private message if I finish editing the other files.
I also found 1 or 2 missing variables in German language.

I will mail you at the weekend.

Options: ReplyQuote


Sorry, only registered users may post in this forum.