close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

CMS2 - PHP not correctly scripted

Thread began 4/13/2010 7:27 am by colin159674 | Last modified 4/29/2010 1:14 pm by Neil Beadle | 1249 views | 5 replies |

colin159674

CMS2 - PHP not correctly scripted

Having problems with CMS2 - able to add content to the database but the 'developer notes' PHP script it is giving me is generic for every section.

It gives me:

<?php
include('/home/vhosts/thedancezone.co.uk/httpdocs//WA_CMS/addtosite.php');
echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, '@@content-group@@', '@@content-ref@@', false@@order@@);
?>

What have I done wrong?

Sign in to reply to this post

colin159674

Problem sorted - the url was completely wrong!

Sign in to reply to this post

webassist313939

Error in PoserCMS-2

With this code:
<html>
<body>
<?php
include('/home/MySite/public_html/powercms/WA_CMS/addtosite.php');
echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, '@@content-group@@', '@@content-ref@@', false@@order@@);
?>
</body>
</html>
**** I get This error ****
Parse error: syntax error, unexpected '@' in /MySite/public_html/TestCMS.php on line 3

Is there any possibility of getting help???

Sign in to reply to this post

Jason ByrnesWebAssist

those aren't valid values, you should copy the developer notes code directly out of you PowerCMS admin page.


go to admin/index.php

on the left hand side, select the content you wish to get the developer notes for, and click the developer notes link.

Sign in to reply to this post

niels

problem with Dev. php code

this is the code I copied from powerCMS2 and pasted in the page, result – no text under picture.

<?php
include('/home/k/a/kass/public_html/adm_align/WA_CMS/addtosite.php');
echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, '@@content-group@@', '@@content-ref@@', false@@order@@);
?>

pls see inside1.html

no text under the picture. Please advice PS I the CMS and the page are both on an online server the CMS installed and works just fine

Sign in to reply to this post

Neil Beadle

You've not done anything wrong. This is an issue that seems to appear on some user's servers.

For the solution to this problem, see Jason Byrnes post on this thread...

showthread.php?t=12143

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...