Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 26. Apr 2024, 01:44

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 27. Jan 2006, 05:23 
Offline
User avatar

Joined: 26. Jan 2006, 18:45
Posts: 3
Location: Sofia, Bulgaria
1. Cyrillic
I've made language_bg.gif, language_bg.txt, language_bg.php and place them in language folder.
Next I change charset to "Windows-1251" in every index.htm and in index.php:

Quote:
if (!$php_include) {
echo '
<title>' . $browser_title_prefix . '</title>
<meta name="author" content="Michael Dempfle" >
<meta name="DC.Identifier" content="http://www.tinywebgallery.de.vu" >
<meta name="keywords" content="TinyWebGallery, php, images, image, gallery, pictures, web, image gallery, web gallery, galery, Bilder, Bildergalerie, gallerie, imagegallery, webgallery, easy to install, xml, title, titel, comments, kommentare, drehen, rotate, slideshow" >
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1251">


At last i've set default language to be Bulgarian in config.php:

Quote:
$default_language = "bg";


In IE6 I haven't problems, but in Firefox 1.5, default language remain English as well as in Opera 8.51.
Cyrillic comments aren't displayed correctly in all browsers (IE6,Firefox 1.5,Opera 8.51).
In Firefox and Opera all cyrillic texts aren't displayed correctly in Comments window, if I use PHP 4.3.x. But when I use 5.1.x,
all cyrillic texts aren't displayed correctly only in Opera.
On main page, when is loaded for the first time, cyrillic characters are displayed correctly only when I press refresh button.

2. Firefox 1.5
When I close Comments window, web page refreshes automatically in cycle and this doesn't stop at all.
This happens in Demo too.

3. IE 6
Slideshow doesn't work. When I press slideshow button, only first picture is loaded and remain forever on page with this text below "Slideshow is loading ...".

4. _mydebug.out
My _mydebug.out is full of these errors:

Quote:
1.27.2006 0:51:05 - ERROR 2048 in nyWebGallery13\inc\filefunctions.inc.php, line 717: phpinfo() [<a href='function.phpinfo'>function.phpinfo</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. We selected 'Europe/Helsinki' for '2.0/no DST' instead
01.27.2006 0:51:05 - ERROR 2048 in ocs\TinyWebGallery13\inc\counter.inc.php, line 88: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. We selected 'Europe/Helsinki' for '2.0/no DST' instead
01.27.2006 0:51:05 - ERROR 2048 in ocs\TinyWebGallery13\inc\counter.inc.php, line 89: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. We selected 'Europe/Helsinki' for '2.0/no DST' instead
01.27.2006 0:51:05 - ERROR 2048 in ocs\TinyWebGallery13\inc\counter.inc.php, line 90: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. We selected 'Europe/Helsinki' for '2.0/no DST' instead
01.27.2006 0:51:05 - ERROR 2048 in ocs\TinyWebGallery13\inc\counter.inc.php, line 91: getdate() [<a href='function.getdate'>function.getdate</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. We selected 'Europe/Helsinki' for '2.0/no DST' instead
01.27.2006 0:51:10 - ERROR 2048 in ocs\TinyWebGallery13\inc\readxml.inc.php, line 184: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. We selected 'Europe/Helsinki' for '2.0/no DST' instead


Please help me. Thank you in advance.


Top
 Profile  
 
 Post subject:
PostPosted: 27. Jan 2006, 11:39 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

1. haven't testet cyrillic languages at all - if you want to change the charset you have to go to the i_frames folder too because the comments.. windows are individual pages with their own header ...

2. do you have special size of the browser ? I alyaws develop with 1.5 but this never happend to me before. Can you tell me exactely what you have done?

3. Javascript enabled? 2 of the 3 slideshow types do not work without JS.

4. haven't seen this kind of error before. they don't seem critical.
I have googled a little bit.
are yo using php 5.1 ? you can call date_default_timezone_set() and then the message is gone - but is seem that this funtio is not available in php 4x ...

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 28. Jan 2006, 05:10 
Offline
User avatar

Joined: 26. Jan 2006, 18:45
Posts: 3
Location: Sofia, Bulgaria
1. When I change charset in the files in i_frames folder too, all is fine now, except entered text in Comments window. I think this is related to xml (how cyrillic text is write/read from xml file), but I have no idea how to fix it.

2. The problem here is related to "NoScript" extension of Firefox. When I allow scripts globally with this extension all is OK.

3. When I change Java permissions of IE to medium level slideshow works fine.

4. These errors disappear now. I have no idea why.

Thank you very much.


Top
 Profile  
 
 Post subject:
PostPosted: 30. Jan 2006, 11:05 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

I'll check with the comments but I don't know why this is happening - maybe the encoding of the xml files have to be changed - its always hard to change if you cannot test it . - sorry about this.

/michael


Top
 Profile  
 
PostPosted: 9. Mar 2006, 17:23 
Offline

Joined: 9. Mar 2006, 17:03
Posts: 6
I'm a Chinese, like TWG very much. I think it'll be very nice to be able to switch the charset automatically according to the language selection, the charset info can be put in language_*.php, just add a optional key there.

Another thing is that I'm new to TWG and don't know if there are places to config the text size. When using Chinese, many places the size of the text is too small and so the display quality is not very good.

Thanks a lot for this nice php app


Top
 Profile  
 
 Post subject:
PostPosted: 9. Mar 2006, 19:42 
Hi,
Thanks for this hint.

I haven't designed twg for chinese yet .... :)

text size is all done in the style sheet - but you can set the height of the iframes in the language file at the bottom!

If you have a working chinese tranlation let me know - i will change twg that if exist the caracter set is read for the language file !

/Michael


Top
  
 
 Post subject:
PostPosted: 17. Mar 2006, 12:27 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

I have modified TWG that the language file can be UTF-8 !!

If some guys of you still watch this topic please let me know - you can get my local build - I would like to test with one of this languages - right now someone is testing greek!

/Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy