Cannot add pages. [SOLVED]

Permalink
I solved this problem. For some reason that I cannot remember, I copied the "concrete/elements/collection_add.php" file to "/elements/collection_add.php" in order to modify something about it.

Apparently with the new changes introduced in 5.3.3, something didn't play nice with the older collection_add.php file.

I simply removed my version of the collection_add and the problem fixed itself.

I'd like to thank you for putting PHP debug mode in the dashboard!

Additionally, if anyone else is having strange issues with C5, turn PHP development mode on and it will likely save you some time troubleshooting!

:)
---------------------------
Update: The issue with not being able to move pages was just my stupidity. I failed to drag and drop the page that I wanted to move. Instead I was clicking where I wanted the page to go.
---------------------------
I'm having a weird issue and I cannot track down the cause.

I cannot add pages through the dashboard or the front-end interface. Instead I get a blank selection window (for choosing the page type / meta data, etc.)

See the attached photo.

Additionally, I cannot move/copy/alias pages - in the dashboard I get the message "Choose a new parent page from the sitemap." Clicking pages does nothing (no pop-up). The front-end seems to work (loads move/copy/alias pop-up)

Running Concrete 5.3.3.1
Using Google Chrome.

1 Attachment

glockops
 
frz replied on at Permalink Reply
frz
have you tried with a different browser?

have you tried on another server? You can setup a free demo athttp://getconcrete5.com/demo
glockops replied on at Permalink Reply
glockops
Yep... :(
Get exactly the same thing in all the browsers I've tried.

Firefox 3.5.3
IE 8.0
Chrome 3.0

The site's been working fine on this server for months. Either the 5.3.3, 5.3.3.1 upgrade, or something I've down in the last few days caused this.
glockops replied on at Permalink Reply
glockops
I just upgraded another website from 5.3.2. to 5.3.3.1 and it works fine running on the same server, but another instance.

I'm going to poke around on the other instance and see if I can duplicate the results.

The only thing I can think of right now is that my primary instance uses advance file permissions (something that I had to edit a file to enable, right?) - I'm thinking that could that have something to do with it.
glockops replied on at Permalink Reply
glockops
Still not letting me add pages... :(

Going to try modifying my themes next.

Any other suggestions?
glockops replied on at Permalink Reply
glockops
This is what I get when I load the "add page" overlay from the dashboard

<div class="ccm-pane-header"> 
<script type="text/javascript"> 
$(function() {
   ccm_activateFileSelectors();
});
</script> 
<a class="ccm-button" href="javascript:void(0)" onclick="ccm_hidePane()"><span><em class="ccm-button-close">Close</em></span></a> 
</div> 
<div id="ccm-edit-collection-design"> 
<div class="ccm-pane-controls"> 
<script type="text/javascript"> 
   function makeAlias(value, formInputID) {
      alias = value.replace(/[&]/gi, "and");
      alias = alias.replace(/[\s|.]+/gi, "-");
      alias = alias.replace(/[^0-9A-Za-z-]/gi, "-");


It stops before the first <li> tag is inserted for the page types.
glockops replied on at Permalink Reply 1 Attachment
glockops
I have the calendar package installed, if I choose to add a page under the "Sample Calendar" I get the "Calendar" page type to display, but nothing else - see attached image.
glockops replied on at Permalink Reply
glockops
Here's the error I received when I turned on PHP Development Mode.

Fatal error: Call to undefined method CollectionAttributeKey::getCollectionAttributeKeyID() in /home/smwc/public_html/elements/collection_add.php on line 65

Fixed the problem ^ See top post.