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

Last questions

Complete Uninstall to Work in J4??
We have recently updated a site from Joomlav3 to v4 (4.4.2). Now when we go to m...
7 Replies
Posted on Tuesday, 30 April 2024
Info about CMigrator for Joomla
Hi i need to import a few thousand articles from a site made in wordprres to a ...
0 Replies
Posted on Tuesday, 07 May 2024
  • New
    • #CMigator
    Error on android phone
    Why its working good on Computer and if i try it with smartphones the map dosent...
    0 Replies
    Posted on Tuesday, 07 May 2024
  • New
  • Bug with front-end submission and table not having
    Hi, i think i found a problem. When trying to edit a hotspot from front-end ...
    3 Replies
    Posted on Wednesday, 15 March 2023
    Question regarding custom fields
    How do I access custom fields after I have created them?...
    1 Replies
    Posted on Wednesday, 24 April 2024
    • #custom fields