Open GoogleCodeExporter opened 9 years ago
can be ugly fixed by editing the .htaccess file magento/app/.htaccess and set
it from
Deny from all
to
Allow from all
this can be done more secure if you just copy the .htaccess file into your
openerp-synchro directory. And rewrite the rule like descripted above.
but the next trap follows up:
Traceback (most recent call last):
File "/usr/lib/tinyerp-server/netsvc.py", line 202, in _dispatch
r=m(*params)
File "/usr/lib/tinyerp-server/service/web_services.py", line 422, in execute
return self._execute(db, uid, wiz_id, datas, action, context)
File "/usr/lib/tinyerp-server/service/web_services.py", line 402, in _execute
return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
File "/usr/lib/tinyerp-server/wizard/__init__.py", line 160, in execute
res = self.execute_cr(cr, uid, data, state, context)
File "/usr/lib/tinyerp-server/wizard/__init__.py", line 75, in execute_cr
action_res = action(self, cr, uid, data, context)
File
"/usr/lib/tinyerp-server/addons/magento_openerp_smile.zip/magento_openerp_smile/
wizard/magento_product_synchronize.py",
line 117, in _do_export
updated_magento_id = server.product_sync([webproduct])
File "/usr/lib/python2.5/xmlrpclib.py", line 1147, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.5/xmlrpclib.py", line 1437, in __request
verbose=self.__verbose
File "/usr/lib/python2.5/xmlrpclib.py", line 1201, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib/python2.5/xmlrpclib.py", line 1340, in _parse_response
return u.close()
File "/usr/lib/python2.5/xmlrpclib.py", line 787, in close
raise Fault(**self._stack[0])
Fault: <Fault 620: 'Method "product_sync" does not exist'>
Original comment by esync...@googlemail.com
on 29 Nov 2008 at 12:50
after fixing some includes in the openerp-synchro.php file OpenERP gets allways
in
the logfiles:
Sat, 29 Nov 2008 14:20:22 ERROR:Magento Export:product ID 1 has error !
Error junk after document element: line 2, column 0
Sat, 29 Nov 2008 14:20:25 ERROR:Magento Export:product ID 2 has error !
Error junk after document element: line 2, column 0
Sat, 29 Nov 2008 14:20:28 ERROR:Magento Export:product ID 3 has error !
Error junk after document element: line 2, column 0
and import nothing (cause every element themes to fail) :/
Original comment by esync...@googlemail.com
on 29 Nov 2008 at 1:30
Please tell us what is in your Magento logs (inside the Magento extension).
Original comment by rva...@gmail.com
on 4 Dec 2008 at 11:16
Original issue reported on code.google.com by
esync...@googlemail.com
on 26 Nov 2008 at 12:14