简体   繁体   English

将opencart网站移至新域/服务器的问题

[英]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. 嗨,我将我的opencart网站移到了新域,但似乎无法解决一个巨大的问题,我看不到任何图像,也看不到很多文字的翻译。

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 将config.php和admin / confing.php中的配置更改为新数据库
  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/ 这是新域: https : //ecogreenbags.eu/

This is old one so you can see how it should look like: https://green-bags.sk/ 这是旧的,所以您可以看到它的外观: 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. 数据库显然正在运行,因为所有产品都在那儿,我可以输入admininstration,所有订单都在那儿,所有东西都在其中,而不仅仅是图像和文本。 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 我仔细检查了是否上传了带有该翻译的语言文件夹,所有内容都存在,FTP是旧版本的EXCL CLONE,但更改了config.php文件

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 \\ config.php和\\ 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. 仔细检查站点根目录和文件夹admin中的config.php文件。 Its most likely to be a typo in the config.php in the absolute path to images. 它最有可能是config.php中图像绝对路径中的错字。

May also be worth checking the file permissions\\ownership of the image folder\\files. 可能还值得检查图像文件夹\\文件的文件许可权\\所有权。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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