Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

Cant make Afm work after changeing server

11-26-2008, 02:47 PM
# 1 (permalink)
smsperty
hi

I have changed server recently and having some troubles making Afm work.
When i go to Afm from the back It looks like afm is not anymore there, just rite com_afm and nothing else.
I uninstalled it and tred to install it again and I have this error:

Code:

SQL Error DB function failed with error number 1062
Duplicate entry 1 for key 1 SQL=INSERT INTO `jos_afm_config` (`id`, `setting_name`, `setting_value`) VALUES (1, files.uploaddir, download);
SQL =

INSERT INTO `jos_afm_config` (`id`, `setting_name`, `setting_value`) VALUES (1, files.uploaddir, download)
I m not really good in database. Any one can tell me what to do?
My jos_Afm_config looks like this

Thanx in advance!
11-26-2008, 02:58 PM
# 3 (permalink)
smsperty
Download component
Adeptus file manager
11-26-2008, 03:03 PM
# 4 (permalink)
neo
never used it , but mysql duplicated entry means that you are trying to populate table with existing values with wrong mysql command, you should use drop table if exist if you want to replace the existing values. I assume you are transferring DB , when exporting old DB check the checkbox where it says
Add DROP TABLE / VIEW / PROCEDURE / FUNCTION and than you can import in new DB

PLEASE BACK UP!!
11-27-2008, 04:59 PM
# 5 (permalink)
smsperty
Thanx neo for all ur support,
I am doing it now.
As I told I never did it before any time I had problem with db a frind of mine did it for me.
I went there checked aal the boxes then drop table.
Can you tell me please in details what should i exactly do?

Thanx!
11-27-2008, 05:27 PM
# 6 (permalink)
smsperty
it worked i just dropped the table
installed the component and it got installed
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

Members Login

Username
Password