Images not showing after migration.

Hello,

I've got some problems with migrating a website from localhost to the server.
After a database import from localhost, many images from muffin builder are often no longer visible. Occasionally not even one, but I have not found consistency in this yet.

I have used the "Muffin Builder & Theme Options Migrate Tool 3" plugin but this ruined the images that were showing before using the plugin more often than fixing the problem.

With the developer tools I see that the URLs of the images have been well modified to the new url, but they are not visible anyway.

The featured image of the blog posts and the images at the testimonials constantly cause a problem, I don't get them visible.

Soon the site will have to run on a live environment. I would like this process to proceed smoothly. What could go wrong at the moment?

The url of the development environment is http://develop.totalbodymanagement.nl/ 

Thanks in advance,
Marc

Comments

  • In addition, I see that no thumbnails are displayed under media in wordpress. I used the plugin force regenerate thumbnails. This indicates that of the 89 images 86 images succeeded and 3 times failed. Even after this operation, no thumbnails appear and the problem remains.
  • Hi Marc,
    you should use this plugin to move the website:
    https://wordpress.org/plugins/duplicator/
    and thi plugin if you have any problems with URLS:
    http://muffingroup.com/plugins/mfn-migrate-cb.zip

    If the migration did not went correctly that could mean that the server has some limits or some cache is enabled which does not let you see the newest changes.
    thanks
  • Hello,

    Thank you for the respons.
    I have followed the steps proposed. The migration with duplicator went without errors. Yet the result is the same. Since the URLs seem to be good, the problem must be somewhere else.

    Via system status everything seems to be well set (see image), a problem with cache remains the only remaining possibility if I understand it correctly? Is this something I can fix by myself?

    image
  • Please go to your FTP, create a php file with phpinfo() function inside and send us a link to that file privately thru the contact form which is on the right side at http://themeforest.net/user/muffingroup#contact so we can have a look on your server settings. The problem is probably related to limits but to be sure which one is the reason, we need that link. For more details about file creation, please visit https://mediatemple.net/community/products/dv/204643880/how-can-i-create-a-phpinfo.php-page.

    Notice!
    1. If you are chatting with support via email, please do not post here.
    2. Attach your license key and the WordPress admin login credentials.
    3. Send a link to this discussion, so the email support knows where to look.


    Thanks
  • We have checked the php info and it seems that everything is fine there. The only possibility would be that the server you are transfering to has some permissions set and the images are not uploaded.

    You said that the images do not appear after migration, but they are already missing on the dev environment.
    The url of the development environment is http://develop.totalbodymanagement.nl/
  • It is true they are missing on the develop environment. On my local environment they are all there, but after migration from local to the develop environment (more like an acceptation environment, a bit confusing in this way) they are not appearing like you said right.

    I don't think there is a problem with permissions on the server, the uploads folder is filled with exactly the same files as on my local environment. Or am i missing something and does this not say enough?

    Is there anything I can do more?
  • Sorry but this is not a theme issue, it is probably permisions and you should ask this your hosting provider. This is not theme related.
  • I am sorry but I don't think the problem is with my host provider. I have reimported the localhost database to http://develop.totalbodymanagement.nl/ and used sql scripts to change urls in the database. As the attached picture shows, the site is displayed almost entirely correctly, except for the photos in the section "blog" and "wat klanten zeggen". The element inspector of my browser shows that photos with a correct url are being retrieved, but they are not visible.

    Since the rest of the website is loaded without any problems and you indicate that my php info looks good, should it be a problem within the theme if I am not mistaken? 

    When I use the Muffin Builder & Theme Options Migrate Tool 3, all images disappear again.

    image

  • If you have changed some things in your database on the localhost using plugins other than
    http://muffingroup.com/plugins/mfn-migrate-cb.zip
    or did it manually then you could have corrupted the database and it will cause problems when moving.
    The theme itself has nothing to do with the transfer procedure.

  • When I don't change anything in the database myself and use the duplicator plugin to migrate, I get a website without any images. This is not good and that's why I went on to look for more. I therefore replaced the urls after this unsuccessful migration using duplicator. After this I see almost all images appear as the picture screenshot shows in the previous message. This makes me think that it is not a problem on the hosting side.

    So I have performed the following actions:

    Migration with the duplicator plugin without any adjustments; result: no images.

    Migration via FTP, database migration from localhost to develop domain via phphmyadmin and then changed urls via the tool at http://utils.marchegeman.nl/. (I have done a lot of successful migrations with this tool.) Result: almost all images are visible, except for a few.

    The second seems more successful than the first, but misses a few pictures, this I would like to solve.

    On localhost nothing else has changed the database except another prefix than wp_. 
  • We really cannot do anything here, the theme works fine and migration has nothing to do with it. You must have done something to the database from the start. The theme is displaying the image file paths correctly so it is either something in the database or there is something with the server permissions on the image folders.

Sign In or Register to comment.