Invalid Content error

84 views
Skip to first unread message

vritant Naresh jain

unread,
Oct 28, 2012, 3:29:55 AM10/28/12
to cro...@googlegroups.com
as a part of making a croogo template for a cloud , I moved tmp and vendors folder by changing lib/Cake/bootstrap.php
im working with version 1.4.3

I can access the home or about or contact page, but when I try to access a newly created blog or page I get the flash message "Invalid content"

I see the records of the blogs and pages in the db, also was able to create the menu link for the page, so it gets written properly.

I see the following error on the server:

[28/Oct/2012:03:16:10 -0400] "GET /blog/sigh HTTP/1.1" 302 - "https://example.com/admin/nodes" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:15.0) Gecko/20100101 Firefox/15.0.1"
[28/Oct/2012:03:16:10 -0400] "GET / HTTP/1.1" 200 5290 "https://example.com/admin/nodes" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:15.0) Gecko/20100101 Firefox/15.0.1"

I tried changing the debug level in croogo.php to 2 but couldnt see any difference or helpful message on the page or in the logs.

Any idea what I can do next ?

vritant Naresh jain

unread,
Oct 28, 2012, 3:35:26 AM10/28/12
to cro...@googlegroups.com

on trying example.com/<pagename> , as predicted I get "The requested address was not found on this server. "

but on  example.com/page/<pagename> I get that 302 issue as described earlier.

vritant Naresh jain

unread,
Oct 28, 2012, 9:54:46 AM10/28/12
to cro...@googlegroups.com
I'm so embarrassed to report the solution, but I guess a nube is a nube.

so the content was marked public, that does NOT give view access to the admin as well. this is what happens with a java programmer thinks he can do php.


On Sunday, October 28, 2012 3:29:55 AM UTC-4, vritant Naresh jain wrote:

Rachman Chavik

unread,
Oct 29, 2012, 6:57:26 AM10/29/12
to cro...@googlegroups.com
On Sunday, 28 October 2012 20:54:46 UTC+7, vritant Naresh jain wrote:

so the content was marked public, that does NOT give view access to the admin as well. 

If you manually set visibility roles, then yes, you will need to give access to administrator role as well. Permissions are not inherited in 1.4.3
Reply all
Reply to author
Forward
0 new messages