Can not get CMS Builder to work

7 posts by 2 authors in: Forums > CMS Builder
Last Post: February 19, 2008   (RSS)

By bmatthews - February 19, 2008

Hello,

I have been having some serious problems trying to get the CMS builder to work on http://www.shoreshot.net.

I have used your Pagepublisher and Listing Manager before and have had success with it.

I attached some screenshots showing what I have done in each section but I am still not able to get the site to work properly.

I tried to create a page but ended up getting this.
http://shoreshot.net/homepagepage.php

Thanks for any help,

Brett

Re: [bmatthews] Can not get CMS Builder to work

By bmatthews - February 19, 2008

Here are the screen shots I forgot to attach.
Attachments:

ss1.jpg 152K

ss2.jpg 187K

ss3.jpg 193K

Re: [bmatthews] Can not get CMS Builder to work

By Dave - February 19, 2008

Hi Brett,

So is everything working except homepagepage.php which is giving you an error?

Do you want to reply to this post and attach homepagepage.php? I can try and locally and see if I can determine what the problem is.

Let me know and I'll get right on that.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Can not get CMS Builder to work

By bmatthews - February 19, 2008

I havn't got anything to work yet. This is really just the HTML code from the "show php" section.

Brett
Attachments:

homepagepage.php 3K

Re: [bmatthews] Can not get CMS Builder to work

By Dave - February 19, 2008

Hi Brett,

I looks like just an extra line may have accidentally got deleted. Replace this:

<h1>Homepage Page Viewer</h1>
Content: <?php echo $record['content'] ?><br/>
<?php endif ?>


with this:

<h1>Homepage Page Viewer</h1>
<?php if ($record): ?>
Content: <?php echo $record['content'] ?><br/>
<?php endif ?>


Let me know if that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Can not get CMS Builder to work

By bmatthews - February 19, 2008

Hey Dave,

I am now getting the following error.

http://www.shoreshot.net/homepagepage.php

Fatal error: Call to undefined function: getrecord() in /home/matthew1/public_html/shoreshot/homepagepage.php on line 34

Re: [bmatthews] Can not get CMS Builder to work

By Dave - February 19, 2008

I haven't seen that error before. You'd get that one if it couldn't load the libary file "viewer_functions.php" or if the function "getRecord" didn't exist.

I noticed in the error "getrecord" is lowercased. Check that it didn't accidentally get lowercased in your homepagepage.php code. It should be "getRecord" with a capitol R.

Let me know if that helps. If you continue to have problems you can always send me login details to dave@interactivetools.com (email, don't post in forum) and I can login and take a look.
Dave Edis - Senior Developer
interactivetools.com