Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
luguser  
#1 Posted : Friday, September 23, 2011 2:57:58 AM(UTC)
luguser

Rank: Newbie

Groups: Member
Joined: 8/10/2011(UTC)
Posts: 7

Hi there,

We have being using Aurigma Up for a while now and have found it to be outstanding. However, recently, the data being passed through the app has been getting lost.

We pass 3 additional fields which are used to determine the upload folder for the files. These are included in the "fields" section and the link is constructed as required. We have separated these fields using both semi-colons and URL encoded information but everything AFTER the first field is not being passed through. i.e. we pass a folder and subfolder to the script and the folder is passed fine but the subfolder is lost.

This was working fine but is not working now.

Please advise,
p.shirykalova  
#2 Posted : Friday, September 23, 2011 2:59:32 AM(UTC)
p.shirykalova

Rank: Advanced Member

Groups: Member
Joined: 7/13/2011(UTC)
Posts: 286

Thanks: 6 times
Was thanked: 31 time(s) in 31 post(s)
Hello Philip,

Could you please share your code snippet?
Best regards,
Pauline Shirykalova
Aurigma Technical Support
luguser  
#3 Posted : Friday, September 23, 2011 3:06:26 AM(UTC)
luguser

Rank: Newbie

Groups: Member
Joined: 8/10/2011(UTC)
Posts: 7

Hi Pauline,

aurup:?uploadUrl=https://www.WEBSITE.com/uploader.php&redirectUrl=https://www.WEBSITE.com/page.php?jobID=0000068&returnUrl=https://www.WEBSITE.com/page.php?jobID=0000068&licenseKey=LICENCEKEY&fields=field1=222222;field2=0000068;field3=testinformation&redirectDelay=3&

We have also tried the URL encoded version but with the same results. "field1" is passed fine but the others get lost.

Thanks,

Philip
Dmitry.Obukhov  
#4 Posted : Monday, September 26, 2011 12:14:00 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Good day Philip,

I checked my testing AurigmaUp sample where I set the same fields as you did. On the server side I parsed POST request and saved all these fields to a text file. Here is my client-side code:
Code:
 <a href="aurup:?uploadUrl=http://obukhov-pc.main.aurigma.com/ipad/upload.php&fields=field1=222222;field2=0000068;field3=testinformation&licenseKey=79FF4-00000-00001-58D14-8E432-2ABBEF">Upload Images</a>

This is the server-side one:
Code:

<?php 
$username = $_POST["username"];
$path = realpath('./Temp/') . DIRECTORY_SEPARATOR;
$fileCount = $_POST["PackageFileCount"];
$field1 = $_POST["field1"];
$field2 = $_POST["field2"];
$field3 = $_POST["field3"];
$path1 = $_SERVER['DOCUMENT_ROOT'] . "/post.txt";
file_put_contents($path1, json_encode($field1."  ".$field2. "  ". $field3));
for ($i = 0; $i < $fileCount; $i++) {
    if (isset($_FILES['File0_' . $i])) {
        move_uploaded_file($_FILES['File0_' . $i]['tmp_name'], $path . $_POST['SourceName_' . $i]);
    }
}
?>

The content of post.txt file:
Code:
 "222222  0000068  testinformation"

As we can see all fields were saved. Please check you server-side code. You can share it here, and we will have a look into this.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
luguser  
#5 Posted : Monday, September 26, 2011 1:08:37 AM(UTC)
luguser

Rank: Newbie

Groups: Member
Joined: 8/10/2011(UTC)
Posts: 7

We have checked our server side code. All fields after the first field are lost.

Our output to the same text file is:

"222222"
Dmitry.Obukhov  
#6 Posted : Monday, September 26, 2011 1:47:08 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Please share your server-side code. I will check it locally.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
luguser  
#7 Posted : Monday, September 26, 2011 2:01:52 AM(UTC)
luguser

Rank: Newbie

Groups: Member
Joined: 8/10/2011(UTC)
Posts: 7

Hi Dimitry,

$field1 = $_POST["field1"];
$field2 = $_POST["field2"];
$field3 = $_POST["field3"];

We have tried several times and the field information is lost after the first field. When we rearrange the firled in the link only the 1st field is passed.

Dmitry.Obukhov  
#8 Posted : Monday, September 26, 2011 2:32:08 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Paul, please share your complete server-side code or attach a page with it to the post. I should check it. The code you gave me previously is working fine for me. By the point, please try to test my complete code I shared. Will all fields be saved?

Edited by user Monday, September 26, 2011 2:32:46 AM(UTC)  | Reason: Not specified

Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
luguser  
#9 Posted : Monday, September 26, 2011 3:15:17 AM(UTC)
luguser

Rank: Newbie

Groups: Member
Joined: 8/10/2011(UTC)
Posts: 7

Hi Dimitry,

