GithubHelp home page GithubHelp logo

mooha's People

Stargazers

 avatar

mooha's Issues

Incomplete handling of the Type meta element in updates from the client

The SyncML Sync Protocol specification 1.0.1, in section 5.2, says:

The Type element of the MetaInf DTD MUST be included in the Meta element to 
indicate the type of the data item (E.g., MIME type). The Meta element inside 
an operation or inside an item can be used.

The attached patch makes Mooha look inside the Meta->Type element of the 
operation in addition to the Meta->Type element of the item and adds a default 
of "text/plain" according to the Meta information spec.

Original issue reported on code.google.com by [email protected] on 31 Aug 2010 at 2:29

Attachments:

Content Length in Header is 0

What steps will reproduce the problem?
1. Requesting the Server

What is the expected output? What do you see instead?
Headers content lenth > 0. 
Header sends content length = 0.


What version of the product are you using? On what operating system?
0.1

Please provide any additional information below.

In
class MoohaServerSimple extends MoohaServer implements 
MoohaServerSimpleInterface {
  // implement a new public method
  public function process(){
    $this->request();
    $this->headers();
    $this->response();
    return $this->getOutput();
  }
}

The order of excecution
 $this->headers();
 $this->response();

is wrong. Sould be:
    $this->response();
    $this->headers();

because setting the content length in header() depends on the generated 
response output.

Original issue reported on code.google.com by [email protected] on 2 Mar 2010 at 2:36

in funambol client, clientId is a string

if using funambol client sync with mooha server 0.2b,clientId is a string
started with 00000000, on line 831, compare this clientId with 0,result
will be true and it can detect serverside deleted items.


Original issue reported on code.google.com by [email protected] on 16 Mar 2010 at 4:01

no authorisation on 6230i

What steps will reproduce the problem?
1. Setup Nokia 6230i to sync with mooha server, left default password and 
chosen to sync contacts (it will do when selected calendar and notes as well)

What is the expected output? What do you see instead?
After trying to sync I will get "no authorisation" and then report after sync 
finished "contacs:failed".


What version of the product are you using? On what operating system?
It doing the same with current version

Installed on debian old-stable, with lighttpd as web server, connected to MySQL 
database on different server which should be running MySQL  4.1.22 or 5.1.42. 
PHP is 5.2.6-1+lenny9 installed as fastCGI with hardened patch and with zend 
optimizer 3.3.9 and xcache 1.2.2

I tried current version, then I downloaded SVN, then I tried to return the 
"stripos" patch what was made in r41 for Nokia6230i and then removed in r42, 
never any change, I installed WBXML and with internal or external the result is 
the same. Error logs of the web server and the mooha server are empty. Then I 
added dataloging metioned somewhere here, so now I have "data" folder full of 
xmls client* and server* so I don't know if should post them here, or send them 
more privately somewhere to email.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 19 May 2011 at 1:50

Null size for error.log

What steps will reproduce the problem?
1. Install 0.3b version on a server
2. Connect on the server with a bad id

What is the expected output? What do you see instead?
I expect some error information in "error.log", but he has a null size. By the 
way, "mooha.log" contains informations.

What version of the product are you using? On what operating system?
0.3b on a synology server (linux)

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 30 Aug 2010 at 3:48

sync with funambol outlook client, it only send it's MaxMsgSize in it's MsgID 1

What steps will reproduce the problem?
1. sync with funambol outlook client
2. the funambol outlook client only send it's MaxMsgSize in it's MsgID 1
3. if server send it's modify that more than client can receive, on line
905, server side compare with current client Msg's MaxMsgSize and now
client never send it's MaxMsgSize, it will occur error.

What is the expected output? What do you see instead?
it should save client's MaxMsgSize.

What version of the product are you using? On what operating system?
version 2.1b

Original issue reported on code.google.com by [email protected] on 19 Apr 2010 at 6:31

Server needs Over The Air (OTA) config settings.

This is a very awesome project, let me say that first.

But there are two things that it needs to flourish:

1. A Web Interface
2. OTA configuration for devices

Please provide any additional information below.

1. Web UI - It took me half an hour to finally get everything set up in
such a way that I could see that the error.log had "input is empty" as the
issue. I just kept tweaking and refreshing, expecting to see something. As
it stands now, I'm still unsure how to put data into the DB so that the
server will sync it up. But I'm sure I'll figure it out. But a web UI as
nice as your home page would be really helpful. Even having the error log
output to screen would be nice.

2. OTA - I may be in a small minority, but the whole reason I've been
researching and looking for a SyncML server exactly like this one is to
offer the pitiful few (such as myself) the option of syncing their
dumb-phones to the calendar database. Most users have either iphones (no
SyncML and none needed), or Android (same deal, mostly), or Blackberrys. I
have a Nokia 5310 which requires the syncML server (such as OVI) to send
the syncML profile to the device (also, see GooSync).

Not only is this a VERY huge setback in my ability to follow the simple
steps on testing your server (and actually, finally, having a solution to
my own problem), it's also inconvenient for the very small margin of users
who own SyncML-only devices who CAN actually set theirs up manually. It
would be lifesaving for me,and so much easier for everyone if they could
simply click a "Sync Calendar with SyncML" button on the calendar site and
enter their phone number and be done.

