SiT! Bugs

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001036SiT!i18npublic2010-01-10 10:142011-02-23 22:22
ReporterCorwin1979 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusconfirmedResolutionopen 
PlatformOSOS Version
Product Version3.50 
Target VersionFixed in Version 
Summary0001036: Saving translation error
DescriptionHi!

When I try to save my translation, Sit! try to save a file without the prefix, for instance i'm working on French translation and Sit! save a file .inc.php without the fr-FR.

I know it's working cause on another server everything is working well but I don't understand why it's not working on my hosted server (my production server...).

Here after the text I have after saving :

Save the text below as .inc.php and place in the /home/greed9i/public_html/assist/sit-3.50/i18n/ directory to use it. Send it to sitracker-devel-discuss@lists.sourceforge.net for it to be included with future SiT! releases for the benefit of other users.

Warning [2]
Division by zero in /home/greed9i/public_html/assist/sit-3.50/translate.php @ line 242 sit_error_handler()

Translation: 499/ = 0.00% Complete.

File saved as: /home/greed9i/public_html/assist/sit-3.50/i18n/.inc.php

Additional InformationMy PHP configuration :

  Sub Section Directive Info Value
Language Options asp_tags Allow ASP-style <% %> tags. Off
File Uploads file_uploads Whether to allow HTTP file uploads. On
Paths and Directories include_path Windows: "\path1;\path2" c:\php\includes" .:/usr/lib/php:/usr/local/lib/php
Resource Limits max_execution_time 30
Resource Limits max_input_time 60
Resource Limits memory_limit 128M
Data Handling register_globals You should do your best to write your scripts so that they do not require register_globals to be on; Using form variables as globals can easily lead to possible security problems, if the code is not very well thought of. Off
Language Options safe_mode Off
main session.save_path N;/path
File Uploads upload_max_filesize Maximum allowed size for uploaded files. 64M

TagsNo tags attached.
Attached Files

- Relationships
child of 0000826confirmed Config + help pages - translations 

-  Notes
User avatar (0002273)
ivan (administrator)
2010-01-12 14:27

I'm not sure why you'd get this error, I suspect it might be something to do with file permissions in your i18n directory.

I'll have a look at trying to reproduce it later on. In the mean time I thought I'd update this to make you aware that the French translation is now 100% complete and you can download an updated file from the wiki at http://sitracker.org/wiki/Translation [^]

Any contributions you want to make to improve this translation would be gratefully received
(0002274)
Corwin1979 (reporter)
2010-01-12 14:44

Hi Ivan!

It's me, Guillaume Clement from France who's working on French translation! ;)

My permissions looks rights, 777, the strange thing is why translate.php try to create a file withou the prefix, i18n/.inc.php ?

Regards.
User avatar (0002275)
ivan (administrator)
2010-01-12 14:57

ah hi Guillaume so I told you to download your own work! LOL sorry about that!!!

If it's not permissions then I guess it is a bug somewhere then, strange because I've never seen that before or heard anybody else have that issue and that page has been used quite extensively. As I say I'll try and reproduce it and work out what it might be, I'll report back here if I find anything.
User avatar (0003384)
paulh (administrator)
2010-08-28 13:23

Hi,

I've been able to reproduce this by reducing the size of my post_max_size setting in php.ini from the default of 8M to 16K, this variable effects the maximum size of the $_POST variable PHP accepts, can you check what this is set to on your production server?

Thanks
Paul
User avatar (0003550)
paulh (administrator)
2011-02-08 13:40

based on my previous comment

- Issue History
Date Modified Username Field Change
2010-01-10 10:14 Corwin1979 New Issue
2010-01-12 14:27 ivan Note Added: 0002273
2010-01-12 14:44 Corwin1979 Note Added: 0002274
2010-01-12 14:57 ivan Note Added: 0002275
2010-08-28 13:23 paulh Note Added: 0003384
2010-08-28 13:23 paulh Status new => feedback
2011-02-08 13:40 paulh Note Added: 0003550
2011-02-08 13:40 paulh Status feedback => confirmed
2011-02-23 22:22 ivan Relationship added child of 0000826


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker