close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

UE4 Multiple upload problem

Thread began 4/30/2010 5:13 am by John Langer | Last modified 4/30/2010 11:16 am by Jason Byrnes | 2076 views | 5 replies |

John LangerBeta Tester

UE4 Multiple upload problem

I've attached my file.

The problem is that all fields in the insert page work perfectly. Perfectly that is as long as I only do one upload at a time.

The page has 4 upload fields. 3 are for videos and one is for a web image that resizes etc, I can upload with any of the upload fields as long as it's on it's own. The moment I try to use two or more uploads at the same time it just fails. I've tried printing off errors and debugs but they just return blank information.

Any help with this would be gratefully accepted.

Sign in to reply to this post

Jason ByrnesWebAssist

first, to be able to debug, you will need to remove the redirect:
change:
$WA_redirectURL = "video_Detail.php";


to:
$WA_redirectURL = "";

next, make sure the problem is not upload file size, try uploading 4 very small files, if that works, then the problem is the php server.

See the following page for information on settings that will control uploading of large file:
wap_upload.asp?page=php2

Sign in to reply to this post

John LangerBeta Tester

Hi Jason,

Many thanks as always. The problem was, indeed, upload file size. I "thought" that I had it set to 20M (which indeed I had) but that article pointed out various other settings that also needed to be set.

This is on my local machine with WAMP. I know that the remote server is set to 20M I just hope that the other settings are OK. We'll see.

Anyway thanks for the pointer. It may be that I'll have to split the uploads up a bit rather than try an "all at once" approach.

Sign in to reply to this post

Jason ByrnesWebAssist

yeah, php can be tricky with large file uploads, the are a lot of settings that can come into play.


some of those settings can be modified using the php "ini_set" method to override the php.ini settings.


the following page lists all of the php.ini directives:
ini.list.php

look at the changeable column for each directive, this page explains the meaning of each possible value for the changeable column:
configuration.changes.modes.php


so as an example, to change the memory limit, you could use:
<?php ini_set("memory_limit", "256M"); ?>

Just be aware that the server may be configured to ignore you attempted changes. you can see if your changes are taking effect using ini_get:

php:
<?php

echo("Old Memory Limit: ".ini_get("memory_limit")."<br /"):
ini_set("memory_limit""256M");
echo(
"New Memory Limit: ".ini_get("memory_limit")."<br /"):
?>
Sign in to reply to this post

John LangerBeta Tester

Thanks Jason that's going to be very useful.

I actually "run" a VPS (not that I know what I'm doing mind you). The guys I rent it off of are very helpful and usually do things for me, but I am trying to learn as I go.

It gives me a bit more control over what I can achieve for my clients. Asking some hosts to increase max_file_size from 2M is like asking for the moon to stop :-)

Sign in to reply to this post

Jason ByrnesWebAssist

no worries.

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