close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Display Manager Parse error

Thread began 7/27/2011 6:18 am by vmartinez310076 | Last modified 7/27/2011 7:21 am by vmartinez310076 | 926 views | 2 replies |

vmartinez310076

Display Manager Parse error

I'm using eCart 5.0.3
When adding items to the cart, I keep getting the following errors:

Parse error: parse error in C:\wamp\www\PhoenixCruiser\WA_eCart\WA_eCart_Definition_PHP.php(477) : eval()'d code on line 1

Notice: Undefined variable: nextItem in C:\wamp\www\PhoenixCruiser\WA_eCart\WA_eCart_Definition_PHP.php on line 478

I have attached a zip file with containing the files.

An help will be greatly appreciated.

Thanks,
Vince

Attached Files
WA_eCart_Definition_PHP.zip
Sign in to reply to this post

Ray BorduinWebAssist

I don't think this is an issue with the pages you have attached. Maybe an issue with the item added itself, or maybe something to do with having magicQuotesGPC enabled and having a quote in the product name?

One way to debug is to comment out lines 477 and 478 where the errors occur and add this line in its place:
echo("\$nextItem =".$toExec.");");

Then add this a few lines later before the "return $retArray;" line:
die();

Then when you go to the page that was giving the error it would write the code to the page that was causing the error. If I looked at that I'd be able to be more confident in my diagnosis.

Without seeing that my best guess is that you have magicquotesgpc enabled and have a quotation mark in your product name.

Sign in to reply to this post
Did this help? Tips are appreciated...

vmartinez310076

Fixed

Thank you. I did have magicquotesgpc enabled.

Vince

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