简体   繁体   中英

Problem with moving opencart website to new domain/server

Hi i moved my opencart website to new domain and theres huge problem i cant seem to figure out, i cant see any images, and i cant see translations on a lot of text.

Website is using template.

I did all the steps correctly:

  1. export database
  2. import to new database
  3. changed configuration in config.php and admin/confing.php to new database
  4. uploaded files to new server

Site is running on new domain but i cant see any images, and i cant see translations on a lot of text.

This is new domain: https://ecogreenbags.eu/

This is old one so you can see how it should look like: https://green-bags.sk/

Database is obviously running because all products are there, i can enter admininstration, all orders are there and everything, just not images and that text. I doublechecked if there is uploaded the language folders with that translations, everything is there, FTP is EXACT CLONE of old one except changed config.php files

I have no idea where is the problem. Any ideas ? Thanks a lot

Please confirm to recheck following two variable value is correct in both config file. \\config.php and \\admin\\config.php

define('DIR_IMAGE', '/home/example/public_html/opencart/image/');
define('DIR_LANGUAGE', '/home/example/public_html/opencart/catalog/language/');

you may double check your correct document root path in server. Get correct doucment root path by echo following in config file.

echo $_SERVER["DOCUMENT_ROOT"];

Double check your config.php files both in root of site and folder admin. Its most likely to be a typo in the config.php in the absolute path to images.

May also be worth checking the file permissions\\ownership of the image folder\\files.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM