Image Linking in WYSIWYG incorrect

5 posts by 3 authors in: Forums > CMS Builder
Last Post: January 21, 2010   (RSS)

Re: [misery217] Image Linking in WYSIWYG incorrect

By Dave - January 20, 2010

Hi misery217,

So is it just previously uploaded images that don't work or do images uploaded on the new server not work either?

Here's some suggestions. First, check that this option is unchecked under: Admin > General:
WYSIWYG Options [ ] Save full URL for local links and images (for viewers on other domains)

Next, uploaded image store their url (without the domain), so if the url on the development server was different you'll need to update the uploads in the database.

The easiest way to do that is to:
- Make sure you're running a recent version with Backup/Restore functions
- Go to: Admin > General > Database Backup
- Create a backup and download it.
- Create a backup of your backup.
- Open the backup file and search and replace http://174.143.92.42/waxahachiechamber.com/ with /
- Search for any other instances of 174.143.92.42
- Upload your backup file and restore it.

Let me know if that works for you. If it doesn't we can take a closer look at the server and see what the issue might be.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Image Linking in WYSIWYG incorrect

Hey Dave,

I tried replacing the offensive address and got returned this error:

MySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '&#65279;-- <?php die('This is not a program file.'); exit; ?> DROP TABLE IF EXI' at line 1

So I have no idea what to do for that...

The initial problem DID, however, fix itself after I had the client log in to the admin panel using the correct address and not the IP Addy...

Sorry to change the topic mid-stream, but any ideas as to why the DB backup is behaving as it is?

Re: [misery217] Image Linking in WYSIWYG incorrect

By Chris - January 20, 2010

Hi misery217,

It's possible that the editor you used to do your search-and-replace somehow mangled the file. I'd try it again from a fresh file, and if that doesn't work, please send me the file as an attachment in a private message.

Note: Don't post it here! It'll include your accounts table with your CMS Builder login info!
All the best,
Chris

Re: [chris] Image Linking in WYSIWYG incorrect

Thanks Chris,

yeah, I tried that to the no avail as well... I'm sending it along to you...