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

Notification

Icon
Error

Options
Go to last post Go to first unread
easyautosales  
#1 Posted : Thursday, July 17, 2008 11:41:40 PM(UTC)
easyautosales

Rank: Newbie

Groups: Member
Joined: 7/17/2008(UTC)
Posts: 2

Are there code samples for the php equivalent fix to the "server redirect not supported" error?
Eugene Kosmin  
#2 Posted : Sunday, July 20, 2008 9:01:32 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 9/19/2006(UTC)
Posts: 505

Was thanked: 41 time(s) in 41 post(s)
Best regards,
Eugene Kosmin
The Aurigma Development Team
easyautosales  
#3 Posted : Sunday, July 20, 2008 11:37:51 PM(UTC)
easyautosales

Rank: Newbie

Groups: Member
Joined: 7/17/2008(UTC)
Posts: 2

Thanks - already seen it and when we tried to implement the fix, it did not work. Hence why I'm interested in seeing if anyone has a php equivalent of the fix.

Maybe we missed something in ours...
Dmitry  
#4 Posted : Tuesday, July 22, 2008 2:26:40 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

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

Try to turn on PHP errors and check whether there are some errors in Java Console.
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
hillierstudio  
#5 Posted : Thursday, February 26, 2009 10:50:16 PM(UTC)
hillierstudio

Rank: Newbie

Groups: Member
Joined: 1/26/2009(UTC)
Posts: 3

Did you ever get a response? I have the same issue...

I've had a support case open for over a month and it still isn't resolved. Here's the code to my default.aspx file. I've tried everything (web.config settings are correct, timeouts are within parameters, etc.). They keep telling me I need to do something with the cookie issue, but nothing they provide me resolves it. Please help!

I know it has something to do with the lines prior to the body, but I figured providing you the whole file would be value-added.

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="Ordering_Default2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Hillier Studio - Upload Pictures</title>

<script type="text/javascript" src="../../Ordering/iuembed.js"></script>
<script type="text/javascript">
function ImageUploaderID_Error(ErrorCode, HttpResponseCode, ErrorPage, AdditionalInfo) {
response.write(ErrorCode & " " & HttpResponseCode & " " & ErrorPage & " " & AdditionalInfo & " ")
}
function ImageUploader_BeforeUpload()
{
getImageUploader("ImageUploader1").AddCookie("ASP.NET_SessionId=<%=Session.SessionID%>");
getImageUploader("ImageUploader1").setUploadThumbnail1Watermark("position=center;offsety=55;opacity=50;size=25;text='Copyright <%=year(now)%> Hillier Studio'");
}
</script>
<link href="../../Ordering/style.css" type="text/css" rel="stylesheet" />
</head>

<body>

<table border="0" align="center" cellspacing="0" cellpadding="4" style="background: #ffffff;
border: 1px #000000 solid;">
<tr>
<td align="right">
<a href="../../Main.aspx">Main</a></td>
</tr>
<tr>
<td>

<script type="text/javascript">
//<![CDATA[
//Create JavaScript object that will embed Image Uploader to the page.
var iu = new ImageUploaderWriter("ImageUploader1", 750, 500);

//For ActiveX control full path to CAB file (including file name) should be specified.
iu.activeXControlCodeBase = "ImageUploader5.cab";
iu.activeXControlVersion = "4,0,63,0";

iu.addEventListener("Error", "ImageUploaderID_Error");

//For Java applet only path to directory with JAR files should be specified (without file name).
iu.javaAppletCodeBase = "../";
iu.javaAppletCached = false;
//iu.javaAppletVersion = "2.0.79.0";
iu.javaAppletVersion = "5.7.24.0";

iu.showNonemptyResponse = "off";


//iu.addParam("LicenseKey", "6375-7594-7529-5259");
iu.addParam("LicenseKey", "72050-10000-310FC-03B68-D9472");


//Configure appearance and behaviour.
iu.addParam("PaneLayout", "ThreePanes");
iu.addParam("FolderView", "Thumbnails");
iu.addParam("UploadView", "Thumbnails");
iu.addParam("FolderPaneHeight", "220");
iu.addParam("ShowDebugWindow", "true");
iu.addParam("EnableRotate", "true");
iu.addParam("ShowDescriptions", "false");
iu.addParam("ShowUploadListButtons", "true");
iu.addParam("BackgroundColor", "#ffffff");
iu.addParam("AllowMultipleRotate", "true");
iu.addParam("AllowMultipleRemove", "False");
//Configure Paste button which will paste screenshots from a clipboard.
//iu.addParam("ButtonPasteText", "Paste Screenshot");
//When a screenshot will be pasted from clipboard it will be named as
//Screenshot.jpg, next one - Screenshot_1.jpg, etc.
//iu.addParam("PasteFileNameTemplate", "Screenshot");

//Make Delete button visible.
iu.addParam("ButtonDeleteFilesText", "Delete Selected");

//Configure file mask to display images only.
iu.addParam("FileMask", "*.jpg;*.jpeg;*.jpe;*.gif;*.png;*.tif;*.tiff;*.psd");

//Append the form with author name to the upload.
//iu.addParam("AdditionalFormName", "Form1");

//Exclude the source file from the upload. Only thumbnails will be sent.
iu.addParam("UploadSourceFile", "false");

//Configure first thumbnail (large image the watermark will be applied to).
iu.addParam("UploadThumbnail1FitMode", "Fit");
iu.addParam("UploadThumbnail1Width", "400");
iu.addParam("UploadThumbnail1Height", "400");
iu.addParam("UploadThumbnail1JpegQuality", "100");
//In this code sample watermark is configured dynamically, based on the author name
//(see BeforeUpload event handler). If you want to put static watermark it will be
//enough to use a similar param:
//iu.addParam("UploadThumbnail1Watermark","opacity=100;text='Watermark text'");

//Configure second thumbnail (small preview).
iu.addParam("UploadThumbnail2FitMode", "Fit");
iu.addParam("UploadThumbnail2Width", "120");
iu.addParam("UploadThumbnail2Height", "120");
iu.addParam("UploadThumbnail2JpegQuality", "60");

//Add event handler.
iu.addEventListener("BeforeUpload", "ImageUploader_BeforeUpload")


function getQueryVariable(variable)
{
var query = window.location.search.substring(1);
var vars = query.split("&");
for (var i=0;i<vars.length;i++)
{
var pair = vars[i].split("=");
if (pair[0] == variable)
{
return pair[1];
}
}
//alert('Query Variable ' + variable + ' not found');
}

//Configure URL files are uploaded to.
var r = getQueryVariable('typeid');
iu.addParam("Action", "upload.aspx?typeid=" + r);

//Configure URL where to redirect after upload.
//iu.addParam("RedirectUrl", "gallery.aspx");
iu.addParam("RedirectUrl", "../Default.aspx");
//Tell Image Uploader writer object to generate all necessary HTML code to embed
//Image Uploader to the page.
iu.writeHtml();
//]]>
</script>

</td>
</tr>

</table>
</body>
</html>


Thanks for your help!!!
Users browsing this topic
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.