Dag Posted October 29, 2007 Share Posted October 29, 2007 (edited) my friend got strange error while he use my scriptmy script was tested on 10 PC and it work fine, no error at allonly my one friend got this error...any idea what it's going about?edit:my script got 5,5k lines so i choose not post it here Edited October 29, 2007 by Dag Link to comment Share on other sites More sharing options...
weaponx Posted October 29, 2007 Share Posted October 29, 2007 No problem, i've located the error. Line 15: Dim $theArray[1] Line 16: $theArray[2] = "We can't fix code that we can't see, please post at least a snippet" Link to comment Share on other sites More sharing options...
crescentic Posted October 29, 2007 Share Posted October 29, 2007 Yes I agree a code snippet would really be helpful But I can give you something to look at because of which code runs on one machine and not on another If the script involves reading through file then sometimes the context in which the script gets executed is important. For example if you use relative file path instead of the absolute one and try to run script remotely using a remote execution tool. So the relative path context changes so you might want to specify the working directory explicitly or use absolute path Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now