4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: cloe on July 25, 2007, 02:46:47 AM

Title: I can not use ÆØÅ.. How can i fix it?
Post by: cloe on July 25, 2007, 02:46:47 AM
This is ruining my site.. if I cant fix this, there is no point in using this gallery  :(

I'm from Norway, and here we have the letters æøå.. And i cant use it in 4images.
If those letters is anywhere in the image name, keywords, headlines and so on.. the image wount get uploaded.
Is there somewhere I can set a "rule" for the intired site.. så those letters can be used?
Please someone help  :cry:
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: BartAfterDark on July 25, 2007, 12:39:48 PM
It has something to do with the language iso code (I think)

Let me dig into it
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: cloe on July 25, 2007, 12:43:48 PM
It has something to do with the language iso code (I think)

Let me dig into it

That would be nice  :D .. I'lll hope there is a fix for this  8O
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: BartAfterDark on July 25, 2007, 12:44:01 PM
working fine on my 4images installment, do you use a custom design?
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: cloe on July 25, 2007, 09:52:05 PM
working fine on my 4images installment, do you use a custom design?

Yes I use 4dark...

ÆØÅ is working in the actual script... But not in image name.. Comments, keywords  ond so on  :(
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: BartAfterDark on July 25, 2007, 09:53:58 PM
Okay, do you have something like this in your header ?
Code: [Select]
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: cloe on July 25, 2007, 09:54:49 PM
Okay, do you have something like this in your header ?
Code: [Select]
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

In witch page?
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: BartAfterDark on July 25, 2007, 09:55:12 PM
header.html
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: cloe on July 25, 2007, 09:57:18 PM
header.html

Yes... This is the code for header:

Code: [Select]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{direction}">
<head>
<title>{site_name}</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="{template_url}/style.css">
<script language="javascript" type="text/javascript">
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: BartAfterDark on July 25, 2007, 10:00:25 PM
hmm... Can't be that then. Is it also when you post new images and use æøå in the description?
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: cloe on July 25, 2007, 10:01:55 PM
If I use æøå in image tittle or in commenst or in keywords... or in some other fields, it wount be acseppted... and i cant post it  :(
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: BartAfterDark on July 25, 2007, 10:03:23 PM
I don't really know what it could be then. Try and change back to the standard theme and see if it still does the same.
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: cloe on July 25, 2007, 10:14:46 PM
Just tested on a fresh install of 4images 1.7.4 .. I dosent work... I cant use æøå..
There must be a fix for this??
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: BartAfterDark on July 25, 2007, 10:19:23 PM
And you are using the English language?
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: cloe on July 25, 2007, 10:19:51 PM
And you are using the English language?

Yes
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: BartAfterDark on July 25, 2007, 10:21:38 PM
try and open lang/english/main.php
and tell me what it says under "Templates" ?
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: cloe on July 25, 2007, 10:23:37 PM
try and open lang/english/main.php
and tell me what it says under "Templates" ?

This:

Code: [Select]
//-----------------------------------------------------
//--- Templates ---------------------------------------
//-----------------------------------------------------
$lang['charset'] = "iso-8859-1";
$lang['direction'] = "ltr";
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: BartAfterDark on July 25, 2007, 10:25:25 PM
hmm... It "should" work. Do you have a link to where we can try it?
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: cloe on July 25, 2007, 10:27:31 PM
hmm... It "should" work. Do you have a link to where we can try it?

No its not upploaded to the web yet... I use WAMP localy for making the page...
I dont have anywhere to sent it yet... on the web ..
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: BartAfterDark on July 25, 2007, 10:30:50 PM
aha. That's properly the problem. Can you view your PHP.ini on WAMP?
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: cloe on July 25, 2007, 10:31:52 PM
aha. That's properly the problem. Can you view your PHP.ini on WAMP?

Yes.. I can look into php.ini.. Is it something there that I have to fix??
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: BartAfterDark on July 25, 2007, 10:33:34 PM
does it say default under default_charset ?
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: cloe on July 25, 2007, 10:35:59 PM
does it say default under default_charset ?

it says:

Code: [Select]
;default_charset = "iso-8859-1"
Maybe I should remove ";"??
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: BartAfterDark on July 25, 2007, 10:38:17 PM
I'm not quite sure. I would only remove "iso-8859-1"

The problem you have with æøå is because of your system, and you should not have this problem as soon as you upload it to your host.
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: cloe on July 25, 2007, 10:39:26 PM
I'm not quite sure. I would only remove "iso-8859-1"

The problem you have with æøå is because of your system, and you should not have this problem as soon as you upload it to your host.

I can try both way.. and can se how it goes :)
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: BartAfterDark on July 25, 2007, 10:48:21 PM
http://new.czar.dk/?p=64
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: cloe on July 25, 2007, 10:52:27 PM
Uansett hva jeg gjør i php.ini så virker det ikke :(
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: BartAfterDark on July 25, 2007, 10:53:13 PM
Prøv det link der øverst
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: cloe on July 25, 2007, 10:54:40 PM
Prøv det link der øverst

Prøver.. Men hva er httpd.conf: ??
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: BartAfterDark on July 25, 2007, 10:55:39 PM
ligger i apache mappen.

Have you tried installing 4images on your host?
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: cloe on July 25, 2007, 11:01:31 PM
ligger i apache mappen.

Have you tried installing 4images on your host?

Den serveren jeg skal bruke til denne siden.. er ikke klargjort for å installere dette... den er ikke kompatibel for php osv.
Det skal fikses... men er ikke i orden akuratt nå :(

Når jeg søker etter httpd.conf: i WAMP mappen.. som apache2 mappen også ligger... så finner jeg ikke noen fil som heter httpd.conf:
Det eneste treff jeg får er Documentation.html og Documentation.txt ??

Opps... sorry... I wrote in Norwegian...

The server that i shall use is not ready for php and so on.. so I cant test it  :(

When i Search for httpd.conf: in WAMP, I only got those hits: Documentation.html and Documentation.txt ??
Title: Re: I can not use ÆØÅ.. How can i fix it?
Post by: cloe on July 25, 2007, 11:17:15 PM
Look at this google search:

http://verden.abcsok.no/index.html?q=%E6%F8%E5%20%2B4images&cs=latin1

If you look at what that is says under Saudi Arabia Hacker link.

quote: Når du laster opp et bilde, sørg for at filnavnet ikke inneholder æøå, mellomrom
eller spesialtegn.

On English: When you upload a image, be sure not to use æøå, spaces or special character.

Is this a problem in 4images??

Can someone make a fix for this??