flagflag  If you want to see English page, please click "English" Button at Left.

Re: Running in Windows

このトピックの投稿一覧へ

なし Re: Running in Windows

msg# 1.17
depth:
1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 .2 | 投稿日時 2012-3-8 15:25
Loralai  Just popping in   投稿数: 8
I am currently running the server in windows 2008 RC2 but the helper scripts do not seem to be working properly. I keep getting this error when I try to access them from the browser to test them: Parse error: syntax error, unexpected T_STRING in C:\Inetpub\vhosts\valhallavirtual.com\httpdocs\terminal\currency\include\config.php on line 16

I have looked for a syntax error on line 16 but have found non. Here is a copy of the Config.php file (I have comemnted out obvious security information for obvious reasons)

<?php
//
// Configration file for non Web Interface
//
//
//

// Please set this hepler script URL and directory
if (!defined('ENV_HELPER_URL')) define('ENV_HELPER_URL', 'http://www.valhallavirtual.com/terminal/currency/helper/');
if (!defined('ENV_HELPER_PATH')) define('ENV_HELPER_PATH', 'valhallavirtual.com\httpdocs\terminal\currency\helper\');

//////////////////////////////////////////////////////////////////////////////////i
// Valiables for OpenSim

// Please set MySQL DB access information
define('OPENSIM_DB_HOST', 'localhost');
define('OPENSIM_DB_NAME', '*********');
define('OPENSIM_DB_USER', '*********');
define('OPENSIM_DB_PASS', '*********');


// Money Server Access Key
// Please set same key with MoneyScriptAccessKey in MoneyServer.ini
define('CURRENCY_SCRIPT_KEY', '123456789');

// Group Module Access Keys
// Please set same keys with at [Groups] section in OpenSim.ini (case of Aurora-Sim, it is Groups.ini)
define('XMLGROUP_RKEY', '198919921953'); // Read Key
define('XMLGROUP_WKEY', '198919921953'); // Write key

// Please set user(robust) servers URL
define('USER_SERVER_URI', 'http://midgard.3dassociation.org:8002/'); // not use localhost or 127.0.0.1




//////////////////////////////////////////////////////////////////////////////////
// You need not change the below usually.

define('USE_CURRENCY_SERVER', 1);
define('USE_UTC_TIME', 1);

define('SYSURL', ENV_HELPER_URL);
$GLOBALS['xmlrpc_internalencoding'] = 'UTF-8';

if (USE_UTC_TIME) date_default_timezone_set('UTC');


// Currency DB
define('CURRENCY_MONEY_TBL', 'balances');
define('CURRENCY_TRANSACTION_TBL', 'transactions');


// XML Group. see also xmlgroups_config.php
define('XMLGROUP_ACTIVE_TBL', 'osagent');
define('XMLGROUP_LIST_TBL', 'osgroup');
define('XMLGROUP_INVITE_TBL', 'osgroupinvite');
define('XMLGROUP_MEMBERSHIP_TBL', 'osgroupmembership');
define('XMLGROUP_NOTICE_TBL', 'osgroupnotice');
define('XMLGROUP_ROLE_MEMBER_TBL', 'osgrouprolemembership');
define('XMLGROUP_ROLE_TBL', 'osrole');


// Avatar Profile. see also profile_config.php
define('PROFILE_CLASSIFIEDS_TBL', 'classifieds');
define('PROFILE_USERNOTES_TBL', 'usernotes');
define('PROFILE_USERPICKS_TBL', 'userpicks');
define('PROFILE_USERPROFILE_TBL', 'userprofile');
define('PROFILE_USERSETTINGS_TBL', 'usersettings');


// Search the In World. see also search_config.php
define('SEARCH_ALLPARCELS_TBL', 'allparcels');
define('SEARCH_EVENTS_TBL', 'events');
define('SEARCH_HOSTSREGISTER_TBL', 'hostsregister');
define('SEARCH_OBJECTS_TBL', 'objects');
define('SEARCH_PARCELS_TBL', 'parcels');
define('SEARCH_PARCELSALES_TBL', 'parcelsales');
define('SEARCH_POPULARPLACES_TBL', 'popularplaces');
define('SEARCH_REGIONS_TBL', 'regions');
define('SEARCH_CLASSIFIEDS_TBL', PROFILE_CLASSIFIEDS_TBL);


//
if (!defined('ENV_READED_CONFIG')) define('ENV_READED_CONFIG', 'YES');

?>

For the define path I have tried both the complete path through C:\ and just the path from the website webspace. Neither one seem to work.
投票数:75 平均点:4.80

投稿ツリー

  条件検索へ


サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 5月翌月
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
<今日>

オンライン状況

82 人のユーザが現在オンラインです。 (2 人のユーザが Forum を参照しています。)

登録ユーザ: 0
ゲスト: 82

もっと...

アクセスカウンタ

今日 : 1035810358103581035810358
昨日 : 1265612656126561265612656
総計 : 2353578923535789235357892353578923535789235357892353578923535789
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com