Moodle version 2.3.3+ PHP 5.3.18 MySQL 5.1.65
After much forum browsing I have "almost" got my moodle site working on the server.
On my local host I have started to develop course categories and sub categories and shortly will start to develop training material to include. Before spending any time on that I want to get the on-line version in line with the local hosted version.
I have uploaded the moodledata directory which includes some css changes I made and both local and remote sites "look" the same. (ynotsailing.com/eCourses)
I used PHPMyadmin to dump a copy of the local database - unzipped as it is relatively small ~1MB. When I tried to import it to the remote site I got the following error message.
SQL query:
-- -- Dumping data for table `mdl_block` -- INSERT INTO `mdl_block` (`id`, `name`, `version`, `cron`, `lastcron`, `visible`) VALUES (1, 'activity_modules', 2012061700, 0, 0, 1), (2, 'admin_bookmarks', 2012061700, 0, 0, 1), (3, 'blog_menu', 2012061700, 0, 0, 1), (4, 'blog_recent', 2012061700, 0, 0, 1), (5, 'blog_tags', 2012061700, 0, 0, 1), (6, 'calendar_month', 2012061700, 0, 0, 1), (7, 'calendar_upcoming', 2012061700, 0, 0, 1), (8, 'comments', 2012061700, 0, 0, 1), (9, 'community', 2012061700, 0, 0, 1), (10, 'completionstatus', 2012061700, 0, 0, 1), (11, 'course_list', 2012061700, 0, 0, 1), (12, 'course_overview', 2012061700, 0, 0, 1), (13, 'course_summary', 2012061700, 0, 0, 1), (14, 'feedback', 2012061700, 0, 0, 0), (15, 'glossary_random', 2012061700, 0, 0, 1), (16, 'html', 2012061700, 0, 0, 1), (17, 'login', 2012061700, 0, 0, 1), (18, 'mentees', 2012061700, 0, 0, 1), (19, 'messages', 2012061700, 0, 0, 1), (20, 'mnet_hosts', 2012061700, 0, 0, 1), (21, 'myprofile', 2012061700, 0, [...]
#1062 - Duplicate entry '1' for key 'PRIMARY'
Any ideas as to what I need to do to fix this? All suggestions welcome.