Hi all,
We inherited a MOD X site (its 1.04) and needed to move it quickly to new hosting.
The site itself works...until we go into the manager... whenever we do this and make any changes at all we get a ton of random \\\\ //// all throughout the content which of course messes the site up... we have turned magic quotes off on the server etc but to no avail....
this of course is causing some slight frustrations....
Any ideas on how to sort this out please?
Thanks
-
☆ A M B ☆
- 3,141 Posts
Sounds like magic quotes haven't been turned off properly. What does the phpinfo (under Reports) say about it?
Though when you turned them off, that would not revert what had already been changed in the database so you'd want to revert that. Moving hosts you probably have a backup, right?
Hi there,
We have backups luckily and the hosting company have been great to revert back to the previous version each time we try a fix....so we tried turning it off (they did) and the problem persisted.
They have told me magic quotes was turned off but the problem still persists.....would this issue arise if it was migrated to a server with a newer version of php installed?
Or does it sound like a magic quotes issue and that they haven't turned it off correctly?
Am worried to go into phpinfo as each time we go into the CMS it seems to mess the site up!
Am at such a loss!
-
☆ A M B ☆
- 3,141 Posts
If all it adds are slashes that really sounds like magic quotes for me. I've seen issues with different database encodings, but you're more likely to see weird characters than slashes in that case. I'm not sure what else could cause stuff like this, though I am far from an expert in server stuff.
Just opening the manager shouldn't be a problem, just don't update resources as far as I know.
I would assume that the host knows how to change the config, but double checking never hurt anyone?
-
☆ A M B ☆
- 2,213 Posts
I'm with Mark, it's most likely an issue with Magic Quotes. I know one of my servers was being stupid and not turning off Magic Quotes using the normal method, so I had to manually kill them.
Shoot us a link to your phpinfo and we can have a look, or as Mark noted as long as you don't save any resources you should be fine to view it yourself.
You can see PhpInfo on the Reports -> System Info page (the "view" link). There's no way that should mess up the site. It certainly sounds like magic_quotes_gpc is the culprit.
Hmmmmmm OK going to try and get the PHP info stuff and post it here!
Be careful about that, there's a lot of info there that hackers would like to see. Just cut-and-paste the part with magic_quotes_gpc in it.
Ok will be doing this on Monday as don't want to risk breaking the site for her as its an important weekend for her!
Will update monday....