close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Image Upload problem Live Server

Thread began 11/14/2011 12:02 pm by Steve E | Last modified 11/14/2011 1:41 pm by Jason Byrnes | 709 views | 7 replies |

Steve E

Image Upload problem Live Server

Hi
I have a problem with images being uploaded to my server, I am testing the update images page which works perfectly on my local machine.
I have file permissions set to 755 (I have also tried 775 and 777) for the directory. The file name displays in the dB and the location prefix is added correctly, but no upload is taking place.
We are hosted on a VPS Cloud hosted solution, any ideas what could be causing this, I have tried this several times to no avail, your help would be greatly apreciated.
I have attached the file FYI
Thanks in advance

Sign in to reply to this post

Jason ByrnesWebAssist

to troubleshoot, edit this line:
$WA_redirectURL = "images_Detail.php?imageID=".((isset($_POST["WADAUpdateRecordID"]))?$_POST["WADAUpdateRecordID"]:"") ."";


to:
$WA_redirectURL = " ";


so that no redirect occurs

add this code at line 1:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>



to turn error reporting on

and add this code after the <body> tag to show the upload results:

php:
<?php echo WA_DFP_AllUploadsDebug(); ?>




post back the info these changes write to the screen after testing the upload.

Sign in to reply to this post

Steve E

Edited for security

Sign in to reply to this post

Jason ByrnesWebAssist

hmmmmm, change:
<?php echo WA_DFP_AllUploadsDebug(); ?>


to:
<?php echo WA_DFP_AllUploadsDebug(); ?>
<pre><?php var_dump($_FILES); ?></pre>

and post back the results after testing upload again.

Sign in to reply to this post

Steve E

Edited for security

Sign in to reply to this post

Steve E

This page is also failing to update on my local server as well as my product update page which uses a different directory? They were all working a couple of weeks ago?

Sign in to reply to this post

Steve E

Hi Jason
I have re applied my original template and every thing seems to be ok with this now. I must of moved some code when I tweaked the admin pages prior to upload sorry to waist your time.

Sign in to reply to this post

Jason ByrnesWebAssist

OK, glad to hear it is working.

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