Again, great work! I hope the last gap finally gets filled to make my work
calendar finally work for me.

Original issue reported on code.google.com by [email protected] on 19 Apr 2010 at 3:42

Request is empty in MoohaServer.php on line 284

What steps will reproduce the problem?
1. Setup up Mooha
2. Try to connect via Funambol/4mypal Syncclients
3. -> error

What is the expected output? What do you see instead?
expected: starting to sync
instad in error.log:
PHP Fatal error:  SyncmlException: Request is empty in 
/var/www/mooha/inc/MoohaServer.php on line 284
 in /var/www/mooha/config.php on line 58

What version of the product are you using? On what operating system?
Server: apache2/mysql5.1/php5 on ubuntu 10.04 root
Clients: FunambolAddon for Thunderbird / Funambol & 4mypals Apps on Android 
2.2.1

Please provide any additional information below.
Thunderbird plugin shows error-code 2052 (nothing more)
It's always the same error - using the external wbxml - with internal i get the 
same like in issue 14 (so using this is no option)

Original issue reported on code.google.com by [email protected] on 9 Feb 2011 at 7:20

500 Internal server error

What steps will reproduce the problem?
1. Sync with mysql server 5.5

What is the expected output? What do you see instead?

Fatal error: SyncmlException: Mysql query error: Incorrect integer value: '' 
for column 'item_id' at row 1
 query was: INSERT INTO mooha_items VALUES(4, '', "1308694305", "text/x-vcard", "2.1", "BEGIN:VCARD\nVERSION:2.1\nREV:20101215T135158Z\nN:John ;Rossi;;;\nTEL;CELL:+393201234\nX-CLASS:private\nEND:VCARD\n", 0) in D:\my\www\default\nsync\mooha\inc\MoohaServer.php on line 158
 in D:\my\www\default\nsync\mooha\config.php on line 58


What version of the product are you using? On what operating system?
Downloaded via SVN 22/jun/2011

Please provide any additional information below.
According to mysql documentation 
(http://dev.mysql.com/doc/refman/5.0/en/example-auto-increment.html), the 
insert on an auto_increment field should be done with NULL or 0. Maybe you 
should change the line 605 of MoohaServer.php

$query = 'INSERT INTO %1$smooha_items VALUES(%2$d, \'\', "%3$s", "%4$s", 
"%5$s", "%6$s", 0)';

with

$query = 'INSERT INTO %1$smooha_items VALUES(%2$d, NULL, "%3$s", "%4$s", 
"%5$s", "%6$s", 0)';



Original issue reported on code.google.com by [email protected] on 21 Jun 2011 at 10:30

Error on sync

Hi,

I'm trying to use Mooha on a FreeBSD Server with PHP5.3, MySQL 5.1 and
Lighttpd 1.4.26.

Installation is easy and so far there were no problems. But when I try to
sync my addressbook from thunderbird through Funambol-Addon with Mooha I'm
getting PHP-Errors.

It says:

PHP Warning:  file_put_contents(): Filename cannot be empty in
/path/to/weberserver/sync/inc/WbxmlHelper.php on line 164
PHP Warning:  unlink(): No such file or directory in
/path/to/weberserver/sync/inc/WbxmlHelper.php on line 169
PHP Fatal error:  SyncmlException: Request is empty in
/path/to/weberserversync/inc/MoohaServer.php on line 306
 in /path/to/weberserver/sync/config.php on line 58

Any ideas?

Original issue reported on code.google.com by [email protected] on 18 Apr 2010 at 1:39

Outlook subfolders - mooha sends wrong path

With Server 2.0b and Funambol-Client 8.0.5 can't sync Outlooks 
contact-subfolders (e.g. Kontakte/Privat). mooha does not return the correct 
path. The path should be "Kontakte/Privat" but is "KontaktePrivat". As far as I 
can see in the code, mysql-results are treated by some preg_replace-statements. 
I think there is something going wrong...

At present I'm not able to test 3.0b, maybe this bug is already fixed.

NB: It would be easier to check bugs with a version-number given in the head of 
each page...

Thank you a lot.

Original issue reported on code.google.com by [email protected] on 10 Aug 2010 at 10:31

excess doesnt work

hi when i sinchronize large amounts of calendar events
it works fine on android or other phones
but there are fev phones, like nokia E52,E5,C5 that it doesnt work
it breaks apart message becouse of excess and then sends first part, btu when 
phone requests second time it doesnt give other parts
what can be wrong?

can give logs dumps or whatever u need

Original issue reported on code.google.com by eras.tk on 19 May 2011 at 11:48

Slow sync not supported?

The webpage and wiki claim that slow sync is supported, but it seems this isn't 
really the case? The following happened for me:

 1. A syncml connection was established.
 2. The client did an Alert with code 200, requesting a normal sync.
 3. The server did an alert with code 201, requesting slow sync (I think because of some anchor mismatch).
 4. The client sends all of its contacts using "Add" commands.
 5. The server duplicates all of the contacts.

