close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

fileupload - works perfectly locally but not in production

Thread began 9/13/2022 11:33 am by RSan48945523 | Last modified 9/20/2022 2:01 pm by Ray Borduin | 148 views | 5 replies |

RSan48945523

fileupload - works perfectly locally but not in production

1st: I am so thankful for your product. It has enabled me to support my family. Truly grateful. Thank you!

2nd: Here is the issue.

The file upload feature works "perfectly" on my local environment. Its Mac running MAMP with PHP 7.1.33 and MySQL 5.7.34 port 8889
The selected file uploads to the correct images directory and also saves a thumbnail to a "thumb" directory inside the images director.
The file name is inserted into the data base and again is perfect.

in the production environment with is AWS Lightsail instance using:

Server: 127.0.0.1 via TCP/IP
Server type: MariaDB
Server connection: SSL is not being used Documentation
Server version: 10.3.32-MariaDB - Source distribution
Protocol version: 10
User: root@127.0.0.1
Server charset: UTF-8 Unicode (utf8)

Apache/2.4.51 (Unix) OpenSSL/1.1.1n
Database client version: libmysql - mysqlnd 7.4.25
PHP extension: mysqli Documentation curl Documentation mbstring Documentation
PHP version: 7.4.25

On the light sail instance (production) all of the fields which need to insert into the data base do so... except the file path/file upload field and the images/files do not uploads....

I'm sure its something simple or something I am overlooking.

Oh you will notice that I have renamed the directories and includes for the "webassist/" includes to "../mktg_app_/" it makes it simpler on my end to manage.

I hope you can help me with this and I am more than happy to forward any additional information or access to help resolve this problem I am having.

Again thank you so very much for your help...
Warmest regards,
Robert

Sign in to reply to this post

Ray BorduinWebAssist

Usually this is just a file permissions issue on the live server preventing upload. It could be a bad php.ini setting for the temp upload folder as well. I'd need FTP access to fully debug. If you give me a call I can do screen sharing with you to help you track it down, or just send me ftp information and the url to the site in the private area and I can test and let you know.

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

RSan48945523

fileupload - works perfectly locally but not in production

Originally Said By: Ray Borduin
  Usually this is just a file permissions issue on the live server preventing upload. It could be a bad php.ini setting for the temp upload folder as well. I'd need FTP access to fully debug. If you give me a call I can do screen sharing with you to help you track it down, or just send me ftp information and the url to the site in the private area and I can test and let you know.  
Sign in to reply to this post

Ray BorduinWebAssist

I'm having trouble with getting ftp working. Can you call me? Then we can do screen sharing and I can take a look using your connection.

I've been doing some research and it appears you may need to do some special coding for AWS for file uploads and use their API. I can take a look with you, but the answer may not be simple.

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

RSan48945523

fileupload - works perfectly locally but not in production

Originally Said By: Ray Borduin
  I'm having trouble with getting ftp working. Can you call me? Then we can do screen sharing and I can take a look using your connection.

I've been doing some research and it appears you may need to do some special coding for AWS for file uploads and use their API. I can take a look with you, but the answer may not be simple.  
Sign in to reply to this post

Ray BorduinWebAssist

Just call me whenever is convenient to you and we can schedule another time if I'm busy.

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

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