The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't open input dir [sphere.ini]
Author Message
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #1
Can't open input dir [sphere.ini]
ERROR:Can't open input dir [sphere.ini]
ERROR:Can't get stats info for file 'sphere.ini'
...
ERROR:Can't open input dir [sphereCrypt.ini]
ERROR:Can't get stats info for file 'sphereCrypt.ini'


Getting these errors, no idea why, server starts but throws a lot of missing i_bag

no custom scripts, just the clean ones from pre-releases.

ULTIMA ONE
The modern, sphere powered Ultima Online server
05-24-2016 01:45 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #2
RE: Can't open input dir [sphere.ini]
check if your SphereSvr.exe / sphere.ini / sphereCrypt.ini are on the same folder, and also if this folder doesn't have any type of password or locked flags/privileges (eg: read/write flags or only accessible to some win/linux users, etc)
05-24-2016 08:21 AM
Find all posts by this user Like Post Quote this message in a reply
Criminal
Journeyman
*

Posts: 182
Likes Given: 38
Likes Received: 22 in 22 posts
Joined: Jun 2015
Reputation: 0

SantiagoUO.com

Post: #3
RE: Can't open input dir [sphere.ini]
also cehck for mayus if you are using linux

[Image: mfqAZnj.png]
Discord: SantiagoUO
Skype:
criminaluo
05-24-2016 03:54 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #4
RE: Can't open input dir [sphere.ini]
I am using Linux, permissions and everything are all fine.

As you can see, it is reading the sphere.ini fine, else it wouldn't start the server. I also get LOTS of missing defs.

some examples:

Code:
ERROR:(sphere_spells.scp,49)Undefined symbol 'i_reag_blood_moss' ['i_reag_blood_moss,i_reag_nightshade']
ERROR:(sphere_spells.scp,49)Bad resource list id 'i_reag_blood_moss,i_reag_nightshade'
ERROR:(sphere_spells.scp,50)Undefined symbol 'i_rune_clumsy' ['i_rune_clumsy']
ERROR:(sphere_spells.scp,51)Undefined symbol 'i_scroll_clumsy' ['i_scroll_clumsy']

...


ERROR:(sphere_map_points2.scp,423)Unsupported map #2 specified. Auto-fixing that to 0.
ERROR:(sphere_map_points2.scp,424)Unsupported map #2 specified. Auto-fixing that to 0.

...


ERROR:(sphere_template_loot.scp,188)Undefined symbol 'i_basin' ['i_basin 1 i_basket_square 1 i_basket_square_small 1 i_basket_round_small 1 i_basket_round_tall 1 i_basket_square_deep 1 i_basket_square_tall 1 i_basket_round_flat 1 }']
ERROR:(sphere_template_loot.scp,188)Undefined symbol 'i_basket_square' ['i_basket_square 1 i_basket_square_small 1 i_basket_round_small 1 i_basket_round_tall 1 i_basket_square_deep 1 i_basket_square_tall 1 i_basket_round_flat 1 }']
ERROR:(sphere_template_loot.scp,188)Undefined symbol 'i_basket_square_small' ['i_basket_square_small 1 i_basket_round_small 1 i_basket_round_tall 1 i_basket_square_deep 1 i_basket_square_tall 1 i_basket_round_flat 1 }']

...


ERROR:(sphere_template_loot.scp,219)Undefined symbol 'i_basket_2' ['i_basket_2 1 i_basin 1 i_basket_square 1 i_basket_square_small 1 i_basket_round_small 1 i_basket_round_tall 1 i_basket_square_deep 1 i_basket_square_tall 1 i_basket_round_flat 1 }']
ERROR:(sphere_template_loot.scp,219)Undefined symbol 'i_basin' ['i_basin 1 i_basket_square 1 i_basket_square_small 1 i_basket_round_small 1 i_basket_round_tall 1 i_basket_square_deep 1 i_basket_square_tall 1 i_basket_round_flat 1 }']

Like I say, I litrelly took the Script pack from the pre-release page and the latest Linux version.

ULTIMA ONE
The modern, sphere powered Ultima Online server
05-24-2016 06:21 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
karma
Moderator
****

Posts: 178
Likes Given: 17
Likes Received: 32 in 29 posts
Joined: Jul 2012
Reputation: 3



Post: #5
RE: Can't open input dir [sphere.ini]
Can you try with an older build? Maybe it's happening after some changes were done on the source
05-25-2016 02:47 AM
Find all posts by this user Like Post Quote this message in a reply
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #6
RE: Can't open input dir [sphere.ini]
Well I started again making sure permissions were all correct and it seems to not like opening any file, yet permissions are fine 100% owned by the same user executing sphere, access permissions as per the wiki Linux guide and all.

Never had this issue before, I dont have any old versions to test with

Code:
ERROR:Can't open input dir [scripts/sphere_admin.scp]
ERROR:Can't get stats info for file 'scripts/sphere_admin.scp'
Loading scripts/sphere_admin.scp
ERROR:Can't open input dir [scripts/sphere_backward_compatibility.scp]
ERROR:Can't get stats info for file 'scripts/sphere_backward_compatibility.scp'
Loading scripts/sphere_backward_compatibility.scp
ERROR:Can't open input dir [scripts/sphere_book.scp]
ERROR:Can't get stats info for file 'scripts/sphere_book.scp'
Loading scripts/sphere_book.scp
ERROR:Can't open input dir [scripts/sphere_defs.scp]
ERROR:Can't get stats info for file 'scripts/sphere_defs.scp'

My user can edit all of those files in vi and save to them no problem.

Anyone else tested this pre-release on centos7 at all?

Ok, so just checked the files

this error: ERROR:(sphere_template_loot.scp,583)Undefined symbol 'i_chest_gothic' ['i_chest_gothic 1 }']

The term 'i_chest_gothic' isnt even IN that file, ANYWHERE.

what??

ULTIMA ONE
The modern, sphere powered Ultima Online server
(This post was last modified: 05-25-2016 09:22 PM by Ultima One.)
05-25-2016 08:46 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #7
RE: Can't open input dir [sphere.ini]
Any ideas anyone? Or anyone got an older build than the pre-release (cant see any myself)

ULTIMA ONE
The modern, sphere powered Ultima Online server
05-26-2016 08:24 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #8
RE: Can't open input dir [sphere.ini]
spheretables.scp uses / for a folder. However linux needs a \

didnt help Sad

ULTIMA ONE
The modern, sphere powered Ultima Online server
(This post was last modified: 05-28-2016 02:20 AM by Ultima One.)
05-28-2016 01:02 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Kanibal
Master
**

Posts: 255
Likes Given: 6
Likes Received: 30 in 28 posts
Joined: Jun 2012
Reputation: 0



Post: #9
RE: Can't open input dir [sphere.ini]
(05-28-2016 01:02 AM)Ultima One Wrote:  However linux needs a \
Woot

Maybe ./ ?

Grandmaster Localhost Admin
(This post was last modified: 06-13-2016 08:43 AM by Kanibal.)
06-13-2016 02:37 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)