Joomla upgrade 1.7.5 via 2.5.28 to 3.6.5

Phoca Gallery - image gallery extension
jek1978
Phoca Member
Phoca Member
Posts: 22
Joined: 21 Jun 2008, 14:05

Joomla upgrade 1.7.5 via 2.5.28 to 3.6.5

Post by jek1978 »

Good morning and Happy new year!

I had to upgrade a older simple homepage from joomla 1.7.5 via 2.5.28 to 3.6.5. (mainly due to safety)
After upgrade to 2.5.28 i updated all phoca components, plugins etc.
The hompepage worked fine.
Now i upgraded to 3.6.5. Again i updated the phoca files to newest versions.
In the backend everything is fine. Photos and categories are there.
But the homepage gives an error:
http://belgien.ferien-balu.de/

What can i do?

Thank you!

Jens

Tags:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9441
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Joomla upgrade 1.7.5 via 2.5.28 to 3.6.5

Post by Benno »

HI,
der Fehler besagt, dass die Tabelle #__phocagallery_styles fehlt. Die kannst Du manuelle erstellen.
Siehe: http://www.reisefotografien.eu/phoca-be ... bankspalte

Freundliche Grüße,
Benno
jek1978
Phoca Member
Phoca Member
Posts: 22
Joined: 21 Jun 2008, 14:05

Re: Joomla upgrade 1.7.5 via 2.5.28 to 3.6.5

Post by jek1978 »

Hi,
ja. Die Tabelle "__phocagallery_styles" existiert in der Datenbank im phpmyadmin nicht.
Habe dann erst Datenbank gesichert und dann aus der install.utf8.sql den Code Block

Code: Select all

CREATE TABLE IF NOT EXISTS `#__phocagallery_styles` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL DEFAULT '',
  `alias` varchar(255) NOT NULL DEFAULT '',
  `filename` varchar(255) NOT NULL DEFAULT '',
  `menulink` text,
  `type` tinyint(1) NOT NULL DEFAULT '0',
  `published` tinyint(1) NOT NULL DEFAULT '0',
  `checked_out` int(11) unsigned NOT NULL DEFAULT '0',
  `checked_out_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `ordering` int(11) NOT NULL DEFAULT '0',
  `params` text,
  `language` char(7) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) DEFAULT CHARSET=utf8 ;

INSERT INTO `#__phocagallery_styles` (`id`, `title`, `alias`, `filename`, `menulink`, `type`, `published`, `checked_out`, `checked_out_time`, `ordering`, `params`, `language`) VALUES
(1, 'Phocagallery', 'phocagallery', 'phocagallery.css', '', 1, 1, 0, '0000-00-00 00:00:00', 1, NULL, '*'),
(2, 'Rating', '', 'rating.css', NULL, 1, 1, 0, '0000-00-00 00:00:00', 2, NULL, '*'),
(3, 'Default', '', 'default.css', NULL, 2, 1, 0, '0000-00-00 00:00:00', 3, NULL, '*');
über den Reiter SQL im phpmyadmin ausgeführt.

Bekomme nun folgende Meldung:

Code: Select all

SQL-Befehl:

INSERT INTO `#__phocagallery_styles` ( `id` , `title` , `alias` , `filename` , `menulink` , `type` , `published` , `checked_out` , `checked_out_time` , `ordering` , `params` , `language` )
VALUES ( 1, 'Phocagallery', 'phocagallery', 'phocagallery.css', '', 1, 1, 0, '0000-00-00 00:00:00', 1, NULL , '*' ) , ( 2, 'Rating', '', 'rating.css', NULL , 1, 1, 0, '0000-00-00 00:00:00', 2, NULL , '*' ) , ( 3, 'Default', '', 'default.css', NULL , 2, 1, 0, '0000-00-00 00:00:00', 3, NULL , '*' ) ;

MySQL meldet: Dokumentation
#1062 - Duplicate entry '1' for key 'PRIMARY' 
Die fehlende Tabelle gibt es immer nocht nicht.

Was habe ich falsch gemacht?

Danke euch!

Jens
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9441
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Joomla upgrade 1.7.5 via 2.5.28 to 3.6.5

Post by Benno »

Hi,
Was habe ich falsch gemacht?
Ich vermute, Du hast:

Code: Select all

#__phocagallery_styles
nicht in:

Code: Select all

dein-datenbank-präfix_phocagallery_styles
umbenannt.
Die Raute und ein von zwei Unterstrichen sind quasi Platzhalter für Deinen individuellen Datenbank-Präfix.

Vielleicht hilft Dir auch dieser Thread aus einem anderen Forum (ist schon etwas älter, aber das Prinzip ist immer das Selbe):
http://www.joomlaportal.de/joomla-3-x-i ... chbar.html

Freundliche Grüße,
Benno
jek1978
Phoca Member
Phoca Member
Posts: 22
Joined: 21 Jun 2008, 14:05

Re: Joomla upgrade 1.7.5 via 2.5.28 to 3.6.5

Post by jek1978 »

Ja, das war der Fehler.

Vielen Dank!
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9441
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Joomla upgrade 1.7.5 via 2.5.28 to 3.6.5

Post by Benno »

Gerne!

Freundliche Grüße,
Benno
Post Reply