This is not how a slow sync is supposed to work, I think? I'm not 100% sure, 
because the SyncML protocol specification seems to only specify how to start a 
slow sync, not how it actually works.

The duplicate items are also linked to the same client_item_id in the mooha_map 
table, which also shouldn't happen, I think. Looking at the _clientSync 
function, which should be handling the slow sync case, I can't find any code 
that actually handles this.

What's up with this?

Original issue reported on code.google.com by [email protected] on 6 Sep 2010 at 3:07

The way of storing the Vcard

Guys, forst of all, great app and A Happy New Year!

I have looked at the code and it's a great application you have created but I 
have something to ask about it.

At this moment the Vcard is stored in a textfield/blob, the way a vcard is 
known in format.

The issue with this is that it's not easy to change the lines that are in it 
from another application. I mean, when you write a frontend for your 
addressbook, you need to explode the lines and do some magic with it. 

I have checked some other application and most of them just store the 
vcard-fields as fields in the DB.

This is actually a good idea because when you, for an example, use the Funambol 
client, it will add it's own vCard extensions that are not validated for the 
usage of a Vcard. Because every client can do this randomly by his own 
thoughts, you can can get quite a mess in your vcards.

I have the idea that the whole app has to be rewritten to use seperate columns, 
but I think this should be the most clean way.

Please respond!

Keep up the good work ;)

Original issue reported on code.google.com by [email protected] on 1 Jan 2011 at 10:49

SyncmlException: Cannot decode WBXML

PHP 5.1


[05-Jul-2010 15:08:33] PHP Fatal error:  SyncmlException: Cannot decode WBXML 
in /opt/ma/mooha/inc/WbxmlHelper.php on line 66
...SyncmlException: Source (input) is empty in 
/opt/ma/mooha/inc/WbxmlHelper.php on line 56
 in /opt/ma/mooha/config.php on line 58

Original issue reported on code.google.com by [email protected] on 5 Jul 2010 at 7:11

Wrong anchor sent to client

When using mooha with SyncEvolution, SyncEvolution switches to slow sync on the 
second sync attempt, because the Anchor that mooha sends in its "<Last>" tag 
does not match the anchor previously sent in the "<Next>" tag.

This happens (only?) when the first (or at least previous) sync attempt is 
succesful, but no data is sent from the client to Mooha. This causes none of 
the item_anchors to be updated. However, on the next sync, Mooha sends the 
maximum of the item_anchors in the database to the client in the <Last> tag, 
but that does not match the anchor previously sent in the <Next> tag. The 
latter is stored in the server_anchor.

Looking at the code, it seems the following line in MoohaServer.php in 
_buildAlert (around line 1229, but I have some local modifications) is guilty:
                        $alert->Item->Meta->Anchor->addChild('Last', $this->_getDatabseAnchor($_SESSION['moohaUserId'], $dbId));


