Page 1 of 1
Form Tab "Javascript" missing with vanilla.sql installation
Posted: Tue Nov 29, 2011 8:59 pm
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
Re: Form Tab "Javascript" missing with vanilla.sql installation
Posted: Sun Dec 04, 2011 11:24 pm
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
Steven
Re: Form Tab "Javascript" missing with vanilla.sql installation
Posted: Wed Dec 14, 2011 2:20 pm
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
I also don't get the new layout of nubuilder.
Johan
Re: Form Tab "Javascript" missing with vanilla.sql installation
Posted: Tue Dec 20, 2011 6:55 am
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
Re: Form Tab "Javascript" missing with vanilla.sql installation
Posted: Tue Dec 20, 2011 12:28 pm
by johan
Steven,
In the header of the html I get:
Knipsel.GIF
When I click on the link (arrow) I see :
Knipsel1.GIF
And those files are in css directory.
So that part seems alright.
Johan
Re: Form Tab "Javascript" missing with vanilla.sql installat
Posted: Wed Dec 28, 2011 5:34 am
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
I hope this is what you need to fix it.
Steven
Re: Form Tab "Javascript" missing with vanilla.sql installat
Posted: Wed Dec 28, 2011 9:22 am
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