close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

PowerCMS2 - Known Issue / Solution For Developer Notes causing PHP Errors

Thread began 8/12/2010 8:23 am by Jason Byrnes | Last modified 10/15/2010 9:57 am by Jason Byrnes | 3158 views | 6 replies |

Jason ByrnesWebAssist

PowerCMS2 - Known Issue / Solution For Developer Notes causing PHP Errors

For some users, the developer notes are not being created properly.

They are created as:

php:
echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, '@@content-group@@', '@@content-ref@@', false@@order@@);




We have identified a fix for this issue. Log in and visit the Download Center. Click on PowerCMS 2; then click on the Known Issues section. Download the related zip file and follow the instructions in the readme file.

Sign in to reply to this post

melvin380639

Still Doesn't work for me.

I've uninstalled and reinstalled with the new file and i still get the incorrect code. What am i doing wrong?

Sign in to reply to this post

Jason ByrnesWebAssist

the issue is that some Apache servers will treat files with .php anywhere in the file as php.

So the lighter.php.js file is being processed by the php engine instead of being treated as a js file.

the work around is to set the handler mapping in Apache to only process a file as php if it ends in .php.

the people who wrote the lighter.php.js code have the following FAQ:
faq/


you may need o contact your host to make the change to the handler mapping.

Sign in to reply to this post

colin.needham292860

Right, I've spoken to my hosting company and that is something they are not willing to do on the server, is there a way of mr implementing this via a php.ini file, failing that I will have to revert back to version 1 of Power CMS

Sign in to reply to this post

Jason ByrnesWebAssist

see this thread for a second way to fix the issue:
showpost.php?p=72120&postcount=30


basically it involves changing the name of the js/lighter/fuel.php.js file to fuelphp.js, then using the Dreamweaver find function to find all references in the code to fuel.php.js to fuelphp.js

Sign in to reply to this post

MikeH

Just added a note to that post Jason slightly quicker route :)

Sign in to reply to this post

Jason ByrnesWebAssist

nice, thanks for the update.

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