Re: Running in Windows
Loralai
投稿数: 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.
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.
投票数:79
平均点:4.81
投稿ツリー
-
Running in Windows (Marcel, 2011-5-11 20:46)
-
Re: Running in Windows (iseki, 2011-5-11 22:59)
-
Re: Re: Running in Windows (Marcel, 2011-5-12 2:30)
-
Re: Re: Running in Windows (iseki, 2011-5-14 2:02)
-
-
-
Re: Running in Windows now ? (Tairon, 2011-6-4 18:30)
-
Re: Running in Windows now ? (iseki, 2011-6-5 0:05)
-
-
Re: Running in Windows (Tairon, 2011-6-5 0:36)
-
Re: Running in Windows (Tairon, 2011-6-5 0:44)
-
Re: Running in Windows (iseki, 2011-6-5 12:09)
-
-
Re: Running in Windows (Tairon, 2011-6-5 18:21)
-
Re: Running in Windows (fudge, 2011-6-6 8:59)
-
Re: Running in Windows (Tairon, 2011-6-7 5:16)
-
Re: Running in Windows (fudge, 2011-6-7 9:34)
-
Re: Running in Windows (iseki, 2011-6-8 10:46)
-
-
Re: Running in Windows (Tairon, 2011-6-7 16:59)
-
Re: Running in Windows (fudge, 2011-6-8 12:41)
-
Re: Running in Windows (iseki, 2011-6-8 16:00)
-
-
Re: Running in Windows (Tairon, 2011-6-10 3:14)
-
Re: Running in Windows (Tairon, 2011-6-13 22:45)
-
Re: Running in Windows (iseki, 2011-6-15 11:39)
-
-
Re: Running in Windows (Tairon, 2011-6-18 20:05)
-
Re: Running in Windows (Tairon, 2011-10-30 20:36)
-
Re: Running in Windows (iseki, 2011-10-31 10:50)
-
-
Re: Running in Windows ( OpenSim 0.7.3 Release Candidate 1 ) (Tairon, 2012-2-22 20:00)
-
Re: Running in Windows ( OpenSim 0.7.3 Release Candidate 1 ) (iseki, 2012-2-23 8:59)
-
-
Re: Running in Windows (SkyLine, 2012-3-3 4:28)
-
Re: Running in Windows (iseki, 2012-3-4 14:17)
-
-
Re: Running in Windows (Loralai, 2012-3-8 15:25)
-
Re: Running in Windows (iseki, 2012-3-10 10:37)
-
Re: Running in Windows (Loralai, 2012-3-21 7:25)
-
Re: Running in Windows (iseki, 2012-3-21 8:44)
-
-
-
Re: Running in Windows (iseki, 2012-3-10 10:44)
-
-
Re: Running in Windows (Loralai, 2012-3-8 15:37)
-
Re: Running in Windows (Loralai, 2012-3-8 16:56)
-
Re: Running in Windows (iseki, 2012-3-10 10:51)
-
-
Re: Running in Windows (Loralai, 2012-3-21 18:04)
-
Re: Running in Windows (iseki, 2012-3-21 18:57)
-
-
Re: Running in Windows (Loralai, 2012-3-21 20:23)
-
Re: Running in Windows (iseki, 2012-3-21 22:49)
-
-
Re: Running in Windows (Loralai, 2012-3-22 18:50)
-
Re: Running in Windows (iseki, 2012-3-22 19:31)
-
-
Re: Running in Windows (Loralai, 2012-3-22 18:51)
-