Skocz do zawartości
"Idzie nowe..." - o zmianach i nie tylko ×
Przeniesienie zakupów z IPS Marketplace / Moving bought items from IPS Marketplace ×

Rekomendowane odpowiedzi

Opublikowano

Przeprowadzałem instalację ip Content i w połowie sie zwiesiła. Nie było wyjścia wiec przerwałem, reUp plików i ponowna instalacja. Z tym, że poprzednia zdążyła mi coś dodać do bazy i nowa instalka nie chce iść.

Mowi, że ma zduplikowane wpisy. Proszę o pomoc w wyczyszczeniu bazy tak, aby instalka ruszyła

log z acp:

Date: Fri, 20 Apr 2012 09:56:21 +0000
Error: 1062 - Duplicate entry 'generic_database_view' for key 'template_key'
IP Address: 83.6.45.241 - /admin/upgrade/index.php?app=upgrade§ion=upgrade&do=appclass
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
mySQL query error: INSERT INTO ccs_page_templates (`template_name`,`template_desc`,`template_key`,`template_content`,`template_updated`,`template_position`,`template_category`,`template_database`) VALUES('Database Display','Generic template to view a record in a custom database','generic_database_view','{ccs special_tag=\"navigation\"}\n{parse js_module=\"rating\"}\n{parse template=\"include_lightbox\" group=\"global\" params=\"\"} \n{parse template=\"include_highlighter\" group=\"global\" params=\"1\"}\n\n<if test=\"$this->memberData[\'member_id\']\">\n		{$data[\'follow_data\']}\n</if>\n\n<if test=\"$data[\'database\'][\'database_rate\']\">\n		<span class=\'rating ipsType_smaller ipsPad_top_half right clear\'>\n				<if test=\"$data[\'database\'][\'_can_rate\']\">\n						<a href=\'#\' id=\'article_rate_1\' title=\'{$this->lang->words[\'top_js_1star\']}\'>\n				</if>\n				<if test=\"rate1:|:$data[\'record\'][\'rating_real\'] >= 1\">\n						{parse replacement=\"rate_on\"}\n				<else />\n						{parse replacement=\"rate_off\"}\n				</if>\n				<if test=\"$data[\'database\'][\'_can_rate\']\">\n						</a><a href=\'#\' id=\'article_rate_2\' title=\'{$this->lang->words[\'top_js_2star\']}\'>\n				</if>\n				<if test=\"rate2:|:$data[\'record\'][\'rating_real\'] >= 2\">\n						{parse replacement=\"rate_on\"}\n				<else />\n						{parse replacement=\"rate_off\"}\n				</if>\n				<if test=\"$data[\'database\'][\'_can_rate\']\">\n						</a><a href=\'#\' id=\'article_rate_3\' title=\'{$this->lang->words[\'top_js_3star\']}\'>\n				</if>\n				<if test=\"rate3:|:$data[\'record\'][\'rating_real\'] >= 3\">\n						{parse replacement=\"rate_on\"}\n				<else />\n						{parse replacement=\"rate_off\"}\n				</if>\n				<if test=\"$data[\'database\'][\'_can_rate\']\">\n						</a><a href=\'#\' id=\'article_rate_4\' title=\'{$this->lang->words[\'top_js_4star\']}\'>\n				</if>\n				<if test=\"rate4:|:$data[\'record\'][\'rating_real\'] >= 4\">\n						{parse replacement=\"rate_on\"}\n				<else />\n						{parse replacement=\"rate_off\"}\n				</if>\n				<if test=\"$data[\'database\'][\'_can_rate\']\">\n						</a><a href=\'#\' id=\'article_rate_5\' title=\'{$this->lang->words[\'top_js_5star\']}\'>\n				</if>\n				<if test=\"rate5:|:$data[\'record\'][\'rating_real\'] >= 5\">\n						{parse replacement=\"rate_on\"}\n				<else />\n						{parse replacement=\"rate_off\"}\n				</if>\n				<if test=\"$data[\'database\'][\'_can_rate\']\">\n						</a>\n						<script type=\'text/javascript\'>\n										rating = new ipb.rating( \'article_rate_\', { \n																				url: ipb.vars[\'base_url\'] + \'app=ccs&module=ajax&section=rate&id={$data[\'database\'][\'database_id\']}&record={$data[\'record\'][\'primary_id_field\']}&md5check=\' + ipb.vars[\'secure_hash\'],\n																				cur_rating: <if test=\"isset($data[\'record\'][\'rating_real\'])\">{$data[\'record\'][\'rating_real\']}<else />0</if>,\n																				rated: null,\n																				allow_rate: <if test=\"$data[\'database\'][\'_can_rate\']\">1<else />0</if>,\n																				show_rate_text: false\n																		  } );\n						</script>\n				</if>\n		</span>\n</if>\n<h1 class=\'ipsType_pagetitle\'>\n		<if test=\"$data[\'record\'][\'record_approved\'] == 0\">\n				<span class=\'ipsBadge ipsBadge_orange\'>{$this->lang->words[\'f_queued_badge\']}</span>\n		<else />\n				<if test=\"$data[\'record\'][\'record_approved\'] == -1\">\n						<span class=\'ipsBadge ipsBadge_orange\'>{$this->lang->words[\'f_deleted_badge\']}</span>\n				</if>\n		</if>\n		{$data[\'record\'][$data[\'database\'][\'database_field_title\'] . \'_value\' ]}\n</h1>\n<div class=\'desc lighter blend_links\'>\n		{$this->lang->words[\'submitted_record\']} {parse template=\"userHoverCard\" group=\"global\" params=\"$data[\'record\']\"}, {parse date=\"$data[\'record\'][\'record_saved\']\" format=\"SHORT\"} | {$this->lang->words[\'last_updated_record\']} {parse date=\"$data[\'record\'][\'record_updated\']\" format=\"SHORT\"}\n</div>\n<if test=\"hasTags:|:is_array($data[\'record\'][\'tags\'])\">\n		{$data[\'record\'][\'tags\'][\'formatted\'][\'parsedWithoutComma\']}\n</if>\n<br />\n\n<div class=\"ipsBox\">\n		<div class=\"ipsBox_container ipsPad ipsType_textblock\">\n				{$data[\'record\'][$data[\'database\'][\'database_field_content\'] . \'_value\' ]}\n				{parse template=\"repButtons\" group=\"global_other\" params=\"$data[\'record\'], array_merge( array( \'primaryId\' => $data[\'record\'][\'primary_id_field\'], \'domLikeStripId\' => \'like_post_\' . $data[\'record\'][\'primary_id_field\'], \'domCountId\' => \'rep_post_\' . $data[\'record\'][\'primary_id_field\'], \'app\' => \'ccs\', \'type\' => \'record_id_\' . $data[\'database\'][\'database_id\'], \'likeFormatted\' => $data[\'record\'][\'like\'][\'formatted\'] ), $data[\'record\'] )\"}\n				<br />\n				\n				<foreach loop=\"$data[\'fields\'] as $field\">\n						<if test=\"$field[\'field_type\'] == \'attachments\'\">\n								<div id=\'attach_wrap\' class=\'rounded clearfix\'>\n										<h4>{$field[\'field_name\']}</h4>\n										<br />\n										{$data[\'record\'][\'field_\' . $field[\'field_id\'] . \'_value\']}\n										<br /><br />\n								</div>\n						</if>\n				</foreach>\n				\n				<table class=\'ipb_table\'>\n						<if test=\"count($data[\'fields\'])\">\n								<foreach loop=\"$data[\'fields\'] as $field\">\n										<if test=\"\'field_\'.$field[\'field_id\'] != $data[\'database\'][\'database_field_title\'] and \'field_\'.$field[\'field_id\'] != $data[\'database\'][\'database_field_content\'] and $field[\'field_type\'] != \'attachments\'\">\n												<tr>\n														<td style=\'width: 20%; font-weight: bold; text-align: right; vertical-align: top;\'>{$field[\'field_name\']}:</td>\n														<td>{$data[\'record\'][\'field_\' . $field[\'field_id\'] . \'_value\']}</td>\n												</tr>\n										</if>\n								</foreach>\n						<else />\n								<tr>\n										<td style=\'text-align: center;\'><em>{$this->lang->words[\'record_not_found\']}</em></td>\n								</tr>\n						</if>\n				</table>\n		</div>\n</div>\n\n<div class=\'ipsPad\'>\n		<if test=\"$this->settings[\'sl_enable\']\">\n				<div style=\'float: left\'>\n						{parse template=\"facebookLike\" group=\"ccs_global\" params=\"$data[\'record\'][\'record_link\']\"}\n						{IPSLib::shareLinks( $data[\'record\'][ $data[\'database\'][\'database_field_title\'] . \'_value\' ], array( \'overrideApp\' => \'ccs\' ) )}\n				</div>\n		</if>\n		<if test=\"$this->memberData[\'member_id\']\">\n				<div style=\'float: right\'>\n						<ul class=\'post_controls\'>\n								<if test=\"$data[\'database\'][\'_can_edit\']\">\n										<li><a href=\'{$data[\'record\'][\'record_link\']}do=edit\' title=\'{$this->lang->words[\'edit_record_button\']}\' accesskey=\'s\'>{$this->lang->words[\'edit_record_button\']}</a></li>\n								<else />\n										<li class=\'disabled\'><span>{$this->lang->words[\'edit_record_button_no\']}</span></li>\n								</if>\n																\n								<if test=\"$data[\'record\'][\'record_locked\'] AND $data[\'database\'][\'moderate_unlock\']\">\n										<li><a href=\'{$data[\'record\'][\'record_link\']}do=unlock\' title=\'{$this->lang->words[\'unlock_record\']}\' accesskey=\'l\'>{$this->lang->words[\'unlock_record\']}</a></li>\n								<else />\n										<if test=\"!$data[\'record\'][\'record_locked\'] AND $data[\'database\'][\'moderate_lock\']\">\n												<li><a href=\'{$data[\'record\'][\'record_link\']}do=lock\' title=\'{$this->lang->words[\'lock_record\']}\' accesskey=\'l\'>{$this->lang->words[\'lock_record\']}</a></li>\n										</if>\n								</if>\n								\n								<if test=\"$data[\'database\'][\'moderate_pin\']\">\n										<if test=\"$data[\'record\'][\'record_pinned\']\">\n												<li><a href=\'{$data[\'record\'][\'record_link\']}do=unpin\' title=\'{$this->lang->words[\'unpin_record\']}\'>{$this->lang->words[\'unpin_record\']}</a></li>\n										<else />\n												<li><a href=\'{$data[\'record\'][\'record_link\']}do=pin\' title=\'{$this->lang->words[\'pin_record\']}\'>{$this->lang->words[\'pin_record\']}</a></li>\n										</if>\n								</if>\n								\n								<if test=\"$data[\'database\'][\'moderate_approve\']\">\n										<if test=\"$data[\'record\'][\'record_approved\'] == 0\">\n												<li><a href=\'{$data[\'record\'][\'record_link\']}do=approve\' title=\'{$this->lang->words[\'approve_record\']}\'>{$this->lang->words[\'approve_record\']}</a></li>\n										</if>\n								</if>\n										\n								<if test=\"$data[\'database\'][\'moderate_delete\']\">\n										<li><a href=\'{$data[\'record\'][\'record_link\']}do=delete\' title=\'{$this->lang->words[\'delete_record\']}\'>{$this->lang->words[\'delete_record\']}</a></li>\n\n										<if test=\"$data[\'record\'][\'record_approved\'] == 1\">\n												<li><a href=\'{$data[\'record\'][\'record_link\']}do=unapprove\' title=\'{$this->lang->words[\'unapprove_record\']}\'>{$this->lang->words[\'unapprove_record\']}</a></li>\n										<else />\n												<if test=\"$data[\'record\'][\'record_approved\'] == -1\">\n														<li><a href=\'{$data[\'record\'][\'record_link\']}do=approve\' title=\'{$this->lang->words[\'unhide_record\']}\'>{$this->lang->words[\'unhide_record\']}</a></li>\n												</if>\n										</if>\n								</if>\n\n								<if test=\"$data[\'database\'][\'moderate_restorer\'] AND $data[\'database\'][\'database_revisions\']\">\n										<li><a href=\'{$data[\'record\'][\'record_link\']}do=revisions\' title=\'{$this->lang->words[\'record_revisions\']}\' class=\'right\'>{$this->lang->words[\'record_revisions\']}</a></li>\n								</if>\n\n								<if test=\"$data[\'database\'][\'_can_report\']\">\n										<li class=\'report\'>\n												<a href=\'{parse url=\"app=core&module=reports&rcom=ccs&database={$data[\'database\'][\'database_id\']}&record={$data[\'record\'][\'primary_id_field\']}\" base=\"public\"}\'>{$this->lang->words[\'report_record\']}</a>\n										</li>\n								</if>\n						</ul>\n				</div>\n		</if>\n</div>\n\n<br /><br />\n\n<div id=\'commentsStart\' class=\'ipsBox\'>\n		<div class=\'ipsBox_container ipsPad\'>\n				<h2 class=\'ipsType_subtitle\'>{$data[\'comments\'][\'count\']} {$this->lang->words[\'comment_block\']}</h2>\n				<div class=\'comment_wrap\'>\n						{$data[\'comments\'][\'html\']}\n				</div>\n		</div>\n</div><br />',1334915781,3,23,3)
.--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.
| File																	   | Function																	  | Line No.		  |
|----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------|
| admin/applications_addon/ips/ccs/setup/versions/upg_11000/version_upgrade.php| [db_main_mysql].insert														| 94				|
'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'
| admin/applications_addon/ips/ccs/setup/versions/upg_11000/version_upgrade.php| [version_upgrade]._importDbStuff											  | 44				|
'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'
| admin/setup/applications/upgrade/sections/upgrade.php					  | [version_upgrade].doExecute												   | 403			   |
'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'
| admin/setup/applications/upgrade/sections/upgrade.php					  | [upgrade_upgrade].install_appclass											| 148			   |
'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'
| admin/setup/sources/base/ipsController_setup.php						   | [upgrade_upgrade].doExecute												   | 258			   |
'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'

