Multi-Language Hack
- You cannot open a new topic into this forum
- Guests cannot post into this forum
msg# 1
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
msg# 1.1
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
msg# 1.1.1
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
msg# 1.1.1.1
Overload?
Anyway you'd better remove EMLH.
Votes:1
Average:0.00
msg# 1.1.1.1.1
Thank you.....
This is a side project........i will try again later
thank you again
Votes:0
Average:0.00