Wednesday, January 31, 2007

Report S3DB bugs

This section is intended for S3DB users to report bugs, inconsistencies or just to give feedback on how to better use and manage S3DB. Just leave your comment with the description of the problem and the URL where your S3DB is installed (if applicable), and we will try to provide you with an answer.

6 comments:

Anonymous said...

error msg when inserting a class or rule. Checked XML structure and it is identicle to the one given in s3db.org. Key is present too, though it complains...

Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Premature end of data in tag notes line 1 in /usr/local/apache2/htdocs/s3db/S3QL.php on line 22

Warning: simplexml_load_string() [function.simplexml-load-string]: ass</insert><where><project_id>116</project_id><entity>IEEE3</entity><notes>from in /usr/local/apache2/htdocs/s3db/S3QL.php on line 22

Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /usr/local/apache2/htdocs/s3db/S3QL.php on line 22

Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Premature end of data in tag where line 1 in /usr/local/apache2/htdocs/s3db/S3QL.php on line 22

Warning: simplexml_load_string() [function.simplexml-load-string]: ass</insert><where><project_id>116</project_id><entity>IEEE3</entity><notes>from in /usr/local/apache2/htdocs/s3db/S3QL.php on line 22

Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /usr/local/apache2/htdocs/s3db/S3QL.php on line 22

Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Premature end of data in tag S3QL line 1 in /usr/local/apache2/htdocs/s3db/S3QL.php on line 22

Warning: simplexml_load_string() [function.simplexml-load-string]: ass</insert><where><project_id>116</project_id><entity>IEEE3</entity><notes>from in /usr/local/apache2/htdocs/s3db/S3QL.php on line 22

Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /usr/local/apache2/htdocs/s3db/S3QL.php on line 22
A Key to enter S3DB is missing.

Anonymous said...

Somehow ... the keys section isn't working ... I dug up the error log and here's what I get:
-------------------------------------
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined variable: target in C:\\www\\webroot\\s3db\\dbstruct.php on line 26, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined variable: key in C:\\www\\webroot\\s3db\\core.header.php on line 37, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: key in C:\\www\\webroot\\s3db\\core.header.php on line 38, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined variable: url in C:\\www\\webroot\\s3db\\core.header.php on line 40, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: url in C:\\www\\webroot\\s3db\\core.header.php on line 41, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: user_id in C:\\www\\webroot\\s3db\\core.header.php on line 41, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Object of class db could not be converted to int in C:\\www\\webroot\\s3db\\core.header.php on line 48, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined variable: resultStr in C:\\www\\webroot\\s3db\\s3dbcore\\URIaction.php on line 87, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: addr1 in C:\\www\\webroot\\s3db\\s3dbcore\\class.db.inc.php on line 377, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: addr2 in C:\\www\\webroot\\s3db\\s3dbcore\\class.db.inc.php on line 377, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: city in C:\\www\\webroot\\s3db\\s3dbcore\\class.db.inc.php on line 377, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: state in C:\\www\\webroot\\s3db\\s3dbcore\\class.db.inc.php on line 377, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: postal_code in C:\\www\\webroot\\s3db\\s3dbcore\\class.db.inc.php on line 377, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: country in C:\\www\\webroot\\s3db\\s3dbcore\\class.db.inc.php on line 377, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: key in C:\\www\\webroot\\s3db\\webActions.php on line 6, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: project_id in C:\\www\\webroot\\s3db\\webActions.php on line 6, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: user_id in C:\\www\\webroot\\s3db\\webActions.php on line 6, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: group_id in C:\\www\\webroot\\s3db\\webActions.php on line 6, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: class_id in C:\\www\\webroot\\s3db\\webActions.php on line 6, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: instance_id in C:\\www\\webroot\\s3db\\webActions.php on line 6, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: statement_id in C:\\www\\webroot\\s3db\\webActions.php on line 6, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: statement_id in C:\\www\\webroot\\s3db\\webActions.php on line 6, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: key in C:\\www\\webroot\\s3db\\webActions.php on line 11, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined variable: args in C:\\www\\webroot\\s3db\\webActions.php on line 13, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: Submit_key in C:\\www\\webroot\\s3db\\access_keys.php on line 27, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: action in C:\\www\\webroot\\s3db\\access_keys.php on line 48, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Warning: Missing argument 2 for delete_expired_keys(), called in C:\\www\\webroot\\s3db\\access_keys.php on line 60 and defined in C:\\www\\webroot\\s3db\\s3dbcore\\delete_entries.php on line 602, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined variable: db in C:\\www\\webroot\\s3db\\s3dbcore\\delete_entries.php on line 610, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[

Anonymous said...

here's the last few lines from the same error log:
-------------------------------------

[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: Submit_key in C:\\www\\webroot\\s3db\\access_keys.php on line 27, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined index: action in C:\\www\\webroot\\s3db\\access_keys.php on line 48, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Warning: Missing argument 2 for delete_expired_keys(), called in C:\\www\\webroot\\s3db\\access_keys.php on line 60 and defined in C:\\www\\webroot\\s3db\\s3dbcore\\delete_entries.php on line 602, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Notice: Undefined variable: db in C:\\www\\webroot\\s3db\\s3dbcore\\delete_entries.php on line 610, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=
[Sat Nov 17 20:19:12 2007] [error] [client 127.0.0.1] PHP Fatal error: Call to a member function query() on a non-object in C:\\www\\webroot\\s3db\\s3dbcore\\delete_entries.php on line 610, referer: http://localhost/s3db/frames/HeaderFrame.php?url=&project_id=&resource_id=

Anonymous said...

setup.php has a default username as 'root' and password as '' ... this is not true for hosted domains ...

paul said...

URL -
http://www.leonidchemicals.net/S3DB/setup.php

Ive got an installation problem with s3db- please help!!! This is the error report that i get when i try and install s3db:http://www.leonidchemicals
Warning: main(/dh/cgi-system/s3dbapi/inc/common_functions.inc.php) [function.main]: failed to open stream: No such file or directory in /home/.meum/leonidchemicals/leonidchemicals.net/S3DB/setup.php on line 25

Warning: main() [function.include]: Failed opening '/dh/cgi-system/s3dbapi/inc/common_functions.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/.meum/leonidchemicals/leonidchemicals.net/S3DB/setup.php on line 25

Warning: main(/dh/cgi-system/s3dbapi/inc/random_values.php) [function.main]: failed to open stream: No such file or directory in /home/.meum/leonidchemicals/leonidchemicals.net/S3DB/setup.php on line 26

Warning: main(/dh/cgi-system/s3dbapi/inc/random_values.php) [function.main]: failed to open stream: No such file or directory in /home/.meum/leonidchemicals/leonidchemicals.net/S3DB/setup.php on line 26

Warning: main() [function.include]: Failed opening '/dh/cgi-system/s3dbapi/inc/random_values.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/.meum/leonidchemicals/leonidchemicals.net/S3DB/setup.php on line 26

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/.meum/leonidchemicals/leonidchemicals.net/S3DB/setup.php:25) in /home/.meum/leonidchemicals/leonidchemicals.net/S3DB/setup.php on line 29

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/.meum/leonidchemicals/leonidchemicals.net/S3DB/setup.php:25) in /home/.meum/leonidchemicals/leonidchemicals.net/S3DB/setup.php on line 29

Fatal error: Call to undefined function: createobject() in /home/.meum/leonidchemicals/leonidchemicals.net/S3DB/setup.php on line 30

Helena F Deus said...

Paul, your S3DB directory seems to be incomplete - somehow a lot of the required files are not there.

Downloading S3DB and copying into your htdocs should solve your problem.