Opublikowano

Przy instalacji masz opcję Podwojone tabele. Wybierz w niej Usuń oryginalne tabele i nadpisz.

Nasz kolega już siedział za piracką wersję IPB, Ty też możesz
† Będziemy bronić SB po kres naszych sił †
Nie ma bolca na izolca!!!
Tłumaczes Power

Opublikowano (edytowane)

no niebardzo bo:

1 wchodzę w acp > Aplikacje i moduły > Niezainstalowane aplikacje > instaluj

2 przerzuca mnie do http://andriskos.pl/admin/upgrade (Invision Power Board 3.2 Welcome to the upgrade system. This wizard will guide you through the upgrade process.)

3 po zalogowaniu: Invision Power Board 3.2 Welcome to the installer. This wizard will guide you through the upgrade process.

4 wybieram co chce zupgradeowac (z tym, że wcześniej NIE MIAŁEM ip.content) > next

5 kilka razy next next

6 start upgrade

7 po 5sek:

andriskos.pl Driver Error
There appears to be an error with the database.
If you are seeing this page, it means there was a problem communicating with our database. Sometimes this error is temporary and will go away when you refresh the page. Sometimes the error will need to be fixed by an administrator before the site will become accessible again.
You can try to refresh the page by clicking here
«Return to the index

Edytowane przez Obcy
  • 8 miesięcy temu...

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.