I'm trying to install cms with mssql, because cms supports adodblite. But install fails. I am using cmsmadesimple-1.0.4 and adodb_lite1.42.
Thanks for your collaboration

Is it a IIS 404 error or the one generated from CMS (Site Admin -> Global Settings in the admin menu)?madelyn wrote: The default page shows error 404, but only works with direct link.
What could be the error?
I Use adodb and IIS.
Madelyn![]()
Hmm, I assume you made sure "Enable Custom 404 Message" is unchecked in the Global Settings?madelyn wrote: No. It's Shows cmsms page 404 error.
Madelyn
It works very good, Thaks a lotAndyHolyer wrote: There's shades of Bill Gates' comment about nobody ever wanting more than 640K.
OK, fire up emacs on php.ini. mssql.textsize and mssql.textlimit are commented out. Uncomment them, set them to 1000000, restart IIS from the sevices controller. Problem seems to have gone away.
So it's even more stupid than I first thought: It's storing the whole string internally, just only returning the first 4096 bytes. Again, why owuld anyone ever want to set this?
I fixed this problem (momently) with movedPages plugin.AndyHolyer wrote: Now I've just got to figure out why it 404's on an empty page request.....
Code: Select all
$query = "SELECT c.content_id, c.content_name, c.content_alias, c.menu_text, c.titleattribute, c.hierarchy, c.metadata, c.id_hierarchy, c.prop_names, c.create_date AS c_create_date, c.modified_date AS c_date, c.cachable, c.last_modified_by, t.template_id, t.encoding, t.modified_date AS t_date FROM ".cms_db_prefix()."templates t INNER JOIN ".cms_db_prefix()."content c ON c.template_id = t.template_id WHERE (c.content_alias = ? OR c.content_id = ?) AND c.active = 1";
Code: Select all
$query = "SELECT c.content_id, c.content_name, c.content_alias, c.menu_text, c.titleattribute, c.hierarchy, c.metadata, c.id_hierarchy, c.prop_names, c.create_date AS c_create_date, c.modified_date AS c_date, c.cachable, c.last_modified_by, t.template_id, t.encoding, t.modified_date AS t_date FROM ".cms_db_prefix()."templates t INNER JOIN ".cms_db_prefix()."content c ON c.template_id = t.template_id WHERE (c.content_alias = 15 OR c.content_id = 15) AND c.active = 1";