unable to add new pages after upgrading to cmsmadesimple 1.8.1 [SOLVED]

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
davids355
Power Poster
Power Poster
Posts: 279
Joined: Fri Apr 04, 2008 10:08 am
Location: UK

unable to add new pages after upgrading to cmsmadesimple 1.8.1 [SOLVED]

Post by davids355 »

I have just upgraded my cmsmadesimple installation.

I was running cmsms 1.7.1
done a base upgrade to 1.8 run the upgrade script etc.

then I done a diff to 1.8.1

Everything seemed to work fine untill I tried to add new content - when I go to make a new page, there is no content block so I cannot add any content, also when I try copying an existing page, it will not let me.

I am running tinymce 2.7.2 which I beleive came with the new cmscore.

I have tryed completely removing tinymce and reinstalling it, no help.

Can someone give me some pointers?

Thanks in advance
Last edited by davids355 on Thu Jul 15, 2010 10:47 am, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: unable to add new pages after upgrading to cmsmadesimple 1.8.1

Post by RonnyK »

Do you have the {content} tag in your template? As it is required to have the default {content} call

Ronny
davids355
Power Poster
Power Poster
Posts: 279
Joined: Fri Apr 04, 2008 10:08 am
Location: UK

Re: unable to add new pages after upgrading to cmsmadesimple 1.8.1

Post by davids355 »

I have {$capturedcontent} but I did try putting {content} back in the template, and it didn't help...
davids355
Power Poster
Power Poster
Posts: 279
Joined: Fri Apr 04, 2008 10:08 am
Location: UK

Re: unable to add new pages after upgrading to cmsmadesimple 1.8.1

Post by davids355 »

Ok I found the problem - I created a new template, made it default, then everything worked fine.

After that I found that a UDT name {contentads} was causing the problem - after reading the links by ziggywigged, it seems that anything with "content" in is being interpreted as the content?

So anyway, I renamed my UDT to contenads and it works fine!

Thanks for the help!
odo
Forum Members
Forum Members
Posts: 10
Joined: Wed Jul 30, 2008 7:35 pm

Re: unable to add new pages after upgrading to cmsmadesimple 1.8.1 [SOLVED]

Post by odo »

Just thought I’ll write here my latest findings on subject (could be helpful for someone who finds him/herself in same situation where I was). I too had issues after upgrading to 8.1 and as I had similar situation before (upgrade 1.3 to 1.6 for example etc) I started to investigate what went wrong this time. Basically after upgrade everything seemed fine except the fact that I couldn’t add new content. I had content area to write to but after submit despite CMS’s somewhat misleading statement “ The content was successfully added to the database ” nothing was in fact added. And what turned out in my case was, that upgrade script was unable to upgrade database schema from 32 to 33 (found out this in debug mode). No errors were displayed during process  - message about converting from 32 to 33 claimed success. In reality it wasn’t and when I checked upgrade script I noticed that one field (secure) was added during this upgrade to content table. Of course when inserting new data CMS tried to save to that field but as it was missing error was generated (but not displayed of course) and nothing was saved. In my case upgrade script was unable to add field because in live environment database user had no ALTER rights.
So in conclusion I suggest two things that could save some time for future upgraders ;)
1. some verification method for schema upgrade script to see if it has rights to alter something
2. CMS itself to somehow verify content after save and display message based on actual events (if not saved then error message)
Post Reply

Return to “CMSMS Core”