WordPress.org

Ready to get started?Download WordPress

Forums

Pinboard
Error code in posts (37 posts)

  1. lilinhaangel
    Member
    Posted 1 year ago #

    Hi there,
    I've noticed that some of my blog posts have a weird code? I've have only just changed from wordpress.com to self-hosted.
    I've tried removing the pictures, but the codes are still there. I have also tried uninstalling plugins, but nothing.
    The posts are:
    http://lilinhaangel.com/2013/04/outdoor-adventure-campaign-by-poppy-cat-and-woodland-trust/
    http://lilinhaangel.com/2013/04/make-your-own-chocolate-pizza-kit-by-prezzybox/
    Thank you! :)

  2. lilinhaangel
    Member
    Posted 1 year ago #

    Could anyone help me please? I'm still having some random codes on my posts. Thank you!

  3. paul.a.cunn
    Member
    Posted 1 year ago #

    What is the code supposed to be. Meaning is there something missing in the post that should be there in place of the code of is it just random code that you want removed?

  4. lilinhaangel
    Member
    Posted 1 year ago #

    This is one of the codes:

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    a:7:{s:7:"primary";s:68:"http://lilinhaangel.files.wordpress.com/2013/04/visit-woods-logo.jpg";s:6:"images";a:5:{s:66:"http://lilinhaangel.files.wordpress.com/2013/04/poppy-cat-logo.jpg";a:6:{s:8:"file_url";s:66:"http://lilinhaangel.files.wordpress.com/2013/04/poppy-cat-logo.jpg";s:5:"width";i:945;s:6:"height";i:824;s:4:"type";s:5:"image";s:4:"area";i:778680;s:9:"file_path";b:0;}s:68:"http://lilinhaangel.files.wordpress.com/2013/04/visit-woods-logo.jpg";a:6:{s:8:"file_url";s:68:"http://lilinhaangel.files.wordpress.com/2013/04/visit-woods-logo.jpg";s:5:"width";i:4320;s:6:"height";i:1113;s:4:"type";s:5:"image";s:4:"area";i:4808160;s:9:"file_path";b:0;}s:75:"http://lilinhaangel.files.wordpress.com/2013/04/poppy-cat-mystery-trail.jpg";a:6:{s:8:"file_url";s:75:"http://lilinhaangel.files.wordpress.com/2013/04/poppy-cat-mystery-trail.jpg";s:5:"width";i:1134;s:6:"height";i:638;s:4:"type";s:5:"image";s:4:"area";i:723492;s:9:"file_path";b:0;}s:56:"http://lilinhaangel.files.wordpress.com/2013/04/0221.jpg";a:6:{s:8:"file_url";s:56:"http://lilinhaangel.files.wordpress.com/2013/04/0221.jpg";s:5:"width";i:1024;s:6:"height";i:1024;s:4:"type";s:5:"image";s:4:"area";i:1048576;s:9:"file_path";b:0;}s:56:"http://lilinhaangel.files.wordpress.com/2013/04/0231.jpg";a:6:{s:8:"file_url";s:56:"http://lilinhaangel.files.wordpress.com/2013/04/0231.jpg";s:5:"width";i:1024;s:6:"height";i:1024;s:4:"type";s:5:"image";s:4:"area";i:1048576;s:9:"file_path";b:0;}}s:6:"videos";a:0:{}s:11:"image_count";i:5;s:6:"author";s:8:"34299721";s:7:"blog_id";s:8:"34359653";s:9:"mod_stamp";s:19:"2013-04-17

    It is at the beginning of this post: http://lilinhaangel.com/2013/04/outdoor-adventure-campaign-by-poppy-cat-and-woodland-trust/

    I thought it referred to pictures, so I removed the pictures and added them back, but the code is still there!

  5. lilinhaangel
    Member
    Posted 1 year ago #

    Basically it is just random code that you would like to be removed from the beginning of a few of my posts. They appeared once I moved my blog from wordpress.com to wordpress.org.

  6. paul.a.cunn
    Member
    Posted 1 year ago #

    Do you have some sort of "Custom Meta Data" widget or plugin activated on your site?

  7. lilinhaangel
    Member
    Posted 1 year ago #

    Don't think so, I just had a quick look and can't find anything with that name... Am I loooking at the right place?

  8. paul.a.cunn
    Member
    Posted 1 year ago #

    Do those particular posts have a different layout than the other posts like are they marked as video or aside or anything like that?

  9. Zulfikar Nore
    Member
    Posted 1 year ago #

    That code looks like it's being pulled in from the database which was transferred in from your WordPress.com site.

    It most likely to do with the theme or a plugin you had active there which is now missing on the self-hosted maybe?

  10. lilinhaangel
    Member
    Posted 1 year ago #

    No, they have exactly the same layout as other posts. They were all moved at the same time, but some have the error code, others don't! so weird!

  11. lilinhaangel
    Member
    Posted 1 year ago #

    I noticed that the code refers from pictures from wordpress.com, I removed those pictures and nothing.
    I tried changing the theme, deactivating all plugins, then applying the same theme again, but no success.

  12. paul.a.cunn
    Member
    Posted 1 year ago #

    Yeah its definitely something in a php file. Its hard to figure out which php is calling the meta data for the posts. There must be a function in one of the php files that is calling something from the wordpress database that is obviously not there anymore.

  13. lilinhaangel
    Member
    Posted 1 year ago #

    Oh, so what should I do? How can I fix it? Any suggestions please?
    It's weird that all posts were transferred the same way, but the error code only appears on some of them.

  14. esmi
    Forum Moderator
    Posted 1 year ago #

    Basically it is just random code

    That's not random code, It's serialized data from a database. Is this a wordpress.com site or a self-hosted WordPress install? If it's the latter, did you import content from another wordpress.com site?

  15. Zulfikar Nore
    Member
    Posted 1 year ago #

    Is the WordPress.com site still live? If so a link to it might help in pinpointing the problem.

  16. lilinhaangel
    Member
    Posted 1 year ago #

    It is now a self-hosted WordPress, yes I imported all the content from wordpress.com

  17. lilinhaangel
    Member
    Posted 1 year ago #

    The WordPress.com is not live anymore as it gets redirected to self-hosted wordpress. The link to the post is:
    http://lilinhaangel.com/2013/04/outdoor-adventure-campaign-by-poppy-cat-and-woodland-trust/

  18. esmi
    Forum Moderator
    Posted 1 year ago #

    Given the code you posted above, it looks like serialized data from your wordpress.com site has "leaked" into your post contents. Are you quite sure that you are not pulling any images from http://lilinhaangel.wordpress.com

  19. lilinhaangel
    Member
    Posted 1 year ago #

    All the images from existing posts are pulled from the old website as the whole content was transferred over when my blog moved to self-hosted.
    But it didn't happen on all the posts, that's what I don't understand!

  20. esmi
    Forum Moderator
    Posted 1 year ago #

    Maybe I didn't explain myself properly. Are all of the images in your self-hosted site in that site's Media Library? Or are some images from your wordpress.com still being linked to directly?

  21. lilinhaangel
    Member
    Posted 1 year ago #

    No, none of them are on the self-hosted media library, they are all in the old wordpress.com

  22. esmi
    Forum Moderator
    Posted 1 year ago #

    May I ask why you didn't import them into the new site when you imported the rest of the old site's content??

  23. lilinhaangel
    Member
    Posted 1 year ago #

    I didn't do it myself, I had no idea how to do. Someone else did it for me. They transferred everything from the old site to the new site. Is there a way of doing it now? Or is it too late?

  24. esmi
    Forum Moderator
    Posted 1 year ago #

    In theory, it's not too late but fixing it depends upon how far you're prepared to go. :-)

    Is all of the content still available on the wordpress.com site?
    Have you added much in the way of completely new content to the self-hosted site?

    The only way to do the import properly now would be to wipe everything in the new site that was imported from the old site (posts & pages). Then log into your wordpress.com site & make a fresh export file. Finally, you'd then need to re-import all of the content - including all attachments - into the self-hosted site.

    As this is somewhat daunting, I'd suggest that, before you do anything, you make a backup of the self-hosted database so that you have a copy of your site in case something goes pear-shaped later on.

  25. lilinhaangel
    Member
    Posted 1 year ago #

    WOW! That's a lot to do. Yes, I've written around 20 posts or so since I changed to the new blog over the weekend. I believe the content is still available since I didn't touch anything on the old blog. I simply asked the old URL to be redirected to the new one.
    I tried to access the old site and it doesn't let me log in, it redirects to the new log in, so I'm not sure whether I would be able to get in the old blog.

  26. esmi
    Forum Moderator
    Posted 1 year ago #

    Your new posts shouldn't be touched by any of this, You can leave them alone. It's just the old imported content that, ideally needs deleting and then re-importing properly.

    I assume your old site is http://lilinhaangel.wordpress.com/ yes? When you started using your own domain name on this wordpress.com site, who set that up for you? And when you launched your new self-hosted site, who transferred the domain name over for you & when?

    I think what has happened is that you've had a very bungled import of content into the new site - possibly caused by a problem with the transfer of the lilinhaangel.com domain name. Once we ensure that this domain name transfer has been completed correctly (which it isn't at the moment), we can try a fresh import which should sort out your current problems.

  27. lilinhaangel
    Member
    Posted 1 year ago #

    Yes, that's the old site address. Ok, so only the old content should be transferred to the new site.

    I got someone to do it for me, a friend of mine used her services before, she transferred my friend's blog, then I asked her for the same services. The new blog was set up by this lady. She also transferred all the content over, then I simply paid WordPress to redirect from one site to the other once the content had been transferred.

    So what would you suggest I should do please?
    *PS. Thank you so much for taking your time and trying to help me, it's appreciated! :)

  28. esmi
    Forum Moderator
    Posted 1 year ago #

    then I simply paid WordPress to redirect from one site to the other once the content had been transferred.

    No - you don't want a re-direct. You want the domain name transferred. That's something completely different. Once you have it transferred, lilinhaangel.com will only ever point to the new site and you'll still be able to access http://lilinhaangel.wordpress.com/ completely independently and, more importantly, carry out a proper export/import.

    Technical bit warning...
    The person who carried out the original import for you got into something of a bind. They were, effectively trying to copy content from lilinhaangel.com to lilinhaangel.com because the domain name was being "used" by both old & new sites. And I think that's when your current problem was created - possibly by something that they tried in an effort to force the process. It's a situation that I do see cropping up here from time to time.

  29. lilinhaangel
    Member
    Posted 1 year ago #

    Oh gosh, I thought I simply had to redirect the site, I didn't know I had to get the domain name transferred! Is it possible to redo it?

    Actually I just managed to get into my old dashboard. Somehow I've tried it before and it didn't work, but I'm in now.

    Oh, so it's something that you see here often. How should I proceed please?
    Thank you! :)

  30. esmi
    Forum Moderator
    Posted 1 year ago #

    Is it possible to redo it?

    You can transfer a domain name whenever you want. Who did you register it with initially? wordpress.com or another company?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.