Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

Form Tab "Javascript" missing with vanilla.sql installation

Post Reply
Drache
Posts: 10
Joined: Mon Nov 07, 2011 3:12 pm

Form Tab "Javascript" missing with vanilla.sql installation

Unread post by Drache »

With a new installation made with the "vanilla.sql", the Forms Javascript Tab is missing, and the "Custom Code" Tab looks unusable (See attachment).

What I did to install:
  • - created a new database "testvanilla"
    - MySQL: grant all on testvanilla.* to testvanilla@localhost identified by "testvanillapass";
    - copied the whole sample/ directory to a "testvanilla" directory
    - modified DB user and passwords, and the two "sample" strings in config.php resp. index.php
    - mysql -u root -p testvanilla < vanilla.sql
Now I can fire up the Browser and login with globeadmin and "secret" as expected. There are two Forms: Wizard-Form, Wizard-Subform which can be edited but the "Javascript" Tab is missing. Same with any custom Forms.
But the "sample" and "sampledebtors" demos are working fine.

What might be wrong ?

-- Thank you --
Ruben

--------
nuBuilder 11.11.03
Attachments
No Javascript Tab, and what about that Custom Code ?
No Javascript Tab, and what about that Custom Code ?
nubuilder_formtabs_shot.jpg (8.51 KiB) Viewed 7290 times
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

Re: Form Tab "Javascript" missing with vanilla.sql installation

Unread post by admin »

Ruben,

There are some changes to the db structure that probably needs implementing as well.

You'll find it here http://www.nubuilder.com/change.php under Schema Changes

When its working the form should look like this..
Capture.png
Capture.png (23.93 KiB) Viewed 7280 times
Steven
johan
Posts: 392
Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium

Re: Form Tab "Javascript" missing with vanilla.sql installation

Unread post by johan »

Steven,

I got the same problem with older (existing) databases.

When I use the vanilla.sql from the blank site it seems to be ok but when I use an existing database i get the same error, even after updating my sql.
Knipsel.GIF
Knipsel.GIF (26.05 KiB) Viewed 7248 times
I also don't get the new layout of nubuilder.

Johan
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

Re: Form Tab "Javascript" missing with vanilla.sql installation

Unread post by admin »

Johan,

Do you have the following sitting at the top of form's html

Code: Select all

<title>nuBuilder Form</title>
<script type='text/javascript' src='jquery.js?ts=20111103162519' language='javascript'></script>
<script type='text/javascript' src='jquery-ui/jquery-ui-1.8.16.custom.min.js?ts=20111103162541' language='javascript'></script>
<script type='text/javascript' src='common.js?ts=20111220074849' language='javascript'></script>
<script type='text/javascript' src='nuCalendar.js?ts=20111103162519' language='javascript'></script>
<script type='text/javascript' src='nuEmailForm.js?ts=20111103162519' language='javascript'></script>
<link rel='stylesheet' href='css/core.css?ts=20111103162521' />
<link rel='stylesheet' href='css/nueditor.css?ts=19700101093000' />
<script type='text/javascript' src='js/nueditor.js?ts=20111108124403' language='javascript'></script>

especially nueditor.css

and is it in the css directory?

Steven
johan
Posts: 392
Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium

Re: Form Tab "Javascript" missing with vanilla.sql installation

Unread post by johan »

Steven,

In the header of the html I get:
Knipsel.GIF
Knipsel.GIF (29.01 KiB) Viewed 7223 times

When I click on the link (arrow) I see :
Knipsel1.GIF
Knipsel1.GIF (21.37 KiB) Viewed 7223 times
And those files are in css directory.

So that part seems alright.

Johan
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

Re: Form Tab "Javascript" missing with vanilla.sql installat

Unread post by admin »

Hi,
We put some schema changes on http://www.nubuilder.com/change.php?cha ... f91b77ee97

But they lose something being displayed on the html of the page.

So I've attached a file that contains them here..
update.zip
(2.56 KiB) Downloaded 351 times
I hope this is what you need to fix it.

Steven
johan
Posts: 392
Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium

Re: Form Tab "Javascript" missing with vanilla.sql installat

Unread post by johan »

Steven,

Seems to be a problem with the update. I got error duplicate key 14e85537db4089. When I delete that row than I get duplicate column name 'sfo_redirect_form_id' .

How can I prevent that?

Johan
Post Reply