Jump to content
thirty bees forum

Carlos Minguell

Members
  • Posts

    6
  • Joined

Posts posted by Carlos Minguell

  1. Many thanks Datatrick!

    tb_shop_url was empty. I have deleted it and import the one from the database of a test install and now it has the right values and the front office works.

    Do you know why this table was empty? I mean that I restored the database from 3 diferent backups from a date I'm sure the Web works fine, but it seems that tb_shop_url was not restored correctly even though the restore utility said it was successful 😞

  2. Hi all,

    After upgrade the Redsys payment module and update TB to 1.5.1. The front office doesn't work and this message appears in the backoffice:

    "You are connected with the following domain name ocean-photos.es
    This is different from the domain name specified in the "SEO & URLs" tab. If this is your domain, please change it now."

    But these that area in SEO + URLs is missing! (see image). So I can't change anything there.

    I have checked in the database configuration table but PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL have the right domain.

    As I didn't know where the problem is, I restored Web files and database backups, but the problem is still there!

    Somebody know what is happening here?

    Many thanks!
    Carlos

    image.png.e736a6bd73c277db9bfea1c724e47184.png
     

    configuration table:


    image.png.789d2fa3596f45743e27da425dc6d613.png

  3. I'm sorry for delaying my reply, but I'm out of home and I have limited access to Internet.
    I really apreciate your help!

    Here you have the stacktrace:

    1. classes/Link.php:315 source DispatcherCore->createUrl(arguments)
    2. modules/whatsappchat/whatsappchat.php:675 source LinkCore->getAdminLink(arguments)
    3. classes/Hook.php:769 source WhatsAppChat->hookBackOfficeHeader(arguments)
    4. classes/Hook.php:473 source HookCore::coreCallHook(arguments)
    5. classes/Hook.php:288 source HookCore::execWithoutCache(arguments)
    6. classes/controller/AdminController.php:3934 source HookCore::exec(arguments)
    7. classes/controller/Controller.php:198 source AdminControllerCore->init()
    8. classes/Dispatcher.php:861 source ControllerCore->run()
    9. admin485hmsjqj/index.php:58 source DispatcherCore->dispatch()
     
  4. Many thanks for your advice! I forgot to hide the directory 😞

    This is the error log I get when access to orders or customers:

    Argument 3 passed to DispatcherCore::createUrl() must be of the type array, int given, called in /var/www/vhosts/XXXXX/classes/Link.php on line 315

    file /var/www/vhosts/XXXXX/classes/Dispatcher.php at line 1228

    1209:
    1210:    /**
    1211:     * Create an url from
    1212:     *
    1213:     * @param string $routeId     Name of the route
    1214:     * @param int    $idLang
    1215:     * @param array  $params
    1216:     * @param bool   $forceRoutes
    1217:     * @param string $anchor      Optional anchor to add at the end of this url
    1218:     * @param null   $idShop
    1219:     *
    1220:     * @return string
    1221:     *
    1222:     * @throws PrestaShopException
    1223:     * @internal param bool $use_routes If false, don't use to create this url
    1224:     *
    1225:     * @since    1.0.0
    1226:     * @version  1.0.0 Initial version
    1227:     */
    1228:    public function createUrl($routeId, $idLang = null, array $params = [], $forceRoutes = false, $anchor = '', $idShop = null)
    1229:    {
    1230:        if ($idLang === null) {
    1231:            $idLang = (int) Context::getContext()->language->id;
    1232:        }
    1233:        if ($idShop === null) {
    1234:            $idShop = (int) Context::getContext()->shop->id;
    1235:        }
    1236:
    1237:        if (!isset($this->routes[$idShop])) {
    1238:            $this->loadRoutes($idShop);
  5. Hi there,

    I have updatded to 1.4 this morning. After do it, the frontend looks to works fine (not all... all categories showed as deactivated, I do not know why, but it is easy to activate them again). In the backoffice all seems to work fine, excepting CUSTOMERS and ORDERS: I get a 500 error when I try to enter in orders or customers.

    I have all modules updated, PHP 7.4. In my server log I can see this kind of error:

    2022-12-16 19:14:08 Error 89.131.145.146 500 GET /admin485hmsjqj/index.php?controller=AdminOrders&token=55d174ffa90021e1c671bf99b2a466d3 HTTP/1.0

    Anybody knows what is happening here?

     

    Many thanks and best regards,

    Carlos
     

×
×
  • Create New...