Install Beta 3.0 Fail page blanche sur le site

  • Posts: 379
  • Thank you received: 13
  • Hikashop Business
7 years 4 months ago #257653

-- HikaShop version -- : 3.0.0
-- Joomla version -- : 3.6.5

Bonjour, j'ai fait une install sur un site copie ( donc pas de panique pour moi ) pour tester c'est page blanche en front end et pareil en back end sur le composant.:(


edit: Désolé je suis pas sur le forum fr

Last edit: 7 years 4 months ago by hikaphil.

Please Log in or Create an account to join the conversation.

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
7 years 4 months ago #257659

Bonjour,

Merci de votre retour. Pourriez-vous réessayer avec les options "error reporting" et "debug" de la configuration Joomla ativées ?
Cela devrait afficher un message d'erreur qui nous aidera à comprendre d'où vient le soucis.

Please Log in or Create an account to join the conversation.

  • Posts: 379
  • Thank you received: 13
  • Hikashop Business
7 years 4 months ago #257662

Bonjour,
Fatal error: Class 'hikashopText' not found in /homepages/xx/xxxxxxxxx/htdocs/xxxxxxxx/plugins/hikashop/mondialrelay/mondialrelay_class.php on line 47

effectivement si je désactive plugin ça refonctionne ...

Last edit: 7 years 4 months ago by hikaphil.

Please Log in or Create an account to join the conversation.

  • Posts: 379
  • Thank you received: 13
  • Hikashop Business
7 years 4 months ago #257665

Re

sur le composant ;

1146 Table 'xxxxxxxx.xxxxxx_hikashop_orderstatus' doesn't exist SQL=SELECT orderstatus.* FROM xxxxx_hikashop_orderstatus AS orderstatus WHERE orderstatus.orderstatus_published = 1 ORDER BY orderstatus.orderstatus_ordering

Last edit: 7 years 4 months ago by hikaphil.

Please Log in or Create an account to join the conversation.

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
7 years 4 months ago #257667

Il va falloir modifier la ligne:
class hikashopMondialrelay extends hikashopText{
en:
class hikashopMondialrelay extends hikashopFieldText{
dans ce fichier pour corriger ce soucis.
Il va falloir que l'on réfléchisse à quoi faire pour ce soucis pour les autres plugins de type de custom field.

Please Log in or Create an account to join the conversation.

  • Posts: 379
  • Thank you received: 13
  • Hikashop Business
7 years 4 months ago #257675

Meme erreur mais avec "hikashopFieldText{ " à la place. :/

Please Log in or Create an account to join the conversation.

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
7 years 4 months ago #257703

Bonjour,

Merci de vous assurer que vous avez bien édité le bon fichier au bon endroit.

Au niveau de la table "orderstatus", vous pouvez faire un "check database" via la configuration d'HikaShop pour réparer et créer la table manquante.

Cordialement,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 379
  • Thank you received: 13
  • Hikashop Business
7 years 4 months ago #257754

Bonjour, oui je confirme avoir bien modifié le bon fichier, ligne 47 je remplace en

class hikashopMondialrelay extends hikashopFieldText{

J'obtiens sur le site lorsque j'ajoute au panier

Unknown column 'cart_currency_id' in 'field list' SQL=INSERT IGNORE INTO `#__hikashop_cart` ( `user_id`,`session_id`,`cart_currency_id`,`cart_params`,`cart_share`,`cart_type`,`cart_current`,`cart_modified` ) VALUES ( '0','ebe6cc3ac6ef2a4ef057e256fb041c92','1','{}','nobody','cart','1','1481783952' )

Partie admin lorsque je vais sur hikashop
1146 Table 'xxxxxxxxx.#__hikashop_orderstatus' doesn't exist SQL=SELECT orderstatus.* FROM #__hikashop_orderstatus AS orderstatus WHERE orderstatus.orderstatus_published = 1 ORDER BY orderstatus.orderstatus_ordering

donc impossible de faire le ""check database" ...

THX

Please Log in or Create an account to join the conversation.

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
7 years 4 months ago #257762

Bonjour,

Il est impossible que vous ayez toujours l'erreur

Fatal error: Class 'hikashopText' not found in /homepages/xx/xxxxxxxxx/htdocs/xxxxxxxx/plugins/hikashop/mondialrelay/mondialrelay_class.php on line 47

si vous changez hikashopText en hikashopFieldText à cet endroit.
Au pire du pire, le message devrait devenir

Fatal error: Class 'hikashopFieldText' not found in /homepages/xx/xxxxxxxxx/htdocs/xxxxxxxx/plugins/hikashop/mondialrelay/mondialrelay_class.php on line 47

Donc si vous avez toujours la même erreur de class not found, c'est que vous ne modifiez pas le bon fichier.

Concernant les autres erreurs, comme dit Jérome, il faudrait faire un "check database".
Allez dans votre PHPMyAdmin et ajoutez la table orderstatus à la main avec ce MySQL:
CREATE TABLE IF NOT EXISTS `#__hikashop_orderstatus` (
	`orderstatus_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
	`orderstatus_namekey` varchar(255) NOT NULL,
	`orderstatus_name` varchar(255) NOT NULL DEFAULT '',
	`orderstatus_description` text NOT NULL,
	`orderstatus_published` tinyint(4) NOT NULL DEFAULT '0',
	`orderstatus_ordering` int(10) unsigned NOT NULL DEFAULT '0',
	`orderstatus_email_params` longtext NOT NULL DEFAULT '',
	`orderstatus_links_params` longtext NOT NULL DEFAULT '',
	PRIMARY KEY (`orderstatus_id`),
	UNIQUE KEY `orderstatus_namekey` (`orderstatus_namekey`)
) ENGINE=MyISAM /*!40100 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci*/;
(n'oubliez pas de changer le #__ par le préfix de vos tables.
Ensuite, allez dans la configuration HikaShop et faites un check database.

The following user(s) said Thank You: hikaphil

Please Log in or Create an account to join the conversation.

  • Posts: 379
  • Thank you received: 13
  • Hikashop Business
7 years 4 months ago #257776

Bonjour, ok ça remarche table rajouté , verif base de données ok !!

Please Log in or Create an account to join the conversation.

  • Posts: 57
  • Thank you received: 1
7 years 2 months ago #260998

Hey

I know it's in French here but couldn't find anything in English...

I have made a copy of a Hikashop Business 2.6.4 site and redesigned it. Then upgraded to Hika 3. The I tried to import orders from 2.6.4 to 3 and got the error :

1146 Table 'xxxxxxxxx.#__hikashop_orderstatus' doesn't exist SQL=SELECT orderstatus.* FROM #__hikashop_orderstatus AS orderstatus WHERE orderstatus.orderstatus_published = 1 ORDER BY orderstatus.orderstatus_ordering

I have created the table orderstatus using :

CREATE TABLE IF NOT EXISTS `theret_hikashop_orderstatus` (
	`orderstatus_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
	`orderstatus_namekey` varchar(255) NOT NULL,
	`orderstatus_name` varchar(255) NOT NULL DEFAULT '',
	`orderstatus_description` text NOT NULL,
	`orderstatus_published` tinyint(4) NOT NULL DEFAULT '0',
	`orderstatus_ordering` int(10) unsigned NOT NULL DEFAULT '0',
	`orderstatus_email_params` longtext NOT NULL DEFAULT '',
	`orderstatus_links_params` longtext NOT NULL DEFAULT '',
	PRIMARY KEY (`orderstatus_id`),
	UNIQUE KEY `orderstatus_namekey` (`orderstatus_namekey`)
) ENGINE=MyISAM /*!40100 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci*/;

Now, how to import all the values from 2.6.3 to hika 3?



Thanks

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 379
  • Thank you received: 13
  • Hikashop Business
7 years 2 months ago #261047

hi,
With php-admin you export your database to a sql file, you open your text file and below the structure, you add content ... then you import your new file.

--
-- Structure table `theret_hikashop_orderstatus`
--

CREATE TABLE IF NOT EXISTS `theret_hikashop_orderstatus` (
  `orderstatus_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `orderstatus_namekey` varchar(255) NOT NULL,
  `orderstatus_name` varchar(255) NOT NULL DEFAULT '',
  `orderstatus_description` text NOT NULL,
  `orderstatus_published` tinyint(4) NOT NULL DEFAULT '0',
  `orderstatus_ordering` int(10) unsigned NOT NULL DEFAULT '0',
  `orderstatus_email_params` longtext NOT NULL,
  `orderstatus_links_params` longtext NOT NULL,
  PRIMARY KEY (`orderstatus_id`),
  UNIQUE KEY `orderstatus_namekey` (`orderstatus_namekey`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=10 ;

--
-- Content table `theret_hikashop_orderstatus`
--

INSERT INTO `theret_hikashop_orderstatus` (`orderstatus_id`, `orderstatus_namekey`, `orderstatus_name`, `orderstatus_description`, `orderstatus_published`, `orderstatus_ordering`, `orderstatus_email_params`, `orderstatus_links_params`) VALUES
(1, 'created', 'created', '<p>When a customer finishes a checkout, an order is created with the status created</p>', 1, 1, '', ''),
(2, 'confirmed', 'confirmed', '<p>When the payment is confirmed or that the payment is done at delivery the order becomes confirmed</p>', 1, 3, '', ''),
(3, 'cancelled', 'cancelled', '<p>When an order is cancelled before receiving a payment</p>', 1, 6, '', ''),
(4, 'refunded', 'refunded', '<p>When an order is cancelled after receiving a payment</p>', 1, 7, '', ''),
(5, 'shipped', 'shipped', '<p>When an order has been shipped</p>', 1, 4, '', ''),;

-- --------------------------------------------------------

Please Log in or Create an account to join the conversation.

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
7 years 2 months ago #261050

Hi,

@tariaki
Please DO NOT post several times for the exact same question !
www.hikashop.com/forum/import-export-csv...e-in-hikashop-3.html

@hikaphil
Thanks !

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 57
  • Thank you received: 1
7 years 2 months ago #261053

Hey Jerome,

I am sorry for that. Didn't consider it a duplicate. I opened a thread and later found this one and thought it would be easier to get a response here since the topic was already discussed.

I only found this thread AFTER posting the other one. If there was a way to delete it I would ;)

Thanks and apologies.

The following user(s) said Thank You: Jerome

Please Log in or Create an account to join the conversation.

  • Posts: 118
  • Thank you received: 3
6 years 10 months ago #270967

Bonjour,

Pour info j'ai eu le même soucis en passant de Hikashop business 2.6.3 à la 3.1.1
En cherchant sur le rapport d'erreur, qui m'indique non pas la ligne 47 mais la ligne 40, je suis tombé sur ce topic.

Fatal error: Class 'hikashopText' not found in /var/www/html//xxxxxxxx/plugins/hikashop/mondialrelay/mondialrelay_class.php on line 40

Pour moi le problème se posait lors de l'installation de la version 3.1.1, le com_installer affichait une page blanche dès les première secondes du processus d'installation via archive zip (Joomla a affiché l'erreur quand j'ai augmenté la verbosité du log de mon site de test).

En désactivant le plugin Mondial relay avant de faire l'installation de la 3.1.1 tout se passe bien et l'istallation va a son terme.

Je n'utilise pas ce plugin donc cela ne me gène pas, je vous remonte juste l'info.

Par contre j'utilise la méthode de paiement PayPlug, j'espère ne pas avoir de soucis avec, je n'ai pas encore testé, je ne peux pas le faire depuis l'installation locale sur ma station de développement.

Cordialement

Please Log in or Create an account to join the conversation.

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 10 months ago #270968

Bonjour,

Merci pour votre retour.

Logiquement durant l'installation, les plugins "hikashop" ne doivent pas être chargés ; c'est donc étrange que cela soit le cas.
Mais puisque l'installation via Joomla ne met pas à jour les plugins et c'est à HikaShop de le faire dans le deuxième écran ; j'aurais pensé que le soucis aurait été à ce niveau.
Et en plus de cela, il n'est pas logique que le fichier "mondialrelay_class" soit inclus car cela se fait via un trigger bien précis et ce trigger n'est que dans le front-end, là ou le plugin mondialrelay peut s'afficher.
Donc encore une fois, je suis surpris par la possibilité de cette erreur...

Cordialement,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 118
  • Thank you received: 3
6 years 10 months ago #271139

Petite précision, au cas où cela puisse vous éclairer : J'ai fait la mise à jour d'Hikashop via la gestion d'extensions de Joomla!, je n'ai pas testé la fonction de mise à jour du panneau d'admin d'Hikashop pour le moment.

Cordialement.

Please Log in or Create an account to join the conversation.

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 10 months ago #271147

Bonjour,

Merci pour cette précision.
Cela va nous aiguiller pour nos tests.

Cordialement,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.120 seconds
Powered by Kunena Forum