Jump to content

Recommended Posts

Posted (edited)

Spent all of 12 hours building up the config.js file. Only for the damned thing to erase itself.

Got all 150+ programs in my config.js file, and now WPI just showing me a blank screen. Course I immeaditley check my config file and (to my surprise, all was well)

So WTF is going on with this?

(A side note) This is not just a WPI thing. For some ungodly reason, the html autorun dont run, hell it hardly walks. It displays the bg pic, but none of the text or links.

Any ideas?

Any help would be appreciated.

CompFX

Edited by CompFX

Posted

To get ride of a blank screen:

To resolve the problem, type these commands from Start, Run dialog:

regsvr32 jscript.dll

If that does not help, execute the following commands as well.

regsvr32 nusrmgr.cpl

regsvr32 /i mshtml.dll

Posted

Now I have this problem

An error has occurred in the script on this page

line: 225

Char: 42

Error: Unterminated String Constant

Code: 0

URL: file://C:\ICE\WPI.hta

Clicked yes, and get

JavaScript Error Report

Message: Object Expected

url: file://c:\ICE\WPI.hta

file: api.js

Line: 138

Posted (edited)

This one does not work. When WPI loads, it shows the first error, in my prior post. However, it no longer shows the second error. After i click yes, keep running script, it loads the background, the stuff on the left side of the page, but it does not load my the main screen. (where you can check what you want to install)

I displayed it here, but then i could not see any more of my replies, so i put it as an attachment.

config.js

Edited by CompFX
Posted (edited)

you have made a typo on line 223 you have

cmd2[pn]=['taskkill /f /im iexplorer.exe

replace that with this

cmd2[pn]=['taskkill /f /im iexplorer.exe']

Problem solved :D

Edited by glent
Posted (edited)

I feel like such a fool. I have been fighting with this for almost 4 days now. I have gone over this file at least a dozen times.

How in the world did you pick up on that?

How come it says there was an error on line 225, and you caught the error on line 223?

After seeing the line that had the typo i realized why it was like that. I use to have a double pipe in the command line, but I kept getting an error, so i took out the double pipe, and put it on two lines.

I feel like such a jack a$$

Thank you so much. Deeply appreciated.

CompFX

oh yea, what do you use to open the js file? how you know it was on line 223?

I us php expert editor, because it numbers line lines for me, but i was just wondering what you use?

Edited by CompFX
Posted

I use notepad2 and if there is and error in you code it will have a yellow line through the text, makes things alot easier ;)

Posted (edited)

Wow, impressed.

I dl'ed Notepad2, and i like it.

Another program to add to my ui

Problem solved, thank you.

Thanks

CompFX

Edited by CompFX

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...