Loading...
 
Architecture / Installation

Architecture / Installation


XML error

posts: 15

I'm gettign this error everytime I click on the "my preferences" link.

Undefined index: registrationDate in <b>/var/www/tiki/tiki/lib/userslib.php

Is there something I need to do on the DB? On IE I can not get pass the error..on NN I can see error as well but it show me the page.

I'm running Red Hat 9, Apache, MySQl,

Any help is appreciated,

Draven

posts: 1092

It seems one field is missing in your database. Why???
This field was added in the 1.4 release.
Which tiki release are you using?

If you know how to run a sql command in phpmyadmin for instance
alter table users_users add registrationDate integer(14)

otherwise
download you database, recreate one from scratch with tiki.sql or a new install and load your data

posts: 15

I checked the database, the field is there under users_users table, populated as well.

I'm running 1.9


Any ideas?

- D

posts: 2881 United Kingdom

What version or rather what date of 1.9
1.9 is always changing as its still under heavy development.

I suggest you cvs update or get the very latest code from CVS, then run the 1.8to1.9.sql upgrade script.

posts: 15

Dear Damian,

I'm using "This is Tiki v1.9 RC3 -Sirius- © 2002–2004 by the Tiki community", A.so can you point me on where I can download the script?. I looked for it on google but I couldn't find it.

Any help is appreciated

Draven

posts: 15

Nevermind. I found it. I'll give this a shot.

Draven

posts: 15

I run the script...still getting the same error..

Only one top level element is allowed in an XML document. Error processing resource 'http://204.241.4.178/tiki-user_prefere...

Notice: Undefined index: registrationDate in /var/www/tiki/tiki/lib/userslib.php on ...


Any ideas?

Draven?

posts: 2881 United Kingdom

Is that also with the very latest branch-1-9 code from CVS?

Damian

posts: 15

Hi Damian,

I just copied the new files and I'm still getting the same error..

- Draven

posts: 1092

Do you have the same problem with a new user? only one user?
Perhaps the field in your database is corrupted? If you are handy with a db update, you can try to copy a value in the regsitrationDate of the user.

posts: 15

is on every user. Here what's the field looks like on users_users table.

+------+

| registrationDate |

+------+

| 1096483296 |
| 1096483296 |
| 1096488042 |
| 1096489984 |
| 1096548203 |
| 1096552796 |
| 1096898164 |
| 1097601849 |

+------+


- Draven

posts: 15

Alright..so I turned off "display_errors = off" in my php.ini and that did the trick...it works now..after all it was not an error but a notice, what do you think?

- Draven

posts: 2881 United Kingdom

Thats a nasty way of controlling it :-)

But it depends on how you value your data. The 1.9 code is development and not really fit for production/live sites. Should be ready come December/January.

Damian

posts: 2881 United Kingdom

p.s. download Firefox :-)

We are developing a new banning feature for IE users lol


posts: 15

Alright so I turned off "display_errors = off" on my php.ini and that did the trick....what do you suggest?
after all it was not an error but a "notice".

- Draven