close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

PHP error on PowerStore page

Thread began 11/17/2009 9:10 am by Joe Lowery | Last modified 11/17/2009 4:48 pm by Joe Lowery | 1379 views | 2 replies

Joe Lowery

PHP error on PowerStore page

After the Digital File Pro user interface issue was resolved, when testing the page, I get the following error:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\inetpub\wwwroot\Jewelry\Admin\Products_Update.php on line 149

The code chunk involved is the following:

142 <?php
143 // WA_UploadResult1 Params Start
144 $WA_UploadResult1_Params = array();
145 // WA_UploadResult1_1 Start
146 $WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
147 'UploadFolder' => "../images/products/full/",
148 'FileName' => "[FileName]",
149 'DefaultFileName' => "\" . $row_WADAProducts[\"ProductImage\"] . \"",
150 'ResizeType' => "0",
151 'ResizeWidth' => "400",
152 'ResizeHeight' => "400",
153 'ResizeFillColor' => "#FFFFFF" );
154 // WA_UploadResult1_1 End
155 // WA_UploadResult1 Params End?>



The offending line seems to be:

149 	'DefaultFileName' => "\" . $row_WADAProducts[\"ProductImage\"] . \"",



But, I can't find anything wrong there. Can you help?

Best - Joe

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