Wamp Server 2.5 language setting is not good
Posted by: Niek66 (---.ip.open.net)
Date: June 04, 2014 03:35AM

Hello all

Excuse me for my English but I'm a Dutchman

I have downloaded and installed Wamp Server 2.5 and put on the Dutch, But everything went in the french language with weird characters in it like this: ħ .
So I got it back on English and now it is all in dutch.



Edited 1 time(s). Last edit at 06/04/2014 03:39AM by Niek66.

Options: ReplyQuote
Re: Wamp Server 2.5 language setting is not good
Posted by: RiggsFolly (---.as13285.net)
Date: June 04, 2014 09:57AM

So is there a problem?

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Wamp Server 2.5 language setting is not good
Posted by: Niek66 (---.ip.open.net)
Date: June 06, 2014 12:21AM

I now have another problem and that is that my ubb script no longer work

Options: ReplyQuote
Re: Wamp Server 2.5 language setting is not good
Posted by: RiggsFolly (---.as13285.net)
Date: June 06, 2014 11:00AM

Sorry I dont know what a ubb scrit is.


Please be more specific, what does not work?
Give error messages from apache or php erro rlogs please.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Wamp Server 2.5 language setting is not good
Posted by: Niek66 (---.ip.open.net)
Date: June 07, 2014 06:25AM

If you want to post a message in my guestbook, that you can insert smileys and ubb tags, by clicking on a smiley to or button.
So if you click on a smiley or a button the tags be placed automatically in the textatea
But that no longer works in Wamp Server 2.5

below is a part of the ubb script, there are more smileys, but those are now no importance.

<?php
ini_set('display_errors',1); // 1 == aan , 0 == uit
error_reporting(E_ALL | E_STRICT);

function klik(){

	echo "<script language=\"JavaScript\">
function addtext(veld,text) {
	text=' '+text+ ' ';
  	if (document.form.elements[veld].createTextRange) {
  		document.form.elements[veld].focus();
  		document.selection.createRange().duplicate().text = text;
   	} else {
		document.form.elements[veld].focus();
  		document.form.elements[veld].value +=text;
   	}
	}
</script>";
}


function buttons(){
echo '<input type="button" value="B" style="font-weight:bolt; width: 30px"  onClick="javascript:addtext("text","text"winking smiley">';
}

function smileys(){
echo '
 <a href="javascript:addtext("text",":B"winking smiley"><img src="[localhost]; alt="biggrin" border="0"></a>';
}

function ubb($text) {
$text = stripslashes($text);	
$text = nl2br($text);	
$text = str_replace("","\">",$text);
$text = stripslashes($text);
$text = str_replace("","<b>",$text);
$text = str_replace("","</b>",$text);
$text = str_replace("","<i>",$text);
$text = str_replace("","</i>",$text);
$text = str_replace("","<u>",$text);
$text = str_replace("","</u>",$text);

$text = str_replace(":B",'<img src="[localhost]; alt="biggrin">',$text);


return $text;
}
?>

Options: ReplyQuote
Re: Wamp Server 2.5 language setting is not good
Posted by: Otomatic (Moderator)
Date: June 07, 2014 09:26AM

Hi,

localhost is not a domain name: <img src="[localhost];

Use VirtualHost: WAMPServer 2.5 The Homepage, Your Projects Menu and the need for Virtual Hosts
and relative links like
<img src="/smileys/biggrin.gif">

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

Options: ReplyQuote


Sorry, only registered users may post in this forum.