We have checked out request page code and all is fine. We have checked our upload page (server side) code and it is fine. The fields being posted are not working. If I hard code values into our server side code then those values work, however, when we rely on the fields being posted through the app they do not work. This is a new problem as the code used to work fine. We haven't changed anything on our code for several months and this issue has just appeared recently.
luguser  
#10 Posted : Monday, September 26, 2011 3:27:56 AM(UTC)
luguser

Rank: Newbie

Groups: Member
Joined: 8/10/2011(UTC)
Posts: 7

Hi Dimitry,

For information, we renemed our fields passed to "field1" "field2" and "field3" and they worked. It would seem that the code doesn't like custom field names. Was this stated in the resources section?
Dmitry.Obukhov  
#11 Posted : Monday, September 26, 2011 8:48:43 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Philip,

I tried different custom names of fields, but I could not replicate the problem you experience. I will check it again. If I found something, I will let you know. Now please use those fields’ names you set last time.

Edited by user Monday, September 26, 2011 8:49:32 PM(UTC)  | Reason: Not specified

Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
mauroacras  
#12 Posted : Sunday, March 17, 2013 11:06:35 AM(UTC)
mauroacras

Rank: Newbie

Groups: Member
Joined: 8/19/2012(UTC)
Posts: 2

Thanks: 1 times
Dmitry.Obukhov wrote:
Hello Philip,

I tried different custom names of fields, but I could not replicate the problem you experience. I will check it again. If I found something, I will let you know. Now please use those fields’ names you set last time.




Hi Dmitry

I'm having the same problem, did you find out what causes it?
vitaly  
#13 Posted : Sunday, March 17, 2013 8:54:46 PM(UTC)
vitaly

Rank: Advanced Member

Groups: Member
Joined: 12/19/2012(UTC)
Posts: 164

Was thanked: 8 time(s) in 8 post(s)
Hello mauroacras,

Dmitry do not work in our team any more.
Could you please share your code snippet?
Best regards,
Vitaly Kustov
Aurigma Technical Support
thanks 1 user thanked vitaly for this useful post.
mauroacras on 3/18/2013(UTC)
mauroacras  
#14 Posted : Monday, March 18, 2013 5:08:41 PM(UTC)
mauroacras

Rank: Newbie

Groups: Member
Joined: 8/19/2012(UTC)
Posts: 2

Thanks: 1 times
vitaly wrote:
Hello mauroacras,

Dmitry do not work in our team any more.
Could you please share your code snippet?



I solved the problem yesterday, it was my mistake, I used // to coment out the line that had the href tag like if it was in a php section, but it was in a html section. Sorry.
vitaly  
#15 Posted : Monday, March 18, 2013 7:42:41 PM(UTC)
vitaly

Rank: Advanced Member

Groups: Member
Joined: 12/19/2012(UTC)
Posts: 164

Was thanked: 8 time(s) in 8 post(s)
mauroacras,

Feel free to contact me if you have any questions.
Best regards,
Vitaly Kustov
Aurigma Technical Support
loydwilson  
#16 Posted : Friday, April 12, 2013 6:37:14 PM(UTC)
loydwilson

Rank: Newbie

Groups: Member
Joined: 11/13/2008(UTC)
Posts: 2

Am a long term Aurigma Uploader user but having trouble with the following aurup link. Uploads test photos no problem but can't seem to get parameters either cookie or field values to redirecturl which are used to classify the photos. Please review to see if I am doing something wrong. Thank you. Randy

<a href="aurup:?uploadUrl=http%3A%2F%2Fwww.retailgis.com%2Frgis_portal%2Fimagemanage%2Fdlphotoupload2_mobile.htx&redirectUrl=http%3A%2F%2Fwww.retailgis.com%2Frgis_portal%2Fimagemanage%2Fdlphotoupload3_mobile.htx&redirectDelay=3&returnUrl=http%3A%2F%2Fwww.retailgis.com%2Frgis_portal%2Fimagemanage%2Fdlphotoload1_mobile.htx&minImageCount=1&maxImageCount=10&licenseKey=79FF4-001B9-82956-28F08-9B222-3E6FC4&minimumVersion=1.4&cookies=user_id_no%3D1004005&fields=store_id_no%3D100000%3Bretailer_id_no%3D120000">MOBILE</a>

Edited by user Friday, April 12, 2013 7:25:40 PM(UTC)  | Reason: Not specified

Tanya  
#17 Posted : Tuesday, April 16, 2013 11:50:01 PM(UTC)
Tanya

Rank: Advanced Member

Groups: Member
Joined: 5/14/2007(UTC)
Posts: 24

Was thanked: 1 time(s) in 1 post(s)
Hello,

Cookies and fields are sent to uploadurl (no redirecturl). If, however, you cannot get them on your uploadurl script, try to update AurigmaUp to the latest version.
Best regards,
Tatyana Bertyakova

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.