I've just moved my site to a new host. The domain is also transferred and linked to the new server.
I started creating new category and products in it and they were successfully created but when I try to add images (Products>Image) from newly created folder in the new server, I can't see it. I feel as if the admin panel opens the folders of the old server which is still in operation.
How to update the paths so that to see the new folders?
I started creating new category and products in it and they were successfully created but when I try to add images (Products>Image) from newly created folder in the new server, I can't see it. I feel as if the admin panel opens the folders of the old server which is still in operation.
How to update the paths so that to see the new folders?
If using cPanel check your public_html directory.
If there is no upload folder then look in your home (e.g public_html or www directory)
/public_html/config.php
/public_html/admin/config.php
If there is no upload folder then look in your home (e.g public_html or www directory)
/public_html/config.php
/public_html/admin/config.php
Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!
It would be in your opencart installation directory. Yes, I mean those files, what you posted looks correct.
config.php
and
admin/config.php
For reference you can see the directory structure here.
https://github.com/opencart/opencart/tr ... 2.0/upload
Some people upload the entire upload folder which is why I mentioned that.
config.php
and
admin/config.php
For reference you can see the directory structure here.
https://github.com/opencart/opencart/tr ... 2.0/upload
Some people upload the entire upload folder which is why I mentioned that.
Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!
Check the paths to ensure they match your new web host, you can get this information from your hosting company. If you have already done this then it could be the DNS is still propagating and you are still resolving the old server IP address to your previous host.
You can clear your browser cache or flush the DNS cache on you local machine to sometimes speed it up.
http://docs.opencart.com/en-gb/administ ... ng-server/
You can clear your browser cache or flush the DNS cache on you local machine to sometimes speed it up.
http://docs.opencart.com/en-gb/administ ... ng-server/
Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!
Check both config files to see if have something like this:
some servers has this...
Code: Select all
define('DIR_IMAGE', '/home/domainname/public_html/image/');
Code: Select all
define('DIR_IMAGE', '/home2/domainname/public_html/image/');
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Who is online
Users browsing this forum: No registered users and 193 guests