Post by marciojosebaldo » Fri May 13, 2022 8:57 pm

Good morning

In a Brazilian forum I found a tutorial about backup OpenCart product images. Copy these two folders and replace:
/admin/view/javascript/jquery/flot/examples
/image/

I was successful in copying the database through phpMyAdmin, but the products are out of images.

There are something wrong? The version is 3.0.3.8

User avatar
New member

Posts

Joined
Fri Dec 10, 2021 7:50 am

Post by nyamike » Fri May 13, 2022 10:36 pm

The images are in the folder "yoursite/image/catalog/"

Just use FTP and transfer that folder.

Newbie

Posts

Joined
Sun Jan 09, 2022 3:19 am
Location - Portugal

Post by marciojosebaldo » Sat May 14, 2022 12:33 am

Hi, nyamike

Thank you

The folder admin has already been transferred and I has checked both config.php:
define('DIR_IMAGE', '/var/www/html/image/');

But the problem remains

User avatar
New member

Posts

Joined
Fri Dec 10, 2021 7:50 am

Post by nyamike » Sat May 14, 2022 1:19 am

Not sure if this is what you are looking for but all the images you see in the TOP picture are located in the place you see in the BOTOM picture https://nyamike.com/lixo/fotos2.jpg

My config.php = define('DIR_IMAGE', '/home/jpmfamal/public_html/loja/image/');

Newbie

Posts

Joined
Sun Jan 09, 2022 3:19 am
Location - Portugal

Post by marciojosebaldo » Sun May 15, 2022 3:40 am

Thank you, nyamike

OpenCart has been reinstalled again. The folder image/catalog has been copied and the problem remains

The test is on Linux's localhost -> /var/www/html/image/catalog. In the phpMyAdmin the directory is correct like this /catalog/.../ and the both config.php is corect too: /var/www/html/image

The complete directory: /var/www/html/image/catalog/Produtos/.../

There is something missing

User avatar
New member

Posts

Joined
Fri Dec 10, 2021 7:50 am

Post by nyamike » Mon May 16, 2022 4:11 am

Try this:

- Goto System - Maintenance - Export/Import

- Export By id range and choose something like from 100 to 150

You will get a Excell file. Open it and see what you got in the image_name colum.

Heres mine. Maybe it helps - https://nyamike.com/lixo/nome_localizacao_imagens.jpg

Attachments

nome_localizacao_imagens.jpg

nome_localizacao_imagens.jpg (365.36 KiB) Viewed 403 times


Newbie

Posts

Joined
Sun Jan 09, 2022 3:19 am
Location - Portugal

Post by marciojosebaldo » Wed May 18, 2022 4:04 am

nyamike, hi

Thank you very much

From a number of products that I am unaware of, the native OpenCart backup does not work. It is necessary to use phpMyAdmin

I have good news: the problem was solved. The tutorial above is correct. It is necessary to copy folder categories and image. The only unnoticed detail that happened here is that on Linux, it is necessary to allow edits to the folders with the command 755. On Windows I don't know if there is such a need to allow editing of folders

And without folders with access permission, OpenCart does not access the images

It is compatible with Ubuntu 20.04 and Linux Mint 20.3

User avatar
New member

Posts

Joined
Fri Dec 10, 2021 7:50 am
Who is online

Users browsing this forum: No registered users and 263 guests