PEAK XOOPS - Multi-Language Hack in englishin japanese

Multi-Language Hack

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2006/1/5 23:54
anguspoe  企霹始   Posts: 5
I am trying to set up the Multi-Language Hack and i'm having a little trouble.

I what to use the English and Japanese. I copy and pasted the easiestml.php into the include file and went to update the mainfile.php with the following code

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
define('XOOPS_URL', 'http://localhost/home');
[color=ff0000]
require XOOPS_ROOT_PATH.'/include/easiestml.php' ; // insert this
[/color=ff0000]
// Database
// Choose the database to be used
define('XOOPS_DB_TYPE', 'mysql');

I receive and error message of


Parse error: parse error in c:\phpdev\www\home\mainfile.php on line 40
XOOPS root path not defined

I am using xoops 2.2

Thank you.

***Do I need to install the core lang as well? if so were can i dl?

Thank you again
Votes:13 Average:5.38
Previous post - Next post | Parent - Children.1 | Posted on 2006/1/6 5:05
GIJOE  黎扦烦菱   Posts: 4110
hi anguspoe.

Quote:
// XOOPS Virtual Path (URL)
	// Virtual path to your main XOOPS directory WITHOUT trailing slash
	define('XOOPS_URL', 'http://localhost/home');
[color=ff0000]
	require XOOPS_ROOT_PATH.'/include/easiestml.php' ; // insert this
[/color=ff0000]
	// Database
	// Choose the database to be used
	define('XOOPS_DB_TYPE', 'mysql');

It is caused by my typo also.
Anyway, just insert a line appended "insert this".

Votes:6 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/1/7 6:33
anguspoe  企霹始   Posts: 5
thank you sir,

I updated the mainfile.php and save.

when the site starts to load Apache receives an error and shuts down

***Apache.exe has encountered a problem and needs to close. We are sorry for the inconvenience.*****

any thoughts??

Thank you,
Anguspoe
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/1/10 6:20
GIJOE  黎扦烦菱   Posts: 4110
Overload?

Anyway you'd better remove EMLH.
Votes:1 Average:0.00

question Re: Multi-Language Hack

msg# 1.1.1.1.1
Previous post - Next post | Parent - No child | Posted on 2006/1/17 2:32
anguspoe  企霹始   Posts: 5
Thank you.....

This is a side project........i will try again later

thank you again
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!