Jump to content

Impossible de se connecter au backend. HTTP error 406 / elFinder 2.1.x source version with php connector


Go to solution Solved by GuillaumeSochon,

Recommended Posts

(edited)

Bonjour la communauté,

j'utilise l'éditeur wyziwyg pour intégrer une image logo pour remplacer le logo initial.

J'ai l'erreur "Impossible de se connecter au backend. HTTP error 406" avec en prime dans la fenêtre popup ce message : elFinder 2.1.x source version with php connector

Savez vous à quoi correspond ce problème ?

Merci d'avance.

Edited by GuillaumeSochon
finish to write
Link to post
  • GuillaumeSochon changed the title to Impossible de se connecter au backend. HTTP error 406 / elFinder 2.1.x source version with php connector

Hello,


Can you look this please /includes/ClicShopping/Conf/ElFinderConfig.php


you must have something like that if you are in localhost

<?php
define('DIR_FS_CATALOG_IMAGES', '/home/www/clicshopping_test/sources/images/');  // path to files (REQUIRED)
define('DIR_WS_CATALOG_IMAGES', '/clicshopping_test/sources/images/'); // URL to files (REQUIRED)

 

 

If not reinstall your application without the Db installation.

Let me know.

Thank you

Link to post

It's not work with

<?php
define('DIR_FS_CATALOG_IMAGES', '/home/sogu7276/shop.headermachine.fr/sources/images/');  // path to files (REQUIRED)
define('DIR_WS_CATALOG_IMAGES', '/home/sogu7276/shop.headermachine.fr/sources/images/'); // URL to files (REQUIRED)

Link to post

Error application when marketplace menu update

 

[21-Aug-2023 14:58:28 America/New_York] PHP Fatal error:  Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'sogu7276_clic746.csfu_marketplace_file_informations' doesn't exist in /home/sogu7276/shop.headermachine.fr/includes/ClicShopping/OM/Db.php:107
Stack trace:
#0 /home/sogu7276/shop.headermachine.fr/includes/ClicShopping/OM/Db.php(107): PDO->exec()
#1 /home/sogu7276/shop.headermachine.fr/includes/ClicShopping/OM/Db.php(406): ClicShopping\OM\Db->exec()
#2 /home/sogu7276/shop.headermachine.fr/includes/ClicShopping/Apps/Tools/Upgrade/Sites/ClicShoppingAdmin/Pages/Home/Actions/Marketplace/UpdateMarketplace.php(29): ClicShopping\OM\Db->delete()
#3 /home/sogu7276/shop.headermachine.fr/includes/ClicShopping/OM/PagesAbstract.php(143): ClicShopping\Apps\Tools\Upgrade\Sites\ClicShoppingAdmin\Pages\Home\Actions\Marketplace\UpdateMarketplace->execute()
#4 /home/sogu7276/shop.headermachine.fr/includes/ClicShopping/OM/PagesAbstract.php(178): ClicShopping\OM\PagesAbstract->runAction()
#5 /home/sogu7276/shop.headermachine.fr/includes/ClicShopping/Sites/ClicShoppingAdmin/ClicShoppingAdmin.php(185): ClicShopping\OM\PagesAbstract->runActions()
#6 /home/sogu7276/shop.headermachine.fr/includes/ClicShopping/OM/CLICSHOPPING.php(128): ClicShopping\Sites\ClicShoppingAdmin\ClicShoppingAdmin->setPage()
#7 /home/sogu7276/shop.headermachine.fr/includes/ClicShopping/OM/CLICSHOPPING.php(109): ClicShopping\OM\CLICSHOPPING::setSite()
#8 /home/sogu7276/shop.headermachine.fr/ClicShoppingAdmin/index.php(24): ClicShopping\OM\CLICSHOPPING::loadSite()
#9 {main}
  thrown in /home/sogu7276/shop.headermachine.fr/includes/ClicShopping/OM/Db.php on line 107

Link to post

Hello,

the database if it's not exist inside your db

 


CREATE TABLE `clic_marketplace_file_informations` (
  `id` int(11) NOT NULL,
  `file_id` int(11) NOT NULL,
  `file_name` varchar(255) DEFAULT NULL,
  `date_created` date DEFAULT NULL,
  `date_updated` date DEFAULT NULL,
  `file_version` varchar(255) DEFAULT NULL,
  `file_downloads` int(11) NOT NULL,
  `file_rating` int(11) NOT NULL,
  `file_prices` decimal(15,4) DEFAULT NULL,
  `file_date_added` date DEFAULT NULL,
  `file_url_screenshot` text DEFAULT NULL,
  `file_url_download` text DEFAULT NULL,
  `is_installed` tinyint(4) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Index pour les tables déchargées
--

--
-- Index pour la table `clic_marketplace_file_informations`
--
ALTER TABLE `clic_marketplace_file_informations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `index_file_id` (`file_id`);

--
-- AUTO_INCREMENT pour les tables déchargées
--

--
-- AUTO_INCREMENT pour la table `clic_marketplace_file_informations`
--
ALTER TABLE `clic_marketplace_file_informations`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

 

Link to post
(edited)

Just a question about Elfinder, the image directory is in 777 and your ClicShopping/Work also ?

look the ClicShopping Example about . DIR_WS_CATALOG_IMAGES . Your approach is different.

Edited by Patrick
Link to post

okay, but it's possible to have more information ?
What is the name of your hosting ?
Do you look your permission images must in 777 and Work also
Try this
 

define('DIR_FS_CATALOG_IMAGES', '/home/sogu7276/shop.headermachine.fr/sources/images/');  // path to files (REQUIRED)
define('DIR_WS_CATALOG_IMAGES', '/sources/images/'); 

 

Link to post
  • Solution

It's run it was because path was not configured

 

<?php
define('DIR_FS_CATALOG_IMAGES', '/home/sogu7276/shop/sources/images/');  // path to files (REQUIRED)
define('DIR_WS_CATALOG_IMAGES', '/sources/images/'); // URL to files (REQUIRED)

 

Thank you very much ! have a good day...

:))

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use