Changing this to "_getServerAnchor" fixes this particular problem. It also 
seems more logical, to actually use the anchor previously sent in <Next> (which 
was saved to the server_anchor by _saveSync.

Original issue reported on code.google.com by [email protected] on 31 Aug 2010 at 12:25

open_basedir restriction in effect

Error opening in the browser:

Warning: is_executable() [function.is-executable]: open_basedir restriction in 
effect. File(/usr/bin/wbxml2xml) is not within the allowed path(s): 
(/var/www/vhosts/site.ru/httpdocs:/tmp) in 
/var/www/vhosts/site.ru/httpdocs/modules/mooha_server/mooha/inc/WbxmlHelper.php 
on line 101

Warning: is_executable() [function.is-executable]: open_basedir restriction in 
effect. File(/usr/local/bin/wbxml2xml) is not within the allowed path(s): 
(/var/www/vhosts/site.ru/httpdocs:/tmp) in 
/var/www/vhosts/site.ru/httpdocs/modules/mooha_server/mooha/inc/WbxmlHelper.php 
on line 101

Warning: is_executable() [function.is-executable]: open_basedir restriction in 
effect. File(/usr/bin/xml2wbxml) is not within the allowed path(s): 
(/var/www/vhosts/site.ru/httpdocs:/tmp) in 
/var/www/vhosts/site.ru/httpdocs/modules/mooha_server/mooha/inc/WbxmlHelper.php 
on line 101

Warning: is_executable() [function.is-executable]: open_basedir restriction in 
effect. File(/usr/local/bin/xml2wbxml) is not within the allowed path(s): 
(/var/www/vhosts/site.ru/httpdocs:/tmp) in 
/var/www/vhosts/site.ru/httpdocs/modules/mooha_server/mooha/inc/WbxmlHelper.php 
on line 101

Fatal error: SyncmlException: Cannot decode WBXML in 
/var/www/vhosts/site.ru/httpdocs/modules/mooha_server/mooha/inc/WbxmlHelper.php 
on line 66 ...SyncmlException: Source (input) is empty in 
/var/www/vhosts/site.ru/httpdocs/modules/mooha_server/mooha/inc/WbxmlHelper.php 
on line 56 in 
/var/www/vhosts/site.ru/httpdocs/modules/mooha_server/mooha/config.php on line 
58

============================================

Error when connected to syncml:

Invalid Server Response

============================================

files "wbxml2xml" and "xml2wbxml" exist in /usr/bin/

Original issue reported on code.google.com by [email protected] on 8 Jul 2011 at 8:48

Cannot decode WBXML / Source (input) is empty

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Mobile-Device rejects connection.

PHP Fatal error:  SyncmlException: Cannot decode WBXML in 
/volume1/web/mooha/inc/WbxmlHelper.php on line 66
...SyncmlException: Source (input) is empty in 
/volume1/web/mooha/inc/WbxmlHelper.php on line 56
 in /volume1/web/mooha/config.php on line 58


What version of the product are you using? On what operating system?

All running on an Synology DS211j
MySQL 5.1.49
Apache 2.2.22
PHP 5.3.10


Please provide any additional information below.

Trying to connect with Android Samsung Galaxy S2 ICS 4.0.3 via LAN


I tried to find in source-code, but ...

What is
- Cannot decode "WBXML" (what is WBXML? which variable?)
- Source (input) is empty (where does "input" came from?)

Perhaps i will find the error if i know the above mentioned.

Thx

Original issue reported on code.google.com by [email protected] on 17 Apr 2012 at 9:10

can sync contacts,but can't sync calendar

SyncML client: Funambol Pocket PC Sync Client 8.5.1

web error_log:

[06/Jul/2010:13:29:43 +0800] "POST 
/sapi/profile/client?action=get-update-info&component=wmppc&version=8.5.1&format
=properties HTTP/1.1" 404 291

can sync contacts,but can't sync calendar ,client display "Authentication 
failed check username and password"

Original issue reported on code.google.com by [email protected] on 6 Jul 2010 at 5:44

Sync duplicates contacts

What steps will reproduce the problem?
1. First i sync all contacts from iphone to mooha-db (Oneway)
2. Everytime i want to make a 2way-sync, the contacts will be duplicated in 
mooha-db-table (120 contacts, 240 contacts, 360 contacts...)


What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
Linux Debian, iPhone 4, SyncClient: SyncML Lite / Synthesis
mooha-0.3b without libwbxml.


Please provide any additional information below.
When i activated external libwbxml2 i get an error on my iphone (wrong data)


Original issue reported on code.google.com by [email protected] on 21 Jul 2011 at 2:13

Two Way Sync return 407

What steps will reproduce the problem?
1. Sync with Funambol Outlook Client 8.5.4
2. Sync options => Two-Ways => cal [for calendar]
3. After sync i got a error [407]
4. Look in the table mooha_items => the items are imported
5. Sync again with the same data
6. After sync i got no errors
7. Look in the table mooha_items => the items are duplicate imported 
8. Sync again with the same data
9. After sync i got no errors
10. Look in the table mooha_items => the items were duplicate checked and not 
imported again (the same number of item as in step 7)
...
8-10 repeated again and again.


What is the expected output? What do you see instead?
mooho_server_log: 0
outlook_log (only in the first sync):
16:40:06 GMT +1:00 [ERROR] - Server Failure: server returned error code 407
16:40:06 GMT +1:00 [ERROR] - Error in ending sync: Server Failure: server 
returned error code 407
16:40:06 GMT +1:00 [ERROR] - No response from update server
16:40:06 GMT +1:00 [ERROR] - Client update error - uses the stored parameters
16:40:06 GMT +1:00 [ERROR] - update check failed

What version of the product are you using? On what operating system?
Mooha Server 0.3b on debian leeny

Please provide any additional information below.
The strange is that after second sync, i got no more errors and next syncs 
works fine.

Original issue reported on code.google.com by [email protected] on 9 Sep 2010 at 2:56

Errors in Encode.php

Encode.php: class XML_WBXML_Encoder

WITH ERRORS
======================

function writeStringTable($strings, $charset, $stringTable)
    {
        $stringBytes = array();
        $count = 0;
        foreach ($strings as $str) {
            $bytes = $this->_getBytes($str, $charset);
            $stringBytes = array_merge($stringBytes, $bytes);
            $nullLength = $this->_addNullByte($bytes);   // <- ERROR
            $this->_stringTable->set($str, $count);
            $count += count($bytes) + $nullLength;  // <- ERROR
        }

        XML_WBXML::intToMBUInt32($this->_output, count($stringBytes));
        $this->_output .= implode('', $stringBytes);
    }


WITHOUT ERRORS
====================

function writeStringTable($strings, $charset, $stringTable)
    {
        $stringBytes = array();
        $count = 0;
        foreach ($strings as $str) {
            $bytes = $this->_getBytes($str, $charset);
        $nullLength = $this->_addNullByte($bytes);  // <- OK
            $stringBytes = array_merge($stringBytes, $bytes);
            //$nullLength = $this->_addNullByte($bytes);
            $this->_stringTable->set($str, $count);
            //$count += count($bytes) + $nullLength;
        $count += count($bytes);  // <- OK
        }

        XML_WBXML::intToMBUInt32($this->_output, count($stringBytes));
        $this->_output .= implode('', $stringBytes);
    }


Original issue reported on code.google.com by [email protected] on 15 Mar 2010 at 8:26

Wrong database population using NON mobile client

What steps will reproduce the problem?

1 Insert a single appointment in your phone calendar and sync it on a fresh 
mooah installation
2 Look at mooha_time table, fields 'item_type' 'item_type_version' have 
somthing like 'text/x-vcalendar' and '1.0'.
3 Install on your pc syncevolution and run a syncronization using with 
'refresh-from-client' option
4. look at the mooha_item table again, you will notice that 'item_type' 
'item_type_version' fileds are empty
5. Do another syncronization like before. It should overwrite items on db

What is the expected output? What do you see instead?
- Instead of overwriting items, it add them again (for each sync)

What version of the product are you using? On what operating system?
- mooha_server0.3b (standalone) on debian squeeze

Please provide any additional information below.
- I tried to do the samething using outlook funambol client (on mooha server of 
course) and it does the same thing.
- I used nokia n73 for testing and syncevolution 1.1.
- After syncing with syncevolution, mobile sync desn't work anymore (no errors 
on the mobile but not appointments sinced).


