pasamio / jwcp

Automatically exported from code.google.com/p/jwcp
0 stars 0 forks source link

Can not syncronize #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Fatal error: Cannot access empty property in
/hsphere/local/home/vilhelmk/isotdev.web.surftown.dk/child/administrator/compone
nts/com_wcp/helper.php
on line 1419 

What steps will reproduce the problem?
1. Click Differences
2. Click Syncronise
3.

What is the expected output? What do you see instead?
I expect it to syncronize

What version of the product are you using? On what operating system?
linux, hosted service

Please provide any additional information below.
Standard installation

Original issue reported on code.google.com by vilhe...@gmail.com on 29 Oct 2009 at 4:55

GoogleCodeExporter commented 9 years ago
Whenever I try to synchronize, I get the following error:

Fatal error: Cannot access empty property 
in ...child/administrator/components/com_wcp/helper.php on line 1419

However, everything is working fine, I just go back the page (error page) and 
check 
my child site, it is synchronized.

I really like this extension.  It's very nice.

Original comment by Israel.J...@gmail.com on 9 Nov 2009 at 3:21

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi,

I have the same issue, I try to delete the child and create a new one but I get 
the
same error when syncronice

Original comment by lucas.f....@gmail.com on 11 Mar 2010 at 5:00

GoogleCodeExporter commented 9 years ago
Same for me also, exact same error message as Israel above..

Apache 2.2.x
PHP 5.1.6
MySQL 5.0.77
-Single child instance created with WCP
-Error when trying to synchronize child from adult site

#Here is an excerpt from my error log######
PHP Notice:  Only variable references should be returned by reference in
/xxx/xxxxx/content/staging/administrator/components/com_wcp/helper.php on line 
108,
referer: http://xxxxxx.xxx/staging/administrator/index.php

PHP Notice:  Undefined variable: where in
/xxx/xxxxx/content/staging/libraries/joomla/database/database/mysql.php on line 
582,
referer: http://xxxxxx.xxx/staging/administrator/index.php

PHP Fatal error:  Cannot access empty property in
/xxx/xxxxx/content/staging/administrator/components/com_wcp/helper.php on line 
1419,
referer: http://xxxxxx.xxx/staging/administrator/index.php

Original comment by jeffreyr...@gmail.com on 12 Apr 2010 at 6:54

GoogleCodeExporter commented 9 years ago
Same problem here (the error in line 1419).

I also have an error when trying to revert. Then the error is:
Catchable fatal error: Object of class stdClass could not be converted to 
string in
/root/to/mysite/htdocs/child/administrator/components/com_wcp/helper.php  on 
line 1236.

I have the same site on my local server and on a remote server. In my local 
server,
everything works fine. The problems are in my remote server, so I guess it is
something with the php definitions. But which??

I also noticed that in my local server, in 'differences' page, when I have a new
update - the word 'UPDATE' is in red and I also get the reference to the id of 
the
changed element. In my remote server - no red color and no id reference.

Original comment by emanuel.rosenzweig on 2 Jun 2010 at 2:28

GoogleCodeExporter commented 9 years ago
Hi there,
i've fixed this issue changing the line 1419
in the file ./child/administrator/components/com_wcp/helper.php

from
$db->setQuery("delete from #__log_queries where table_name = '$child_table' and 
value = '" . $master_row->$key . "' and date > '$internal_timer'");

to
$db->setQuery("delete from #__log_queries where table_name = '$child_table' and 
value = '" . $master_row->key . "' and date > '$internal_timer'");

Notice the change from $master_row->$key to $master_row->key

Hope this helps someone,
Massimo

Original comment by rma...@gmail.com on 19 Nov 2010 at 8:11