Jump to content
The Uniform Server Community

Recommended Posts

Posted

Goodmorning!

 

I'm fairly new to creating servers and I just got to know Uniform Server.

However when I boot 'Start_as_program.exe' I should get a window saying that I have to change my password.

In my case it gives an Error straight away, this one;

An error has occurred in the script page.

 

Line: 250

Char: 2

Error: Input past end of file

Code: 0

URL: file:///C:/UniServer/uni_con/includes/core_functions_inc.vbs

Do you want to continue running scripts on this page?

Yes/No.

 

(I didn't change a thing in that core_functions_inc.vbs)

 

I checked line 250, maybe theres something unusual here?

Line 245-260

Function us_port_in_use_ap(port)

Dim temp_file, FS,sInput

temp_file = US_TMP & "\port_check.txt" 'Temp file for netstat results

call ExecCMD("cmd /c netstat -anp tcp >" & temp_file,0,true) 'true=wait

Set FS = CreateObject("Scripting.FileSystemObject") 'Create file object

sInput = FS.OpenTextFile(temp_file).ReadAll 'Read file content

 

'Is port in use

If InStr(sInput, "0.0.0.0:" & port & " ") Then

us_port_in_use_ap = true 'Yes return true

Else

us_port_in_use_ap = false 'No return false

End if

 

Set FS = Nothing

End Function

 

System:

Windows Ultimate 64 bits

4 core @ 3.1ghz, 4 gb ram, Ati Radeon 5770.

 

I think I tried everything, i searched through the forums, and couldn't find any solutions.

I hope somebody can help me.

 

Hope to hear from you soon!

 

/Roy.

Posted

Did you check the runtime library version on your machine?

Also, what version of The Uniform Server are you running?

 

Regards,

BobS

Posted

I also had some problems with this randomly. My current solution is to just start apache and mysql manually:

/usr/local/apache2/bin/apache2.exe

/usr/local/mysql/bin/mysqld.exe

 

or something like that.

 

Gonna try to do some research on why exacly unitray stopped working later when I got some time.

I am representing the open tibia community otland.net
otland.net is contributing open source server software to an 2d mmorpg game called Tibia.

Here are some Uniform server tutorials/guide contributions from me:
VIDEO TUTORIAL: I teach newbreeds to install and operate uniform server: (Updated for Coral 8.x)
http://youtu.be/AsyxPhDTOcI

Uniform Server newbie guide:
Securely installing Uniform Server for total newbeginners:
http://otland.net/f479/nothing-fully-worki...-0-3-6-a-77593/
(also contains how to get our open source tibia game, and connect it successfully to the uniform mysql server).

How to add a website for our open source tibia game which includes highscore, create account and so on: (On uniform server)
http://otland.net/f479/website-installing-...m-server-91951/

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...