Original issue reported on code.google.com by [email protected] on 28 Oct 2010 at 6:59

Errors in MoohaServer.php

WITH ERROR
=====================

public function request($input = '', $contentType = ''){
    $this->input = empty($input) ? file_get_contents('php://input') : $input;
    $contentType = empty($contentType) ? $this->params['contentType'] : $contentType;
    $decodedInput = '';
    // XML
    if ($this->forceFormat == 'XML' || $contentType == 'application/vnd.syncml+xml') {
      $decodedInput = $this->input;
    }
    // WBXML
    else if ($this->forceFormat == 'WBXML' || $contentType == 'application/vnd.syncml+wbxml') { // <- ERROR (On 
Nokia 6230i $contentType = "application/vnd.syncml+wbxml; UTF-8")
      $this->wbxmlHelper = new WbxmlHelper();
      $decodedInput = $this->wbxmlHelper->decode($this->input);
      $this->wbxml = TRUE;
      if (!WBXML_USE_EXTERNAL) { // PHP-based decoder has a bug with CDATA, so we need to overcome this manually
        if (preg_match_all('/\<Data\>(.+?)\<\/Data\>/s', $decodedInput, $matches)) {
          foreach ($matches[1] as $key => $item) {
            if (preg_match('/[^a-zA-Z0-9\*\-\+\/\_\!\.\:\=]/', $item) && @simplexml_load_string($item) === FALSE) 
{
              $matches[1][$key] = '<![CDATA[' . $item . ']]>';
            }
            $matches[1][$key] = '<Data>' . $matches[1][$key] . '</Data>';
          }
          $decodedInput = str_replace($matches[0], $matches[1], $decodedInput);
        }
      }
    }
//....

WITHOUT ERROR
=====================

