flagflag  

Re: Running in Windows

List posts in the topic

なし Re: Running in Windows

msg# 1.17
depth:
1
Previous post - Next post | Parent - Children.1 .2 | Posted on 2012/3/8 15:25
Loralai  Just popping in   Posts: 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.
Votes:75 Average:4.80

Posts tree

  Advanced search


Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
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
Today

Who's Online

39 user(s) are online (2 user(s) are browsing Forum)

Members: 0
Guests: 39

more...

Access Counter

Today : 420420420
Yesterday : 4345434543454345
Total : 2365756123657561236575612365756123657561236575612365756123657561
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com