Page 1 of 1

Re: Problems Creating Content

Posted: Sun Jun 20, 2010 12:40 am
by kbemis
I am having a similar issue with my install of 1.7.1 and haven't received any replies either..have you found a solution to your issue?

~k

Re: Problems Creating Content

Posted: Sun Jun 20, 2010 12:49 am
by calguy1000
Although we HAVE NOT TESTED upgrades from such an old version of CMSMS to the current version you shouldn't have too many problems.

Thank you for at least putting effort into giving us some information that may be useful in helping to solve your problem.

since your problem seems to be only related to 'content pages' can I ask you to

a) go to the listcontent page ("Content >> Pages" in the admin menu)
b) click the "Reorder Pages" link at the bottom
c) click the "Submit" button at the bottom.
d) try again the edit content functionality.
  (I don't think that this will solve the problem, but meh, it's 2 seconds of effort so its worth a try)

if this doesn't work try enabling debug mode in the config.php to see if there are any obvious error messages.  You can ignore any lines that start with Error(0).  (0 means no error message, and I hate this stuff for that).

if that does not give anything meaningful, then I would suggest you restore from backup then go in steps from 1.4.1 to 1.5  then 1.6 and then 1.7.1 testing for success at each step along the way.

Re: Problems Creating Content

Posted: Sun Jul 11, 2010 6:14 am
by sjo123
I have a new install of 1.7.1 and have noticed the same problem when adding content. Content and Internal page link creates OK but External link, Section Header and Seperator do not work.

With debug and creating an External link mySQL gives this error

(mysql): INSERT INTO cms_content (content_id, content_name, content_alias, type, owner_id, parent_id, template_id, item_order, hierarchy, id_hierarchy, active, default_content, show_in_menu, cachable, secure, menu_text, markup, metadata, titleattribute, accesskey, tabindex, last_modified_by, create_date, modified_date) VALUES (90,'Sign Out','sign-out','link','1','-1','23',11,'','',1,0,1,1,'','Sign Out','html','','','','','1','2010-07-11 18:06:03','2010-07-11 18:06:03')
Error (1366): Incorrect integer value: '' for column 'secure' at row 1

class.content.inc.php has

   case 'secure':
     {
$opt = '';
if( $this->mSecure )
 {
   $opt = ' checked="checked"';
 }
$str  = '';
               $str .= '';
return array(lang('secure_page').':',$str);
     }
     break;

in function display_single_element($one,$adding), I guess this should be adding a hidden field by default for any type that doesn't need to be secure.

Anyway got it to insert and update with

//$this->mSecure,
($this->mSecure == true         ? 1 : 0),

in class.content.inc.php