How do I paste into (Script) tab and save it?

Post all technical issues and questions here. We'll gladly help you wherever we can.
Post Reply
Tiggerly1
Explorer
Explorer
Posts: 34
Joined: Thu Nov 06, 2008 2:10 am
Location: Los Angeles, CA

How do I paste into (Script) tab and save it?

Post by Tiggerly1 »

I made backups of my Flash Tease scripts.
I lost all the pages again so I closed out Nyx. Shut down browser (Mozilla) and tried to restore with nyx again using the Script tab by pasting from my .txt file.

The pages showed up under visual and I reuploaded all the media with exactly the same file names for each as in the orginal.
Under the visual tab it shows all the pictures correctly on each page but when I try to publish it, the tease is empty.

I have tried saving each and every page down the list. Nothing.
Tried saving directly on the script tab. Nothing
Tried saving directly on Visual tab. Nothing.

I don't get it.

Can anyone help? THis is the fourth time I have tried to put together this tease. It has 74 pages.
seraph0x
Administrator
Administrator
Posts: 2666
Joined: Sun Jul 23, 2006 8:58 am

Re: How do I paste into (Script) tab and save it?

Post by seraph0x »

You only need to hit Save once: On the Script tab right after you paste the code into the box.

Obviously, before you paste it in there, you wanna make sure the box is empty so you don't end up with a concoction of two scripts.

Does the tease show when you go to the Preview tab?
Tiggerly1
Explorer
Explorer
Posts: 34
Joined: Thu Nov 06, 2008 2:10 am
Location: Los Angeles, CA

Re: How do I paste into (Script) tab and save it?

Post by Tiggerly1 »

Nothing shows up if I go from pasteing the Script into the script tab to Preview.

I have pasted it into the Script tab and clicked Save. The screen turns white for a couple seconds.

Does that mean it has saved the script?
Tiggerly1
Explorer
Explorer
Posts: 34
Joined: Thu Nov 06, 2008 2:10 am
Location: Los Angeles, CA

Re: How do I paste into (Script) tab and save it?

Post by Tiggerly1 »

Okay. I have loaded up the media again (5th time).

Now what should I do? Paste the script and hit save?
Then what do I do to prevent it from dropping everything?
seraph0x
Administrator
Administrator
Posts: 2666
Joined: Sun Jul 23, 2006 8:58 am

Re: How do I paste into (Script) tab and save it?

Post by seraph0x »

(I just responded to your PM, but I'll provide the same answers here for other people's benefit.)
Tiggerly1 wrote:Okay. I have loaded up the media again (5th time).
Sorry to say that was unnecessary. The script is saved completely independently from the tease media. So whether you just clear out the script and hit Save or whether you create a new tease and reupload everything will not make a difference.
Tiggerly1 wrote:Now what should I do? Paste the script and hit save?
Then what do I do to prevent it from dropping everything?
Probably there is something in your script such as a syntax error or a rogue quotation mark or something to that effect. Maybe this is also what has caused the script to be deleted in the first place.

I've asked you to mail me the script to [email protected] . I'll have a look though and figure out what's tripping Nyx up.

I reiterate again: To paste the script you just need to paste the script once and hit Save. If it's not working then most likely there is something wrong with the script. A wrong parenthesis, a stray dot... Nyx uses a very simple parser that can be tripped up by fairly minor syntax errors. The new system we're currently working on will be able to detect and warn about most syntax errors so you know where the problem is.
Tiggerly1
Explorer
Explorer
Posts: 34
Joined: Thu Nov 06, 2008 2:10 am
Location: Los Angeles, CA

Re: How do I paste into (Script) tab and save it?

Post by Tiggerly1 »

I pasted it into an email for you.
seraph0x
Administrator
Administrator
Posts: 2666
Joined: Sun Jul 23, 2006 8:58 am

Re: How do I paste into (Script) tab and save it?

Post by seraph0x »

I got an email, but it doesn't contain a script. :-)
Tiggerly1
Explorer
Explorer
Posts: 34
Joined: Thu Nov 06, 2008 2:10 am
Location: Los Angeles, CA

Re: How do I paste into (Script) tab and save it?

Post by Tiggerly1 »

Resent it and made sure to attach the .txt file I made as a backup.

It is tease number 5776.

Thanks. :)
seraph0x
Administrator
Administrator
Posts: 2666
Joined: Sun Jul 23, 2006 8:58 am

Re: How do I paste into (Script) tab and save it?

Post by seraph0x »

Got your mail. It turned out that the script was quite big in terms of bytes because of the formatting tags that the visual editor generates. The solution was to raise the server-side limit for POST variables.

You should be able to save your tease from now on. :-)
Tiggerly1
Explorer
Explorer
Posts: 34
Joined: Thu Nov 06, 2008 2:10 am
Location: Los Angeles, CA

Re: How do I paste into (Script) tab and save it?

Post by Tiggerly1 »

Thanks Seraph0x! I have to head out to work just now but I will let you know how it works when I get back later.

Thank you so much for your help!!

/hug

:love: :w00t:
Tiggerly1
Explorer
Explorer
Posts: 34
Joined: Thu Nov 06, 2008 2:10 am
Location: Los Angeles, CA

Re: How do I paste into (Script) tab and save it?

Post by Tiggerly1 »

It seems to have worked. :)

It's up and ALIVE!
Post Reply