Jump to content
The Uniform Server Community
Sign in to follow this  
superoy

Wrong start?

Recommended Posts

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.

Share this post


Link to post
Share on other sites

Did you check the runtime library version on your machine?

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

 

Regards,

BobS

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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...
Sign in to follow this  

×
×
  • Create New...