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

Upvotes: 0

Views: 951

Answers (2)

code stackflow
code stackflow

Reputation: 91

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"];

Upvotes: 2

Dave
Dave

Reputation: 51

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.

Upvotes: 1

Related Questions