Jump to content

Instalacia na subdomenu (hlasi chybu Path is not the same)


maweceq

Recommended Posts

Zdravim mam mensi problem ktory neviem ako vyriesit. Instaloval som Prestashop na subdomenu eshop.mojadomena.sk . Na mojom hostingu je struktura pre subdomeny public_html/_subd/eshop/ . Pri logine do administracie mi hlasi chybu:


Nastala 1 chyba

1. Path is not the same between your browser and you server :

- Server:
admin1/login.php

- Browser:
_subd/eshop/admin1/login.php


Da sa to nejako opravit? Dakujem
Link to comment
Share on other sites

Skús zadať do prehliadača adresu http://tvojadomena.sk/shop/admin1 nakoľko k adresáru pristupuješ z vonku cez prehliadač a fyzická adresa Ti je na nič. Môžeš skúsiť aj http://shop.tvojadomena.sk/admin1 keď máš takto ošetrené subdomény v .htacces alebo v nastavení servera.

Adresár subdomény musíš mať zadefinovaný v konfiguračnom súbore ../config/settings.inc.php. Tento si vieš upraviť v textovom editore:

define('__PS_BASE_URI__', '/shop/');

Malo by to potom fungovať. :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...