close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Error when open CMS

Thread began 11/06/2010 9:05 am by massimo173451 | Last modified 11/09/2010 9:27 am by Jason Byrnes | 2471 views | 7 replies |

massimo173451

Error when open CMS

I have installed with success PowerCMS with PS 4, but when log in CMS iget on top page following message and no Content available for edit, what's wrong???


Parse error: syntax error, unexpected T_STRING in /web/htdocs/xxxxxxxxxxxxxx/home/PowerCMS/WA_Globals/WA_Globals.php(58) : eval()'d code on line 1




Regards:

Massimo

Sign in to reply to this post

Jason ByrnesWebAssist

edit line 58 of the WA_Globals/WA_Globals.php

php:
eval("\$WAGLOBAL_".$value[$x][4]."='".replaceTokens($value[$x][1],$tabs)."';");




to:

php:
eval("\$WAGLOBAL_".$value[$x][4]."='".addslashes(replaceTokens($value[$x][1],$tabs))."';");
Sign in to reply to this post

massimo173451

Thanks Jason, the first issue is solved, but the Contents are not available for edit (is possible only add the Content but nothing is showed, the web site has the pages (generated by PS4 installation)) why?



Massimo

Sign in to reply to this post

Jason ByrnesWebAssist

I'm sorry, I dont follow what you mean, can you send a screen shot demonstrating the issue?

Sign in to reply to this post

massimo173451

Jason, I have attached the image for show the issue, no Content available when enter as administrator in my web site why?





Massimo

Sign in to reply to this post

Jason ByrnesWebAssist

When you first install Power CMS, there is no content in the database, you need to add the content by clicking the plus button next to content.

Sign in to reply to this post

massimo173451

Thanks Jason as always for you answer.




Massimo

Sign in to reply to this post

Jason ByrnesWebAssist

You're welcome.

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