Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Fatal error: Call to a member function getId() for pages/actions/components.class .php on line 20
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Online Selling  
View profile  
 More options Oct 17 2012, 3:45 pm
From: Online Selling <i...@online-selling.co.uk>
Date: Wed, 17 Oct 2012 12:45:17 -0700 (PDT)
Local: Wed, Oct 17 2012 3:45 pm
Subject: Fatal error: Call to a member function getId() for pages/actions/components.class.php on line 20

Hi,*

*I've been given a Symfony site to put from one web server to another. This
itself posed a number of challenges which I have fixed, however I'm stuck
on one now.

I can get the page to half-load, but it stops and I'm presented with this
error:*
Fatal error*: Call to a member function getId() on a non-object in *
/var/www/vhosts/domain.co.uk/apps/frontend/modules/pages/actions/components .class.php
* on line *20

*I've checked the PHP file in question, here are the contents of that file:

Despite the error I know what's *supposed *to be here because I saw the
site beforehand, it's a scrolling news ticker. Unfortunately I'm totally
new to symfony and googling this error has produced no useful help.

Any help you can provide would be greatly appreciated!

Darren


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gareth McCumskey  
View profile  
 More options Oct 18 2012, 5:53 am
From: Gareth McCumskey <gmccums...@gmail.com>
Date: Thu, 18 Oct 2012 11:53:52 +0200
Local: Thurs, Oct 18 2012 5:53 am
Subject: Re: [symfony1] Fatal error: Call to a member function getId() for pages/actions/components.class.php on line 20

You need to find a file called CMSPagePeer.php. In it will be a function
called getPageByHTML. Its in there that the problem will reside. Probably a
file path that needs changing or something.
On 18 Oct 2012 11:39, "Online Selling" <i...@online-selling.co.uk> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Online Selling  
View profile  
 More options Oct 29 2012, 4:15 pm
From: Online Selling <i...@online-selling.co.uk>
Date: Mon, 29 Oct 2012 13:15:24 -0700 (PDT)
Local: Mon, Oct 29 2012 4:15 pm
Subject: Re: [symfony1] Fatal error: Call to a member function getId() for pages/actions/components.class.php on line 20

Hi Gareth,

Thanks for the reply.

Turns out I was using an old version of the database, one which apparently
didn't have content required for the page to display correctly. Once I used
the new database, it worked fine.

Many thanks,

Darren


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »