https://www.icyphoenix.com/viewtopic.php?f=35&t=7349
-----------------------------------
xmenfile
Sat 04 Sep, 2010 03:23

Posted_Image Error When Move To New Domain Name
-----------------------------------
Hi there,

i moved IP to new domain name and successful.  But there is an error with posted_image using [img] won't show up on old posts.  it still shows OLD domain name.  for example
[img]http://OLD_DOMAIN.com/files/posted_images/8/123445.jpg[/img] 

Is there anyway that i can change it or i have to change it one by one?

Thank you in advance,

xmenfile.


-----------------------------------
spydie
Sat 04 Sep, 2010 09:32

Re: Posted_Image Error When Move To New Domain Name
-----------------------------------
you can try, making a copy of posts table and then in an editor you select the domain name of the first img.

and replace all with replace option of your editor. afterwards you restore the table with tyhe edited and thats it


-----------------------------------
xmenfile
Sat 04 Sep, 2010 22:33

Re: Posted_Image Error When Move To New Domain Name
-----------------------------------
That works

Thank you Spydie for your advise.


-----------------------------------
TheSteffen
Mon 06 Sep, 2010 19:38

Re: Posted_Image Error When Move To New Domain Name
-----------------------------------
And for other users whitch are not so skilled with database.

1. Make backup of your DB
2. in ACP -> General -> Replace In Posts

You can change this way everything in your posts.
[b]Note! This cannot be undone.[/b] Therefor you should have a backup ;-)


-----------------------------------
xmenfile
Wed 08 Sep, 2010 01:27

Re: [SOLVED]   Posted_Image Error When Move To New Domain Name
-----------------------------------
Thank you TheSteffen,  Great to know other way and this will help other users too.


