{solved}Blank pages in admin upgrade 1.10.3 to 1.11.1

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
jospanner
Forum Members
Forum Members
Posts: 105
Joined: Tue Mar 25, 2008 11:34 pm

{solved}Blank pages in admin upgrade 1.10.3 to 1.11.1

Post by jospanner »

System details:

Cms Version: 1.11.1

Installed Modules:

CMSMailer: 5.2.1
FileManager: 1.4.0
MenuManager: 1.8.3
ModuleManager: 1.5.5
News: 2.12.8
Printing: 1.1.2
Search: 1.7.7
ThemeManager: 1.1.7
TinyMCE: 2.9.11
Gallery: 1.6
FormBuilder: 0.7.3
CMSPrinting: 1.0.3
MicroTiny: 1.2.3


Config Information:

php_memory_limit:
process_whole_template:
output_compression: false
max_upload_size: 10000000
url_rewriting: mod_rewrite
page_extension: .htm
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


----------------------------------------------

Front end looks and works fine. In back end, when I click on any page to update/view content its blank. I've tried different admin themes. All modules are up to date. I assume TinyMCE is compatible with 1.11?

Can anyone help please?
Thanks
Last edited by jospanner on Wed Aug 22, 2012 2:09 pm, edited 1 time in total.
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Blank pages in admin upgrade 1.10.3 to 1.11.1

Post by Jos »

Did you check on error messages with debug turned on?
jospanner
Forum Members
Forum Members
Posts: 105
Joined: Tue Mar 25, 2008 11:34 pm

Re: Blank pages in admin upgrade 1.10.3 to 1.11.1

Post by jospanner »

I turned on debug and it didn't seem to show any errors that I could see.
jospanner
Forum Members
Forum Members
Posts: 105
Joined: Tue Mar 25, 2008 11:34 pm

Re: Blank pages in admin upgrade 1.10.3 to 1.11.1

Post by jospanner »

Ah - found this in the Admin Log
ERROR DETECTED: Call to a member function GetPropertyValue() on a non-object at /home/joannacr/public_html/tmp/templates_c/c1345639064^3d7ba5f4dd7ddf8968c7922156392ba2993219fe.template.28.php:37
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Blank pages in admin upgrade 1.10.3 to 1.11.1

Post by Jos »

Maybe a UDT is causing this?
jospanner
Forum Members
Forum Members
Posts: 105
Joined: Tue Mar 25, 2008 11:34 pm

Re: Blank pages in admin upgrade 1.10.3 to 1.11.1

Post by jospanner »

I had this in my template that I think could be the culprit:

<title>
{capture assign='title'}{$content_obj->GetPropertyValue('extra1')}{/capture}
{if $title !=''}
{$title}
{else}
{title}
{/if}</title>

<meta name="description" content="{capture assign='description'}{$content_obj->GetPropertyValue('extra2')}{/capture}
{if $description !=''}
{$description}
{else}
Bespoke and affordable website design for businesses in Buckingham and Milton Keynes and throughout Buckinghamshire, Bedfordshire, Northamptonshire & Oxfordshire.{/if}"/>

Problem is - I have this in several sites as added by an seo specialist - can you please point out what is causing an issue with the code?

Thanks
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Blank pages in admin upgrade 1.10.3 to 1.11.1

Post by Jos »

I think that the $content_obj variable isn't available anymore
jospanner
Forum Members
Forum Members
Posts: 105
Joined: Tue Mar 25, 2008 11:34 pm

Re: Blank pages in admin upgrade 1.10.3 to 1.11.1

Post by jospanner »

Thanks Jos - very helpful. Will check it out.
jospanner
Forum Members
Forum Members
Posts: 105
Joined: Tue Mar 25, 2008 11:34 pm

Re: {solved}Blank pages in admin upgrade 1.10.3 to 1.11.1

Post by jospanner »

You don't happen to know an alternative that achieves the same effect by any chance?
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Blank pages in admin upgrade 1.10.3 to 1.11.1

Post by Jos »

I guess you can solve it like this (not tested)

Replace:

Code: Select all

{capture assign='title'}{$content_obj->GetPropertyValue('extra1')}{/capture}
With this:

Code: Select all

{page_attr key='extra1' assign='title'}
And replace:

Code: Select all

{capture assign='description'}{$content_obj->GetPropertyValue('extra2')}{/capture}
With this:

Code: Select all

{page_attr key='extra2' assign='description'}
jospanner
Forum Members
Forum Members
Posts: 105
Joined: Tue Mar 25, 2008 11:34 pm

Re: {solved}Blank pages in admin upgrade 1.10.3 to 1.11.1

Post by jospanner »

That's it !

Thank you so much Jos - really appreciate it as I would never have come up with the solution.
Locked

Return to “[locked] Installation, Setup and Upgrade”