public function request($input = '', $contentType = ''){
    $this->input = empty($input) ? file_get_contents('php://input') : $input;
    $contentType = empty($contentType) ? $this->params['contentType'] : $contentType;
    $decodedInput = '';
    // XML
    if ($this->forceFormat == 'XML' || $contentType == 'application/vnd.syncml+xml') {
      $decodedInput = $this->input;
    }
    // WBXML
    //else if ($this->forceFormat == 'WBXML' || $contentType == 'application/vnd.syncml+wbxml') { // <- ERROR
else if ($this->forceFormat == 'WBXML' || stripos($contentType, 
'application/vnd.syncml+wbxml') !== FALSE) { // 
<- OK
      $this->wbxmlHelper = new WbxmlHelper();
      $decodedInput = $this->wbxmlHelper->decode($this->input);
      $this->wbxml = TRUE;
      if (!WBXML_USE_EXTERNAL) { // PHP-based decoder has a bug with CDATA, so we need to overcome this manually
        if (preg_match_all('/\<Data\>(.+?)\<\/Data\>/s', $decodedInput, $matches)) {
          foreach ($matches[1] as $key => $item) {
            if (preg_match('/[^a-zA-Z0-9\*\-\+\/\_\!\.\:\=]/', $item) && @simplexml_load_string($item) === FALSE) 
{
              $matches[1][$key] = '<![CDATA[' . $item . ']]>';
            }
            $matches[1][$key] = '<Data>' . $matches[1][$key] . '</Data>';
          }
          $decodedInput = str_replace($matches[0], $matches[1], $decodedInput);
        }
      }
    }
//....

Original issue reported on code.google.com by [email protected] on 17 Mar 2010 at 10:38

iPhone + Funambol = contacts with photo problem

What steps will reproduce the problem?
1. Sync your contacts with photo on the iPhone with Funambol
2. Look at the table mooha_items  
3. contacts with photo are not imported

What is the expected output? What do you see instead?
Even contacts with photo should be imported.

What version of the product are you using? On what operating system?
Mooha Server 0.21b on pc-linux-gnu / PHP 5 / Mysql 5.0.84

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 1 May 2010 at 11:25

PHP 5.3 Fatal Error

I am gatting the folowing error:

PHP Fatal error:  SyncmlException: Cannot decode WBXML in 
C:\Server\htdocs\test\mooha\inc\WbxmlHelper.php on line 66
...SyncmlException: Source (input) is empty in 
C:\Server\htdocs\test\mooha\inc\WbxmlHelper.php on line 56
 in C:\Server\htdocs\test\mooha\config.php on line 58

My server configuration is:
Apache 2.2
Php 5.3.0
MySQL 5.5

I use as client - funambol windows Sync Client 10.0.1

Original issue reported on code.google.com by [email protected] on 26 Mar 2012 at 3:43

mooha.net is no more is this project dead ?

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 20 Sep 2010 at 11:54

Funambol Moz Client + Mooha -> Error 407

What steps will reproduce the problem?
1. Use Funambol Mozilla sync client
2. Launch synchronization
3. Get 'Error: Can't get your account. Please check your server location, 
username or password.'

What version of the product are you using? On what operating system?
Windows XP (same with Arch Linux up to date)
Funambol Mozilla Client (1.0b4+jm-tb6-dev4) on Thunderbird 6.0x with Calendar 
1.0b5
Mooha 0.3b

Please provide any additional information below.
I did a few tests (using a bad user / password / host), and it seems that the 
error is slightly different when the user/password/host is wrong.
A few wiresharking gave me the content of the XML exchanges, I put them as 
attachments (A*.xml are files from my computer ; B*.xml are files from the 
server). I simply removed the real server url from the logs. User and pass are 
set to mooha:mooha for the tests (so you can check the encoding, base64 or md5).
If you want to try things, I can give you (in private mail) the uri to the 
server.
There are datas actually on the server, from a Nokia 5800XM (syncs seems to go 
fine with my phone).

Original issue reported on code.google.com by [email protected] on 10 Sep 2011 at 10:05

Attachments:

Excess

What steps will reproduce the problem?
1. sinchronizing lots of data with never phones
im using nokia E5

some how in responce session excess target is set to dbid so excess doesnt work 
coreclty

 [moohaMsgID] => 3
    [moohaMaxMsgSize] => 8388608
    [moohaMaxObjSize] => 120795955
    [moohaUserId] => 35
    [moohaUserName] => asd
    [moohaDbCache_35_cal] => 1
    [moohaClientAnchor_1] => 20110627T123544Z
    [moohaServerAnchor_1] => 1309178056
    [moohaAlertCode_1] => 201
    [moohaMap_1_1] => 1
    [moohaMap_1_2] => 2
    [moohaMap_1_3] => 3
    [moohaMap_1_4] => 4
    [moohaMap_1_5] => 5
    [moohaMap_1_6] => 6
    [moohaMap_1_7] => 7
    [moohaMap_1_8] => 8
    [moohaMap_1_9] => 9
    [moohaMap_1_10] => 10
    [moohaMap_1_11] => 11
    [moohaMap_1_12] => 12
    [moohaExcess] => Array
        (
            [target] => 1
            [source] => ./C:Calendar
            [item] => Array
                (
                    [id] => 0
                    [content] => 1
                )

            [passed] => Array
                (
                    [0] => 1
                    [1] => 2
                    [2] => 3
                    [3] => 4
                    [4] => 5
                    [5] => 6
                    [6] => 7
                    [7] => 8
                    [8] => 9
                    [9] => 10
                    [10] => 11
                )

        )


Original issue reported on code.google.com by eras.tk on 27 Jun 2011 at 12:42

can't sync, server error

What steps will reproduce the problem?
1. using thunderbird3
2. funambol tb extension from https://mozilla-
plugin.forge.funambol.org/servlets/ProjectDocumentList?
folderID=160&expandFolder=160&folderID=159
3. serverside: ubuntu lucid


[14-Apr-2010 06:44:26] PHP Fatal error:  SyncmlException: Request is 
unreadable in /var/www/mooha_server0.21b/inc/MoohaServer.php on line 293
...SyncmlException: Request XML couldn't be parsed due to some libxml 
errors:
...LIBXML Fatal error 4: Start tag expected, '<' not found on line 1(1)
...input:
No DTD found for /63
 in /var/www/mooha_server0.21b/inc/MoohaServer.php on line 288
 in /var/www/mooha_server0.21b/config.php on line 58
[14-Apr-2010 06:44:26] PHP Stack trace:
[14-Apr-2010 06:44:26] PHP   1. moohaExceptionHandler() 
/var/www/mooha_server0.21b/config.php:0
[14-Apr-2010 06:44:26] PHP   2. trigger_error() 
/var/www/mooha_server0.21b/config.php:58
[14-Apr-2010 06:44:26] PHP Fatal error:  SyncmlException: Request is 
unreadable in /var/www/mooha_server0.21b/inc/MoohaServer.php on line 293

Original issue reported on code.google.com by [email protected] on 14 Apr 2010 at 4:47

How do I add new items to the Mooha database tables

This isn't a bug - but a request for brief instructions / assistance.  (This 
issues page was the only place I could find to add this request)

