close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

array(0) { }

Thread began 6/24/2013 6:16 pm by Paul | Last modified 6/28/2013 12:10 pm by Paul | 276 views | 2 replies |

Paul

array(0) { }

I've been successfully building the site in my localhost, including the DA Admin section. Today I uploaded it to the webserver and I'm getting a few errors in the admin section, although the products are being updated.

I saw that once I uploaded the admin pages to the webserver, the images that I had on the localhost were not showing up. the _3.jpg or _7.jpg were not in the Product_images folder. Realizing that I don't need to have DA make new images, but replacing was good enough, I changed the page and uploaded to the server.

Now, when I go to the products_insert.php page, I see this: array(0) { } at the top of the page. Updating information and adding new images works fine though.

Once I click "UPDATE", it reloads the page with this at the top:

array(2) { ["prodThumb"]=> array(5) { ["name"]=> string(8) "1555.jpg" ["type"]=> string(10) "image/jpeg" ["tmp_name"]=> string(25) "/tmp/phpuploads/phpqIyewM" ["error"]=> int(0) ["size"]=> int(63822) } ["prodImage"]=> array(5) { ["name"]=> string(8) "1555.jpg" ["type"]=> string(10) "image/jpeg" ["tmp_name"]=> string(25) "/tmp/phpuploads/phpKwKEha" ["error"]=> int(0) ["size"]=> int(63822) } } Warning: Cannot modify header information - headers already sent by (output started at /webroot/c/e/centu002/primary/www/admin/products_update.php:5) in /webroot/c/e/centu002/primary/www/admin/products_update.php on line 131

The images show up perfectly on the results page, as well as the details page although. I don't have any problems on the insert page.

Any thoughts?

Thanks

Attached Files
products_update.php
Sign in to reply to this post

Jason ByrnesWebAssist

remove the following at lines 4 - 6:

php:
if(isset($_FILES)) {

var_dump($_FILES);
}
Sign in to reply to this post

Paul

Sorry I didn't reply quicker, Jason...but this worked.

Thanks again!

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