Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Problem with locale ?
fbourcier
#1 Posted : Sunday, 31 May 2009 11:00:05 PM(UTC)
Rank: Member

Joined: 31/05/2009(UTC)
Posts: 5
Location: France

Hello,

Just installed on a french Windows 2003 Server, when I try to configure something in the admin interface, the "galleryserverpro.config" is write whis some "," in state of ".". When the page is refresh, I've an error because the web server can't convert "1,33" into Single.

I have modify the regional settings of my server (French with "." as decimal separator) but I have always the same issue.

Something wrong in my (standard SQLite) config ?

Frédéric

Roger Martin
#2 Posted : Monday, 1 June 2009 12:56:41 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

There is a bug in 2.3. Take a look at this thread for the workaround.

Sorry for the inconvenience.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
fbourcier
#3 Posted : Monday, 1 June 2009 3:16:33 AM(UTC)
Rank: Member

Joined: 31/05/2009(UTC)
Posts: 5
Location: France

Thanks !!!
fbourcier
#4 Posted : Monday, 1 June 2009 3:24:03 AM(UTC)
Rank: Member

Joined: 31/05/2009(UTC)
Posts: 5
Location: France

But :

Erreur du serveur dans l'application '/'.


Erreur de configuration
Description : Une erreur s'est produite lors du traitement d'un fichier de configuration requis pour répondre à cette demande. Veuillez consulter ci-dessous les détails relatifs à l'erreur en question, puis modifier votre fichier de configuration de manière appropriée.

Message d'erreur de l'analyseur: La valeur de la propriété 'emptyAlbumThumbnailWidthToHeightRatio' ne peut pas être analysée. L'erreur est : 1,33 n'est pas une valeur valide pour Single.

Erreur source:


Ligne 18 : emptyAlbumThumbnailFontSize="13"
Ligne 19 : emptyAlbumThumbnailFontColor="White"
Ligne 20 : emptyAlbumThumbnailWidthToHeightRatio="1,33"
Ligne 21 : maxAlbumThumbnailTitleDisplayLength="20"
Ligne 22 : maxMediaObjectThumbnailTitleDisplayLength="16"


Fichier source : C:\Inetpub\wwwroot\GallerieNVLASP\gs\config\galleryserverpro.config Ligne : 20

Roger Martin
#5 Posted : Monday, 1 June 2009 4:14:20 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

galleryserverpro.config must have a decimal point instead of a comma in the numbers. Open it in a text editor (it is in gs\config\) and replace 1,33 with 1.33. You may also have to fix the value for mediaObjectTransitionDuration - change it from 0,2 to 0.2.

One you repair the config file, the fix described in the other thread should prevent the numbers from being written with commas.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
fbourcier
#6 Posted : Monday, 1 June 2009 5:04:48 AM(UTC)
Rank: Member

Joined: 31/05/2009(UTC)
Posts: 5
Location: France

I have modified the conf file and the code of course :

Modified Code :

<p class="gsp_addtopmargin5">
<asp:Label ID="lblTransDuration" runat="server" Text="<%$ Resources:GalleryServerPro, Admin_MediaObjects_TransDuration_Label %>" />
<asp:TextBox ID="txtTransDuration" runat="server" />&nbsp;<asp:RangeValidator ID="rvTransDuration"
runat="server" Display="Dynamic" ControlToValidate="txtTransDuration" Type="Double"
MinimumValue=".000001" MaximumValue="2147483647" CultureInvariantValues="true" Text="<%$ Resources:GalleryServerPro, Validation_Positive_Double_Text %>" />
</p>

The application works fine but if I do a modification in the admin, a coma is write in the conf file for the two values.
Roger Martin
#7 Posted : Monday, 1 June 2009 6:06:37 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

I apologize. I think the fix I posted is actually one of two changes that must occur, but the other is in source code, which is difficult for most of you. I expect to release a new version of GSP this week with this and other bug fixes, so until then the workaround is to change the MinimumValue to 1 as suggested in the other thread.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
fbourcier
#8 Posted : Monday, 1 June 2009 6:37:31 AM(UTC)
Rank: Member

Joined: 31/05/2009(UTC)
Posts: 5
Location: France

Ok, sorry for my English, thanks for your help and congratulation for your application, the documentation etc...

Frédéric
Roger Martin
#9 Posted : Wednesday, 3 June 2009 12:28:56 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

Version 2.3.3440 has been released and includes the fix for this.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.