I am using Mooha on my server.  It is successfully retrieving all of my phone 
calendar items and phonebook items and storing them in the database.  But what 
I now want to do is have some custom PHP code which adds more Calendar items to 
the database tables, so that those items can be sent to my phone during a 
synchronization session.

I have tried adding items to the "mooha_items" table in the database, and also 
tried adding corresponding entries to the "mooha_map" table in the database, 
but haven't had any success.  Does anyone know how to do this?

thanks in advance
Gavin

Original issue reported on code.google.com by [email protected] on 6 Dec 2010 at 3:12

Syncing SMS gives System Error

Hi,

I am using Nokia E72 to sync my contacts and sms with mooha server. I know SMS 
database is not mentioned anywhere in the wiki or docs but I see that something 
related to it is done in MoohaServer.php.

I tried to sync the SMSs and got "System Error".

Not sure if this is a bug or more of a support request 

What steps will reproduce the problem?
1. Use Nokia E-72
2. Sync text messages

What is the expected output? What do you see instead?
The expectation is that SMSs should get transfered to the server


What version of the product are you using? On what operating system?
0.3b, Ubuntu 10.04, PHP - 5.3.2


Original issue reported on code.google.com by [email protected] on 13 Oct 2010 at 8:31

Samsung phone cannot sync width "Decoding failed"

What steps will reproduce the problem?
1. setup a server
2. try to sync with a samsung wave (other samsungs also seem to have problems)
3. you get a "decoding failed" message.

What is the expected output? What do you see instead?
normal sync.
instead, the sync does not work at all.

What version of the product are you using? On what operating system?
v 0.3b under linux

Please provide any additional information below.
it seems that mooha is working OK but samsung phones have problems with other 
sync softwares. this might not be fixable within mooha.

Original issue reported on code.google.com by [email protected] on 14 Dec 2010 at 4:27

I followed all the steps in http://mooha.net/node/21 to try the demo but it failed and said "invalid host address"

What steps will reproduce the problem?
1. Configure handset to try the demo with steps mentioned in 
http://mooha.net/node/21
2.
3.

What is the expected output? What do you see instead?
It should say synchronizing. But it says "Invalid host address"

What version of the product are you using? On what operating system?
I'm using it in Nokia N95

Please provide any additional information below.
I followed all the steps in http://mooha.net/node/21 to try the demo but it 
failed and said "invalid host address".

Original issue reported on code.google.com by [email protected] on 24 Mar 2010 at 6:32

Primary key in mooha_map

What steps will reproduce the problem?
1. Syncing with more than 2 clients 
2.
3.

What version of the product are you using? On what operating system?0.10., 
but the error is also in 0.20 i guess 

Please provide any additional information below.

CREATE TABLE IF NOT EXISTS `mooha_map` (
  `user_id` int(10) unsigned NOT NULL,
  `db_id` int(10) unsigned NOT NULL,
  `client` varchar(256) NOT NULL default '',
  `client_item_id` varchar(128) NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  PRIMARY KEY  (`item_id`)
)

One Item can have more than one mapping. So, item_id should not be primary 
key alone. PRIMARY KEY should be (`item_id`, 'client'). I think this i a 
failure, or are there special intentions behind that?




Original issue reported on code.google.com by [email protected] on 25 Mar 2010 at 2:14

SQL-Errors on MySQL 4.x

What steps will reproduce the problem?
1. MySQL 4.0.16 or 4.1.22 instead of 5.x as server-database

What is the expected output? What do you see instead?

Fatal error: SyncmlException: Mysql query error: Column: 'user_id' in where
clause is ambiguous query was: SELECT client_item_id FROM mooha_map JOIN
mooha_dbs USING(user_id) WHERE user_id = '1' AND db_name = 'contacts' AND
client = 'fol-SFA4MjIwOlRoZWtsYQ==' AND item_id = '3469' in
/wwwroot/htdocs/mooha/inc/MoohaServer.php on line 180 in
/wwwroot/htdocs/mooha/config.php on line 58

What version of the product are you using? On what operating system?
Server 0.21b, PHP 5.x, MySQL 4.x, Clients are Funambol for Outlook
I changed all length of varchar-field in the file mooha.sql to 255, because
a lenght of 256 fails under MySQL 4.x booth on winXP and Linux.

Thank you for any help.

Original issue reported on code.google.com by [email protected] on 15 Apr 2010 at 6:01

Connection Error

What steps will reproduce the problem?
1. Input all CORRECT server username, password and server location
2. SYNC
3. NOTHING

What is the expected output? What do you see instead?

Expect connection

I get nothing... no sync just errors


What version of the product are you using? On what operating system?

0.3b on Windows 7 but on linux web server (standalone)

0.3b will not install properly on Drupal 5


Original issue reported on code.google.com by [email protected] on 5 Sep 2011 at 5:19

HTTP Digest not working

What steps will reproduce the problem?
1. With Apache 2.2.15, Using Custom built client using funambol sdk, try to 
sync using the URL http://<ip:port>/mooha/


What is the expected output? What do you see instead?
In mooha config, I've set auth to MD5.
I'm not sure of this but I don't see HTTP Digest procedures viz 401, 
WWW-Authenticate header in trace. I see 200OK with syncML data having 401.


