CSS / Theme editor - Advanced mode does not work

Hi all:
I have been trying to used the advanced mode editor to insert a background image for a login page as per a certain Scriptcase webinar. The problem is that the advanced mode does not work. There is no Preview and if I try to save even an unedited theme, it just hangs. There are no error messages. Plain edit works without issue … but it can’t set background images.

My setup is on CentOS 6.6 and I had to do the manual install (tech supp recommendation). No difference when running as Admin.

I see where someone else raised this issue but there is no mention of what the underlying issue was or, more importantly, what the solution was.

Thanks in advance for your feedback.

I did find this link
http://www.scriptcase.net/forum/archive/index.php/t-5504.html

sergicapella said
I’ve solved changing php.ini

Switches and enables
max_input_vars = 2000
Restart apache server

but it did not work for me.

OK
Here is the ‘full story’
If you have this or similar strange problem on Linux, first check the /var/log/httpd/error_log file. Scroll trough it (you can use more) and look at the errors. What you are looking for should, depending on how you installed, have the word scriptcase in it. Mine looked like this.

[Sun Feb 08 10:52:28 2015] [error] [client 10.150.1.102] PHP Warning: Unknown:
Input variables exceeded 2048. To increase the limit change max_input_vars in ph
p.ini. in Unknown on line 0, referer: http://10.150.1.22/scriptcase/devel/iface/
app_schema.php?schema_name=sys__NM__testxxx&opcao=edit

Evidently, in my case, the list of parameters exceeded my 2,048 limit. It eventually worked at 3,072 but I have set 4096 just in case. Yes, you must restart apache to implement the change.

The core problem is that the Scriptcase installation script does not update the parameter in the php.ini file. Yes, the default permissions only allow root to update it but even when all permissions are granted, the file is not modified. Maybe it works on other operating systems …

ScriptCase, you need to look at this aspect of your install script, handle the error in the program and/or inform the user to update the parameter manually.

Regards,

Sean H.