setup-all

discussion about coding of the JS Client based on ExtJS

setup-all

Postby halfbeep » Tue Nov 17, 2009 2:12 am

I'm trying to run setup on Apache and i get this error below after the login says success, i'm logging on with tine20setup

Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.30618; .NET CLR 3.5.30729)
Timestamp: Tue, 17 Nov 2009 00:09:13 UTC
Message: 'Tine.Tinebase.appMgr' is null or not an object
Line: 1
Char: 229514
Code: 0
URI: http://192.168.0.6/myware/Setup/js/2009 ... tup-all.js
halfbeep
 
Posts: 26
Joined: Wed Nov 04, 2009 3:20 am

Re: setup-all

Postby lkneschke » Tue Nov 17, 2009 7:20 am

Try tp enable login in config.inc.php (you can create the config.inc.php file by hand) and the apache error_log file. In one of these files must be a hint.
Lars Kneschke
Head of Tine 2.0

Visit http://www.tine20.com for commercial support / consulting / development.
Visit http://www.officespot20.com for Tine 2.0 hosting.
User avatar
lkneschke
Tine 2.0 Core Developer
 
Posts: 804
Joined: Tue Nov 06, 2007 7:31 pm
Location: Hamburg, Germany

Re: setup-all

Postby halfbeep » Tue Nov 17, 2009 2:45 pm

Lars, so far the tables in the tine20 database have not been created. The config file is correct (see below), the error is a JS error, so initially the JS dialog box says login successful with tine20setup/setup and then the box hangs with the jS error above


return array(
'database' => array(
'host' => 'localhost',
'dbname' => 'tine20',
'username' => 'root',
'password' => '1234@Me!',
'adapter' => 'pdo_mysql',
'tableprefix' => 'tine20_'
),
'setupuser' => array(
'username' => 'tine20setup',
'password' => 'setup'
),
'login' => array(
'username' => 'tine20admin',
'password' => 'lars'
)

);
halfbeep
 
Posts: 26
Joined: Wed Nov 04, 2009 3:20 am

Re: setup-all

Postby nelius » Tue Nov 17, 2009 5:16 pm

Please take a look into the apaches error_log.

Moreover you can try to delete the config.inc.php so that setup runs w.o. login.
Cornelius Weiss
Tine 2.0 Lead Developer

Visit http://www.tine20.com for commercial support / consulting / development.
Visit http://www.officespot20.com for Tine 2.0 hosting.
User avatar
nelius
Tine 2.0 Core Developer
 
Posts: 796
Joined: Tue Nov 06, 2007 7:25 pm

Re: setup-all

Postby halfbeep » Tue Nov 17, 2009 5:36 pm

ok Cornelius, i will look in the apache log and try setup without login. How does the setup.php script create the tables in MYSQL tine20 without the login and database parameters?
halfbeep
 
Posts: 26
Joined: Wed Nov 04, 2009 3:20 am

Re: setup-all

Postby halfbeep » Thu Nov 19, 2009 1:38 pm

Cornelius and Lars, i have resolved the issue - it was being caused by bad extensions, in particular mcrypt issues on W32 - i have fixed everything by taking your advice, thank you
halfbeep
 
Posts: 26
Joined: Wed Nov 04, 2009 3:20 am

Re: setup-all

Postby lkneschke » Thu Nov 19, 2009 6:07 pm

Nice to know!

Wish you much fun with Tine 2.0.
Lars Kneschke
Head of Tine 2.0

Visit http://www.tine20.com for commercial support / consulting / development.
Visit http://www.officespot20.com for Tine 2.0 hosting.
User avatar
lkneschke
Tine 2.0 Core Developer
 
Posts: 804
Joined: Tue Nov 06, 2007 7:31 pm
Location: Hamburg, Germany


Return to JS Client coding discussion

Who is online

Users browsing this forum: No registered users and 1 guest

'