1. Tigran Sargsyan
  2. Installation
  3. Sunday, 02 August 2009
  4.  Subscribe via email
Hello,

I'm trying to install joomlacomment4.0.0beta1 on Jommla 1.5.14 site. Site is hosted locally with xampp. I'm able to install component on Joomla fresh installation however fails with next error messages when trying to install on the site with some other modules,components,plugins already installed.

Component Install: SQL Error. DB function failed with error number 1062
Duplicate entry '0' for key 'PRIMARY' SQL=INSERT INTO `vpo_components` ( `name`,`link`,`menuid`,`parent`,`admin_menu_link`,`admin_menu_alt`,`option`,`ordering`,`admin_menu_img`,`iscore` ) VALUES ( 'Manage Comments','','0','0','option=com_comment&task=comments','Manage Comments','com_comment','0','../includes/js/ThemeOffice/edit.png','0' )
SQL =
INSERT INTO `vpo_components` ( `name`,`link`,`menuid`,`parent`,`admin_menu_link`,`admin_menu_alt`,`option`,`ordering`,`admin_menu_img`,`iscore` ) VALUES ( 'Manage Comments','','0','0','option=com_comment&task=comments','Manage Comments','com_comment','0','../includes/js/ThemeOffice/edit.png','0' )
It was not possible to copy the selected file.
JInstaller::install: Failed to copy file: H:xampphtdocstploy.comtmpinstall_4a757f729b461comment.xml to H:xampphtdocstploy.comadministratorcomponentscom_commentcomment.xml
Component Install: Could not copy setup file

Any idea what can be the reason? When I'm looking on MySQL DB I note it puts the com_comment into jos_component table with ID=0. My local machine is windows, and I've removed read-only flag from all files to be able write.. (site was downloaded from Linux server..)

Thanks,
Tigran
Responses (1)


There are %s replies to this question. If you want to see them you need a valid subscription.
If you have a valid subscription, please login now.
Visit store now
Powered by EasyDiscuss for Joomla!