close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

php syntax again

Thread begun 5/09/2010 8:30 am by info406008 | Last modified 8/23/2010 5:45 pm by MikeH | 3116 views | 7 replies |

info406008

php syntax again

Hi there,

I have exactly the same problem listed elsewhere on this forum- the content name and location are not generated in the developer notes.

E.g.

<?php
include('/home/sites/mysite.com/public_html/cms/WA_CMS/addtosite.php');
echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, '@@content-group@@', '@@content-ref@@', false@@order@@);
?>

I have followed the advice given by Jason Byrnes here: showthread.php?t=12143

..but with no success.

It works fine on my MAMP testing server but as soon as I upload to the internet it fails.

I also tried reinstalling but again no success.

I'm uploading to a Linux server on Heart Internet.

Any help MUCH appreciated!

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
login.php

Sign in to reply to this post

MikeH

Just found this post Im on the same host Heart Internet and it does not work for me either.

Never had a problem with any solution or extension in the past with this host always been very good.

Mike

Sign in to reply to this post

Jason ByrnesWebAssist

In the Download Center for PowerCMS, there is a known issue fix for this problem.

Please log into the download center and go to the PowerCMS section, then look in the Known Issues section.

Sign in to reply to this post

MikeH

Hi Jason
Tried that already same problem.

Just get all the code like this:

........... deleted the rest : '@@content-group@@', '@@content-ref@@', false@@order@@

So a little lost now.

Mike

Sign in to reply to this post

MikeH

Jason something I have noticed is in firefox it gives some details of errors:

Error: missing ; before statement
Source File: Fuel.php.js
Line: 1, Column: 2
Source Code:
(8)Exec format error: exec failed (Fuel.php.js)



IE (latest)

Webpage error details

Message: Expected ';'
Line: 1
Char: 4
Code: 0
URI: Fuel.php.js

Message: Expected ';'
Line: 1
Char: 4
Code: 0
URI: Fuel.php.js?1282572272124



Not sure if that helps.

Mike

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

Sign in to reply to this post

MikeH

---Alos posted this in another thread about the same problem---

Right looks like its very simple to fix I have done a few tests and all seems to be working prefect so far (fingers crossed).

1. Outside Dreamweaver rename Fuel.php.js to fuelphp.js
2. Inside dreamweaver do a find/replace on all local files (7 instances should be found)

find Fuel.php.js
replace with fuelphp.js

Upload the changed files and test

I have found it works in all browsers with colour highlighting and the correct link now shown in dev notes.

I hope this helps some of you who are stuck too.

Mike

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...