close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

File Upload Problems

Thread began 11/30/2012 1:42 pm by veevee06427071 | Last modified 12/03/2012 9:46 am by Jason Byrnes | 1300 views | 6 replies |

veevee06427071

File Upload Problems

I've successfully implemented it on site (vmstechnologygroup.com/merchant_home1.php) but when I copy the code along with the associated include files over to another domain (buckledownfinance.com/merchant_home1.php) the upload image does not work. Both URLs are linked to the same database, they have the same folders, same include files, etc. I'm not quite sure what the issue is. I've included the code below which is identical on both domains but it doesn't upload when using it on the buckledownfinance.com/merchant_home1.php.

The name of the file isn't being added to the database correctly. When that column is empty in the database it'll show an image to request an image be uploaded.

Sign in to reply to this post

veevee06427071

File Upload Problems

Here is the code.

Attached Files
code.txt
Sign in to reply to this post

Jason ByrnesWebAssist

to troubleshoot add the following code at line 1:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
if(
$_SERVER['REQUEST_METHOD'] == "POST) {
    var_dump(
$_FILES);
}
?>



and post back the results after trying the upload again.

Sign in to reply to this post

veevee06427071

Update

I've added the code to line 1 and tried re-uploading an image but I'm not receiving any errors. The name of the file isn't being placed into the database as it should.

Thx,
Vernon

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

veevee06427071

Fixed

I've resolved the issue. I went through the server (Plesk Panel via Godaddy VPS) to see if there were any differences in settings between the two domains. The domain that wasn't working had the option "PHP support" set as Apache Module. Once I switched it to FastCGI Application like the working domain it began to function properly.

Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

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