Page 1 of 1
[solved] site preview function not working
Posted: Mon Feb 20, 2012 5:05 pm
by pidecafa
Hello,
I recently upgraded my system to v.1.10.3. Now I'm encountering problems with the interactive functions of cmsms, e.g. the preview function or sites or e.g. the "setactive" function within the site list, which normally worked without reload, so that the respective page e.g. was deactivated and the symbols (checkmark or X) etc. were changed instantly on the same page.
Which platform is used for these functions (JS, Ajax, JQuery?) and what could be the problem? Any suggestions?
As I said, the problem occured after the update to 1.10.3 :-/
Thanks!!
PS: I forgot to mention, also the "Apply" function for changed content e.g. isn't working any more, i.e. the message, that all changed have been applied successfully isn't showing any more etc...

Re: site preview function not working
Posted: Mon Feb 20, 2012 6:43 pm
by Dr.CSS
You may need to do a checksum to make sure all files made it to server...
The server may be blocking the scripts that perform these functions, iirc they are jquery...
Re: site preview function not working
Posted: Mon Feb 20, 2012 8:25 pm
by pidecafa
Hi,
thanks for the advice. Unfortunately all the checksums match those in the uploaded file if I use the checksum file "cmsmadesimple-1.10.3-checksums.dat".
When I'm using the "cmsmadesimple-1.10.3-full-checksum.dat" file instead, I'm getting a lot of files which fail the check. Those include especially these files below:
- /plugins/function.uploads_url.php
/plugins/function.valid_xhtml.php
/plugins/function.process_pagedata.php
/plugins/function.valid_css.php
/plugins/function.cms_stylesheet.php
/plugins/function.dump.php
/plugins/function.recently_updated.php
/plugins/function.last_modified_by.php
/plugins/function.content_image.php
/plugins/function.get_template_vars.php
/plugins/function.cms_jquery.php
/admin/pagedefaults.php
/admin/lang/sl_SI.nls.php
/admin/lang/id_ID.nls.php
/admin/lang/ca_ES.nls.php
/admin/lang/hu_HU.nls.php
/admin/lang/ro_RO.nls.php
/admin/lang/eu_ES.nls.php
/admin/lang/is_IS.nls.php
/admin/lang/hr_HR.nls.php
/admin/lang/et_EE.nls.php
/admin/lang/af_ZA.nls.php
/admin/lang/ext/bg_BG/admin.inc.php
/admin/lang/ext/da_DK/admin.inc.php
/admin/lang/ext/en_CY/admin.inc.php
/admin/lang/ext/hu_HU/admin.inc.php
/admin/lang/ext/zh_CN/admin.inc.php
/admin/lang/ext/rm_CH/admin.inc.php
/admin/lang/ext/kz_KZ/admin.inc.php
/admin/lang/ext/sr_YU/admin.inc.php
/admin/lang/ext/tr_TR/admin.inc.php
/admin/lang/ext/lt_LT/admin.inc.php
/admin/lang/ext/ro_RO/admin.inc.php
/admin/lang/ext/pt_PT/admin.inc.php
/admin/lang/ext/mn_MN/admin.inc.php
/admin/lang/ext/fr_FR/admin.inc.php
/admin/lang/ext/pt_BR/admin.inc.php
/admin/lang/ext/cs_CZ/admin.inc.php
/admin/lang/ext/pl_PL/admin.inc.php
/admin/lang/ext/id_ID/admin.inc.php
/admin/lang/ext/nb_NO/admin.inc.php
/admin/lang/ext/ja_JP/admin.inc.php
/admin/lang/ext/so_SO/admin.inc.php
/admin/lang/ext/iw_IL/admin.inc.php
/admin/lang/ext/et_EE/admin.inc.php
/admin/lang/ext/eu_ES/admin.inc.php
/admin/lang/ext/it_IT/admin.inc.php
/admin/lang/ext/fi_FI/admin.inc.php
/admin/lang/ext/is_IS/admin.inc.php
/admin/lang/ext/af_ZA/admin.inc.php
/admin/lang/ext/ru_RU/admin.inc.php
/admin/lang/ext/nl_NL/admin.inc.php
/admin/lang/ext/sl_SI/admin.inc.php
/admin/lang/ext/de_DE/admin.inc.php
/admin/lang/ext/hr_HR/admin.inc.php
/admin/lang/ext/sk_SK/admin.inc.php
/admin/lang/ext/sv_SE/admin.inc.php
/admin/lang/ext/fa_FA/admin.inc.php
/admin/lang/ext/zh_TW/admin.inc.php
/admin/lang/ext/ar_AR/admin.inc.php
/admin/lang/ext/gl_GL/admin.inc.php
/admin/lang/ext/eo_UY/admin.inc.php
/admin/lang/ext/es_ES/admin.inc.php
/admin/lang/ext/ca_ES/admin.inc.php
/admin/lang/ext/el_GR/admin.inc.php
/admin/lang/sr_YU.nls.php
/admin/lang/tr_TR.nls.php
/admin/themes/default/css/style-rtl.css
/admin/themes/NCleanGrey/includes/standard.js
/admin/themes/NCleanGrey/docs/license.txt
/admin/themes/NCleanGrey/docs/readme.txt
/admin/themes/NCleanGrey/docs/CHANGELOG.txt
/admin/themes/NCleanGrey/NCleanGreyTheme.php
/admin/editevent.php
/admin/checksum.php
/admin/templates/changegroupperm.tpl
/admin/templates/listcssassoc.tpl
/admin/templates/siteprefs.tpl
/admin/templates/systeminfo.txt.tpl
/admin/templates/checksum.tpl
/admin/templates/changeusergroup.tpl
/admin/templates/systeminfo.tpl
/admin/eventhandlers.php
/admin/systeminfo.php
/tmp/cache/index.html
/tmp/templates_c/index.html
/lib/misc.functions.php
/lib/classes/class.cms_http_request.php
/lib/classes/class.ContentBase.php
/lib/adodb_lite/generic_modules/pear_module.inc
/lib/adodb_lite/generic_modules/adodblite_module.inc
/lib/adodb_lite/adodbSQL_drivers/postgres/postgres_meta_module.inc
/lib/adodb_lite/adodbSQL_drivers/postgres/postgres_date_module.inc
/lib/adodb_lite/adodbSQL_drivers/postgres/postgres_datadict.inc
/lib/adodb_lite/adodbSQL_drivers/postgres/postgres_extend_module.inc
/lib/adodb_lite/adodbSQL_drivers/postgres/postgres_transaction_module.inc
/lib/adodb_lite/adodbSQL_drivers/postgres/postgres_driver.inc
/lib/adodb_lite/adodbSQL_drivers/mysqli/mysqli_transaction_module.inc
/lib/adodb_lite/adodbSQL_drivers/mysqli/mysqli_driver.inc
/lib/adodb_lite/adodbSQL_drivers/mysqli/mysqli_extend_module.inc
/lib/adodb_lite/adodbSQL_drivers/mysqli/mysqli_date_module.inc
/lib/adodb_lite/adodbSQL_drivers/mysqli/mysqli_datadict.inc
/lib/adodb_lite/adodbSQL_drivers/postgres8/postgres8_datadict.inc
/lib/adodb_lite/adodbSQL_drivers/postgres8/postgres8_date_module.inc
/lib/adodb_lite/adodbSQL_drivers/postgres8/postgres8_meta_module.inc
/lib/adodb_lite/adodbSQL_drivers/postgres8/postgres8_transaction_module.inc
/lib/adodb_lite/adodbSQL_drivers/postgres8/postgres8_extend_module.inc
/lib/adodb_lite/adodbSQL_drivers/postgres8/postgres8_driver.inc
/lib/adodb_lite/adodbSQL_drivers/mysql/mysql_date_module.inc
/lib/adodb_lite/adodbSQL_drivers/mysql/mysql_datadict.inc
/lib/adodb_lite/adodbSQL_drivers/mysql/mysql_transaction_module.inc
/lib/adodb_lite/adodbSQL_drivers/mysql/mysql_driver.inc
/lib/adodb_lite/adodbSQL_drivers/mysql/mysql_extend_module.inc
/lib/adodb_lite/adodbSQL_drivers/postgres64/postgres64_datadict.inc
/lib/adodb_lite/adodbSQL_drivers/postgres64/postgres64_meta_module.inc
/lib/adodb_lite/adodbSQL_drivers/postgres64/postgres64_transaction_module.inc
/lib/adodb_lite/adodbSQL_drivers/postgres64/postgres64_date_module.inc
/lib/adodb_lite/adodbSQL_drivers/postgres64/postgres64_driver.inc
/lib/adodb_lite/adodbSQL_drivers/postgres64/postgres64_extend_module.inc
/lib/adodb_lite/adodbSQL_drivers/postgres7/postgres7_driver.inc
/lib/adodb_lite/adodbSQL_drivers/postgres7/postgres7_date_module.inc
/lib/adodb_lite/adodbSQL_drivers/postgres7/postgres7_extend_module.inc
/lib/adodb_lite/adodbSQL_drivers/postgres7/postgres7_transaction_module.inc
/lib/adodb_lite/adodbSQL_drivers/postgres7/postgres7_datadict.inc
/lib/adodb_lite/adodb-error.inc.php
/lib/html_entity_decode_php4.php
/lib/xajax/xajax_core/plugin_layer/xajaxEventPlugin.inc.php
/lib/xajax/copyright.inc.php
/uploads/NCleanBlue/js/ie6fix.js
I think, some of the marked files might be responsible for the malfunction of the system. Am I right and if yes, which file should I inspect?
Thanks!!
Re: site preview function not working
Posted: Mon Feb 20, 2012 8:46 pm
by pidecafa
I just encountered something new. When I'm using the "Apply" function when editing a site, an empty red, horizontal box appears, obviously trying to output some kind of error, but there is no text in it.
So the jQuery routine is started, but somehow something is going wrong. Is there some kind of debugger I could use to look behind all this?
Thanks!!
Re: site preview function not working
Posted: Mon Feb 20, 2012 9:37 pm
by Dr.CSS
You need to use the checksum from the version of CMSMS that you use, did you use the full version when you installed it?...
Re: site preview function not working
Posted: Mon Feb 20, 2012 9:43 pm
by pidecafa
Nope, I used the 1.10.1->1.10.3 full diff upgrade, but as there is no checksum for this version, I was not sure which one to use and tried both.
Re: site preview function not working
Posted: Mon Feb 20, 2012 9:48 pm
by Dr.CSS
1.10.3 full diff upgrade that means the second file is the one you needed to use for checksum cmsmadesimple-1.10.3-full-checksum.dat...
It says you are missing files so you need to reupload them all, I would get the 1.10.3 full tar.gz version and upload it using the servers file manager then unpack it there to insure all files/folders make it...
Re: site preview function not working
Posted: Tue Feb 21, 2012 1:23 am
by pidecafa
Hi,
I just performed another transfer of the files, but the checksum result stays the same.
This is obviously not helping :-/
Is there any other suggestion why this problem could occur?
Re: site preview function not working
Posted: Tue Feb 21, 2012 9:17 pm
by pidecafa
Hello again,
it seems like the module ListIt2 caused the problems, I have absolutely no idea why, I tried to figure it out but not chance.
I just uninstalled it and restored my settings again in a new installed version of the same module.
Thanks though!!
