close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Help! Major Powerstore Parse error

Thread began 3/05/2010 7:48 am by Neilious | Last modified 3/05/2010 10:21 am by Jason Byrnes | 936 views | 2 replies |

Neilious

Help! Major Powerstore Parse error

Help this appears at the top of the homepage, my client was adding products to the site via the admin area at the time but that was all that was going on.

Parse error: syntax error, unexpected T_STRING in /web2/user23268/website/WA_Globals/WA_Globals.php(58) : eval()'d code on line 1

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /web2/user23268/website/WA_Globals/WA_Globals.php(58) : eval()'d code:1) in /web2/user23268/website/WA_eCart/WA_eCart_Definition_PHP.php on line 480

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /web2/user23268/website/WA_Globals/WA_Globals.php(58) : eval()'d code:1) in /web2/user23268/website/WA_eCart/WA_eCart_Definition_PHP.php on line 480

I've replaced the WA_Globals.php, WA_eCart_Definition_PHP.php with original backup files but it's made no difference.

Please help, I'm completly stuck

Sign in to reply to this post

Neilious

Big relief - solved

Solved it by searching the forum here's Jason's solution

Originally Said By: Jason Byrnes
  This can happen if you use an apostrophe i nthe store name.

in the WA_Globals.php file, change line 58:
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

Jason ByrnesWebAssist

This is also posted as a known issue in the Power Store 3 download page.

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