187 Posts
Pathos
9 years ago
Topic

Hi,

i moved a website to the server of a client and now the conditional states don't work anymore.

I had set it up so that when one field was selected another field got a country-name as a text. That doesn't work, but i can't open up the edit-button on the states.

On the original server it opens a modal window. Now it doesn't do anything. When i try the add button (with fields that hadn't conditional states) themodal opens like it should.

Any ideas? Where are these settings in de database? maybe i can find the problem there... The was a problem with magic quotes settings on the server before...

If anybody as any idea... thanks

Get a VIP membership
693 Posts
rpoy
9 years ago
0
Level 1

Hi Pathos,

Have you verified the recommended settings?  Is PHP version 5.3.x?

How did you move it?

regards,

Randy

187 Posts
Pathos
9 years ago
0
Level 1

Oke... i thought i could investigate it some more... by looking at the code from administratorpages from both installations...

And it seems it has something to do with the magic quotes setting.

This is from the 'wrong' site (the part that should do the conditional setting):

\"revert\":\"1\",\"value\":\"Netherlands\"}],\"conditions\":[{\"type\":\"isEqual\",\"trigger\":\"suplier_name\",\"value\"

And this from the working site:

"revert":"1","value":"Netherlands"}],"conditions":[{"type":"isEqual","trigger":"suplier_name","value"

So probably the setting was the culprit. The setting is already solved with a php.ini file in the root to override the setting. But the damage has been done.

So hope someone knows how i can revert it. Is it stored in the database...

But as i type... i think of a way to check it :-)

187 Posts
Pathos
9 years ago
0
Level 1

Hi Randy,

it was 5.3.x but had the magic quotes settings. And after opening the content form in seblod and saving it, that setting changed the above input...

I did some repairs in the database and everything seems fine now.. checking further tomorrow..

For people with similar problems...

Its in the database

cck_core_type_field

There are a lot, at least in my case. But i could recover the right fieldid and looked at that one... saw it was right and al the other fields were the id's after that...

Thanks and greetings,

Joris


Get a Book for SEBLOD