What version of the product are you using? On what operating system?
mooha_server0.3b on FC12

Please provide any additional information below.

Thanks

Original issue reported on code.google.com by [email protected] on 1 Dec 2010 at 9:04

mysql password with a '/' in it will make mooha fail.

What steps will reproduce the problem?
1. set a MySQL  password with a '/' in it
2. watch error logs
3. try to connect to your server

It provokes : 
  [02-Oct-2011 00:09:52] PHP Notice:  Undefined index: user in /var/www/example.net/mooha/inc/MoohaServer.php on line 127
  [02-Oct-2011 00:09:52] PHP Notice:  Undefined index: pass in /var/www/example.net/mooha/inc/MoohaServer.php on line 128
  [02-Oct-2011 00:09:52] 
  [02-Oct-2011 00:09:52] PHP Warning:  mysql_connect(): Unknown MySQL server host 'mooha' (1) in /var/www/example.net/mooha/inc/MoohaServer.php on line 138


Why ?

in MoohaServer.php parse_url() receives 
"mysql://mooha:mypasswordwitha/inside@localhost/mooha" as an argument but 
outputs nothing cause it gets confused with two many slashes.

Quick fix: remove the slash in the password.

I suppose that same happens inserting ':'  inside password or username. Maybe 
consider using directly username/password/host/db_name from config, without 
concatenating them to a string ($db_url) that will be them exploded into the 
same parts in MoohaServer.php (failing in some cases).

Original issue reported on code.google.com by [email protected] on 1 Oct 2011 at 10:29

Data transfer not possible - Nokia 3720C

What steps will reproduce the problem?
1. Take a Nokia 3720C
2. try to sync from "syncml.kapo.co.at/index.php" Username/Password: mooha
3.

What is the expected output? What do you see instead?
Phones tells me "Data transfer not possible" -> instead i want to sync some 
contacts

What version of the product are you using? On what operating system?
On linux host, SUSE11 -> 

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 11 Jan 2012 at 1:07

sync item_type value missing from nokia 6600

What steps will reproduce the problem?
1. Sync any calendar event from Nokia 6600

What is the expected output? What do you see instead?
mooha_items: item_type and item_type_version should have correct values for 
that item from syncml message.
mooha_items: item_type and item_type_version has no value.

What version of the product are you using? On what operating system?
0.3b php 5.4.3

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 8 Jun 2012 at 1:01

Request XML couldn't be parsed due to some libxml errors

What steps will reproduce the problem?
1. Sync with Nokia E51

What is the expected output? What do you see instead?
Phone: Invalid Serveraddress
Server Error-Log:
[01-Jul-2010 09:00:24] PHP Fatal error:  SyncmlException: Request is unreadable 
in /usr/share/webapps/mooha/inc/MoohaServer.php on line 271
...SyncmlException: Request XML couldn't be parsed due to some libxml errors: 
...LIBXML Fatal error 4: Start tag expected, '<' not found on line 1(1)
...input:
���j in /usr/share/webapps/mooha/inc/MoohaServer.php on line 266
 in /usr/share/webapps/mooha/config.php on line 58 

What version of the product are you using? On what operating system?
mooha 0.3b

Please provide any additional information below.
I changed the forceFormat to XML but the error is the same.

Original issue reported on code.google.com by [email protected] on 1 Jul 2010 at 7:04

SyncEvolution vs. Funambol-Client

What steps will reproduce the problem?
1. Sync Gnome-Evolution client data via SyncEvolution to Mooha-Server
2. Sync Symbian Phone via Funambol-Client or build-in client from Mooha-Server

What is the expected output? What do you see instead?
All data from Gnome-Evolution gets synced to mooha-server - works! On second 
step all data should now get synced over to the phone. But instead no data is 
transmitted. I also tried to sync data from my phone to mooha-server - which 
also works - then deleted data on my phone and afterwards tried to one-way sync 
the server-data back to my phone - again without success.


What version of the product are you using? On what operating system?
Mooha 0.3b
OS: Ubuntu Server 10.04 


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 27 Oct 2010 at 1:06

nokia 6700 error 'Data transfer not possible'

What steps will reproduce the problem?
1. get a nokia 6700
2. try to connect to synchronize

What is the expected output? What do you see instead?
I expected  my phone synchronizing. Instead i get the error 'Data transfer not 
possible'

What version of the product are you using? On what operating system?
mooha 0.3b on PHP 5.3.2

Please provide any additional information below.
I already deeply dived into the source code to see what's going on. For 
debugging i extracted the xml files that are received from my phone 
(input_.xml) and that are send by mooha (output_.xml). Maybe you can see what's 
going wrong.

Original issue reported on code.google.com by [email protected] on 24 Sep 2010 at 6:26

Attachments:

Data transfer not possible

Start Synchronization from Nokia 6500c, Nokia 6700.
Phone view Dialog "Data transfer not possible" and Synchronization stoping.
I am using Standalone MoohaServer 1.02b.


Original issue reported on code.google.com by [email protected] on 15 Mar 2010 at 6:20

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.