[SOLVED] Problem: can't add new content

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
Nagadash
New Member
New Member
Posts: 3
Joined: Fri May 16, 2008 10:20 am

[SOLVED] Problem: can't add new content

Post by Nagadash »

Hello!

I ran into this problem with MLE...
It seems that I can't (or just don't know how to) add new content to my pages using CMSMS MLE.
The installation of MLE and CMSMS went fine, and the pages work otherwise just fine.

In the admin panel, when I go to Content->Pages and try to add new content, it shows the text:
"The content was successfully added to the database." but the content I added won't show in the admin panel and it doesn't show in the navigation menu's, nor in the homepages.
It seems that the maximum amount of Level 1 Navigation pages I can now have is 4.
The content can be added to these 4 content pages, and to their children pages. So the old content can be updated, but the new content can't be made. I was able to add new content normally with regular CMSMS just before installing MLE version.

For the extra information I am using IIS (windows server 2003), PHP, MySQL and phpMyAdmin. I am using my own template (template should work) with MenuManager module in it, I use two menu's to navigate. The other menu is in the top of page and the other one in the left side.
In the code I use these smarty tags for the navigation:
{cms_module module="menumanager" }
{menu template='cssmenu.tpl'} 
I tried to add content also with the "Left simple navigation + 1 column" template, but that didn't work for me either.
Can someone help me out with this? ??? I am really new with CMSMS and MLE, but got it already working so far, and like it a lot. Thanks alby by the way for this great MLE version for CMSMS.
Last edited by Nagadash on Fri Jun 06, 2008 1:08 pm, edited 1 time in total.
Nagadash
New Member
New Member
Posts: 3
Joined: Fri May 16, 2008 10:20 am

Re: [SOLVED] Problem: can't add new content

Post by Nagadash »

In a way I have now solved the problem. I can add new content with direct SQL-queries within myPphpAdmin program.
So the problem is the wrong query that my admin panel sends to the database, when I try to add new content.
Modifying, updating (well apparently everything else) works out with admin panel (Content->pages) just fine.

Well it would be a bit cooler and easier, if the admin panel would do it for me, but as the sites work as well as they now do, I don't need any urgent help with this.
alby

Re: [SOLVED] Problem: can't add new content

Post by alby »

Nagadash wrote: In a way I have now solved the problem. I can add new content with direct SQL-queries within myPphpAdmin program.
So the problem is the wrong query that my admin panel sends to the database, when I try to add new content.
Modifying, updating (well apparently everything else) works out with admin panel (Content->pages) just fine.

Well it would be a bit cooler and easier, if the admin panel would do it for me, but as the sites work as well as they now do, I don't need any urgent help with this.
I missing this post  :-[

Can you post the wrong query for new page?

Alby
Nagadash
New Member
New Member
Posts: 3
Joined: Fri May 16, 2008 10:20 am

Re: [SOLVED] Problem: can't add new content

Post by Nagadash »

Ok, I don't know is this the query you mean, but when I try to add new content in CMSMS debug mode the query it shows to me is:
DELETE FROM cms_content_props WHERE content_id = ? AND prop_name = ?
INSERT INTO cms_content_props ( content_id, type, prop_name, param1, param2, param3, content, modified_date ) VALUES ( ?,?,?,'','','',?,'2008-06-09 14:29:43' )
I can add new content by going to the phpMyAdmin->cms_content->Insert page and modifying every field (there are 30 of them) as I want.

Nagadash
alby

Re: [SOLVED] Problem: can't add new content

Post by alby »

Nagadash wrote: Ok, I don't know is this the query you mean, but when I try to add new content in CMSMS debug mode the query it shows to me is:
DELETE FROM cms_content_props WHERE content_id = ? AND prop_name = ?
INSERT INTO cms_content_props ( content_id, type, prop_name, param1, param2, param3, content, modified_date ) VALUES ( ?,?,?,'','','',?,'2008-06-09 14:29:43' )
I can add new content by going to the phpMyAdmin->cms_content->Insert page and modifying every field (there are 30 of them) as I want.
In debug mode if a query is wrong you have a message:
Error (1):  ..........

That it's the query with problem

Alby
Locked

Return to “[locked] CMSMS MLE fork”