• Resolved skuriles

    (@skuriles)


    Hello,

    I switched the provider and had to do some manual database changes (nothing special considering connections plugin).

    But now I get strange errors on
    wp-admin/admin.php?page=connections_manage
    page:

    Error: File Exists?

    How can I trace this error or does anyone know why this error shows? No problems with the plugin so far, everything beside these errors seems to work fine.

    Any ideas? And thanks for help

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    – Which version of Connections do you have installed?

    – Can you share a screenshot of this?

    Thread Starter skuriles

    (@skuriles)

    Sure,

    View post on imgur.com

    it’s in German, but it just says: Error: file exists?

    Version is 9.3.2 (updated this morning, but error was there before)
    regards

    Plugin Author Steven

    (@shazahm1hotmailcom)

    Ok, I needed to track down the English version of the error message so I could find where in the code this is coming from.

    This error is being generated because the images can not be found. Question, do you entries have images and can you see them in the admin and on your directory page?

    Plugin Author Steven

    (@shazahm1hotmailcom)

    I’m going to mark this as resolved due to inactivity. If you still need help, just let me know.

    Thread Starter skuriles

    (@skuriles)

    Hey,
    sorry for late reply, looks like the notifications are in Spam folder.

    Images are shown on website and in “edit entry” page, but not in overview:

    Screenshots

    Plugin Author Steven

    (@shazahm1hotmailcom)

    Ok, now that is odd… Please try this…

    In the “overview” click the screen options tab in the upper right of the screen. Change the image thumbnail type and apply the changes.

    Does that help?

    Thread Starter skuriles

    (@skuriles)

    If I switch from image to logo there is no error any longer and the thumbnails for the entries are shown in overview.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    So, the issue is fixed? Just want to confirm.

    Thread Starter skuriles

    (@skuriles)

    Not really, if I switch back to image thumbnails the error is back.
    So it looks like it is a bug with image thumbnails, but logo works!

    Plugin Author Steven

    (@shazahm1hotmailcom)

    @skuriles

    Sorry!!! I completely missed that you replied. Since logos work and the exact same code is used for the photos, then, one of the entries does indeed have a missing file.

    Do this, switch the Image Type in the Screen Options tab back to Photos. Then, one at a time, edit the entries on the first page of the Manage admin page. You do not need to make any changes, but I do expect at least one of the entries not to have a photo when it should.

    I hope this helps, let me know.

    Thread Starter skuriles

    (@skuriles)

    Hey, thanks for reply,
    I tried to edit the entries, but this does not help. Strange thing is that the images are shown in homepage and in the entries itself but not in the overview.

    Where are the images stored in SQL database? Is there some kind of a thumbnail folder for the manage admin page?

    Regards

    Plugin Author Steven

    (@shazahm1hotmailcom)

    RE: Where are the images stored in SQL database?

    They are not stored in the db.

    RE: Is there some kind of a thumbnail folder for the manage admin page?

    There is not an admin specific folder for images. All images are stored in the /uploads/connections-images folder.

    Thread Starter skuriles

    (@skuriles)

    I will have a look if the images are correctly stored.

    I meant where the image path is stored in database entries? I didn’t have time to have a deeper look, but maybe there is something missing after I imported tables (and have to run some rename scripts for new domain name)

    Thread Starter skuriles

    (@skuriles)

    I think I found a hint for the problem

    Could it be that in overview the “options” field in connections table is used?

    There are two different paths (path and url). Path is relativ and url is absolute.

    “logo”: {
    “linked”: false,
    “display”: false,
    “name”: null,
    “meta”: {
    “name”: “fullsizeoutput_6f99.jpeg”,
    “path”: “<pathtowordpress>/wp-content/uploads/connections-images/<imagefoldername>/fullsizeoutput_6f99.jpeg”,
    “url”: “<domain>/wp-content/uploads/connections-images/<imagefoldername>/fullsizeoutput_6f99.jpeg”,
    “width”: 1280,
    “height”: 225,
    “size”: “width=\”1280\” height=\”225\””,
    “mime”: “image/jpeg”,
    “type”: 2
    }
    }

    So if I replace path with the correct relative path it should work?
    I will do a small test

    Plugin Author Steven

    (@shazahm1hotmailcom)

    The path is the server path to the image, the actual folder on the server in which the image should reside.

    The url maybe the fall path to the image, but is not used.

    So, if the path is incorrect, it is possible to get the image not found error.

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘Error after provider change’ is closed to new replies.