• Zdravím Vás

    Potreboval by som radu od skúsenejších ako som ja. Migroval som wordpress stránku s jedného hostingu na drúhý s tým že sa menila aj doména.

    Všetko som spravil podľa návodu s oficiálnej stránky wordpressu.

    Stránka (frontoffice) funguje až na pár detailov správne avšak neviem sa vôbec prihlásiť do adminu. Hlási mi tam chyby typu:

    Warning: file_exists(): open_basedir restriction in effect. File(/home/users/borly/deratizacia-dezinfekcia.6f.sk/web/wp-content/uploads/2015/06) is not within the allowed path(s): (/www/doc/www.deratizacia-dezinfekcia.sk:/disk2/doc/www.deratizacia-dezinfekcia.sk:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.deratizacia-dezinfekcia.sk/www/wp-includes/functions.php on line 1499

    Warning: is_dir(): open_basedir restriction in effect. File(/home/users/borly/deratizacia-dezinfekcia.6f.sk/web/wp-content/uploads/2015) is not within the allowed path(s): (/www/doc/www.deratizacia-dezinfekcia.sk:/disk2/doc/www.deratizacia-dezinfekcia.sk:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.deratizacia-dezinfekcia.sk/www/wp-includes/functions.php on line 1504

    Warning: is_dir(): open_basedir restriction in effect. File(/home/users/borly/deratizacia-dezinfekcia.6f.sk/web/wp-content/uploads) is not within the allowed path(s): (/www/doc/www.deratizacia-dezinfekcia.sk:/disk2/doc/www.deratizacia-dezinfekcia.sk:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.deratizacia-dezinfekcia.sk/www/wp-includes/functions.php on line 1504

    Warning: is_dir(): open_basedir restriction in effect. File(/home/users/borly/deratizacia-dezinfekcia.6f.sk/web/wp-content) is not within the allowed path(s): (/www/doc/www.deratizacia-dezinfekcia.sk:/disk2/doc/www.deratizacia-dezinfekcia.sk:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.deratizacia-dezinfekcia.sk/www/wp-includes/functions.php on line 1504

    Warning: is_dir(): open_basedir restriction in effect. File(/home/users/borly/deratizacia-dezinfekcia.6f.sk/web) is not within the allowed path(s): (/www/doc/www.deratizacia-dezinfekcia.sk:/disk2/doc/www.deratizacia-dezinfekcia.sk:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.deratizacia-dezinfekcia.sk/www/wp-includes/functions.php on line 1504

    Warning: is_dir(): open_basedir restriction in effect. File(/home/users/borly/deratizacia-dezinfekcia.6f.sk) is not within the allowed path(s): (/www/doc/www.deratizacia-dezinfekcia.sk:/disk2/doc/www.deratizacia-dezinfekcia.sk:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.deratizacia-dezinfekcia.sk/www/wp-includes/functions.php on line 1504

    Warning: is_dir(): open_basedir restriction in effect. File(/home/users/borly) is not within the allowed path(s): (/www/doc/www.deratizacia-dezinfekcia.sk:/disk2/doc/www.deratizacia-dezinfekcia.sk:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.deratizacia-dezinfekcia.sk/www/wp-includes/functions.php on line 1504

    Warning: is_dir(): open_basedir restriction in effect. File(/home/users) is not within the allowed path(s): (/www/doc/www.deratizacia-dezinfekcia.sk:/disk2/doc/www.deratizacia-dezinfekcia.sk:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.deratizacia-dezinfekcia.sk/www/wp-includes/functions.php on line 1504

    Warning: is_dir(): open_basedir restriction in effect. File(/home) is not within the allowed path(s): (/www/doc/www.deratizacia-dezinfekcia.sk:/disk2/doc/www.deratizacia-dezinfekcia.sk:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.deratizacia-dezinfekcia.sk/www/wp-includes/functions.php on line 1504

    Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/www/doc/www.deratizacia-dezinfekcia.sk:/disk2/doc/www.deratizacia-dezinfekcia.sk:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.deratizacia-dezinfekcia.sk/www/wp-includes/functions.php on line 1504

    Mám pocit, že to súvisí s tým, že na pôvodnom servery stránka bola v inom priečinku (web) a na novom je to (www)

    A dokonca tam stále ukazuje starú url deratizacia-dezinfekcia.6f.sk namiesto novej deratizacia-dezinfekcia.sk. A pritom som aj v databáze prepísal všetky staré url.

    Už som prešiel desiatky návodov ale nikde o tomto probléme nepíšu. Pomôžte mi prosím.

    Vopred Ďakujem

Zobrazujú sa 2 odpovede - 1 až 2(z celkového počtu 2)
  • Moderátor jurajk

    (@jurajk)

    zda sa ze v si si zle prepisal tu databazu. treba vzdy nahradzat „//example.org“ – tie dve lomky ti zarucia, ze si nerozbijes absolutne cesty.

    pozri aj wp config, ci tam nemas zle definovanu WP_SITEURL a WP_HOME

    Ahoj,

    ak web na starej doméne stále funguje, môžeš ten nový zmazať a presunúť ho pomocou niektorého plug-inu, ktorý je na to určený. Ja používam Duplicator. Je to omnoho rýchlejšie, menej stresujúce a máš menšiu šancu že niečo pokazíš.

Zobrazujú sa 2 odpovede - 1 až 2(z celkového počtu 2)
  • Téma ‘Problém pri migrácii wordpressu na nový hosting aj URL’ uzatvorená pre ďalšie odpovede.