Drake CMS Official Forums - read-only archive

You are reading the Drake CMS Official Forums archive, available for historical purposes only.

Drake CMS has been rebranded into Lanius CMS, visit the new Lanius CMS Official Forums if you need support about Lanius CMS or Drake CMS -> Lanius CMS migration.



Home page > General Discussion > Can't create language file Permanent link to this page
 
 
Author Message:
drnantic
Can't create language file
22 March 2007 20:33
Anonymous On fresh SVN drake installation to subforlder cluoldn't create laguage file.
Folder /hr created uder /laguage...

error report:

==Error hash==
IVDJB0IC
==Previous page==
admin.php?com_option=language
==Version information==

2007-03-22 15:27:06 GMT

==Server==
Drake v0.3.8 Beta rev.2331
Server: Apache/1.3.37 (Unix) mod_fastcgi/2.4.2 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
PHP version: 4.4.3
Database: gladius
Protocol: HTTP/1.1
OS: Linux ward.nswebhost.com 2.6.17.11-grsec #2 SMP Fri Oct 20 17:32:59 CDT 2006 i686

==Client==
User agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Accept-charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
Accept-language: en-us,en;q=0.5

==Debug backtrace==

admin.php(59): require(string[+50] = $d_root."admin/components/com_language/admin.language.php")
admin/components/com_language/admin.language.php(152): txcopy(fs, string[+10] = $d_root."lang/en/", string[+10] = $d_root."lang/hr/")
admin/components/com_language/admin.language.php(44): E2 is_dir() [function.is-dir]: Stat failed for /home/nantic2/public_html/drake_SVN/SVN/lang/hr/admin (errno=13 - Permission denied)


==================================

Did i miss something?
 
legolas558
Re:Can't create language file
23 March 2007 00:34
Anonymous Enable write permissions and/or user rights for that folder
 
drnantic
Re:Can't create language file
23 March 2007 12:38
Anonymous I can do it only for /lang folder, the /lang/hr folder was created by script.
If i change permissions after folder creation, and then retry, language creation script report that folder is already created, and wont proceed.
Do script itself set those pemissions? Is it matter of server?

Can i do it manually, just good old COPY-PASTE and then edit .php files?
 
legolas558
Re:Can't create language file
23 March 2007 12:43
Anonymous Uhm...that's because you have safe mode. If you can't create the hr folder locally and then upload, get the latest revision on your host, upload a copy of the en folder and rename it to hr and then start a new translation: it will not care about the already existing files.
 
drnantic
Re:Can't create language file
23 March 2007 13:26
Anonymous There is error in language.xml. It refers to file - admin/components/users.php
but there is file user.php. Which name is correct? - i changed to
<filename>admin/components/user.php</filename>

But afterall, i can now start to work! w00t grin laughing
 
legolas558
Re:Can't create language file
27 March 2007 14:22
Anonymous Uh, great you could solve it! Sorry for the troubles...the SVN version usually has these issues before release.

Thank you! laughing
 
Top