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

Notification

Icon
Error

Options
Go to last post Go to first unread
nfrandsen  
#1 Posted : Sunday, April 19, 2009 6:23:34 PM(UTC)
nfrandsen

Rank: Newbie

Groups: Member
Joined: 4/17/2009(UTC)
Posts: 3

Hey Everyone,

I am having very weird problems using Aurigma image uploader. I am developing a website using the zend framework in php but for some strange reason it is not working. I attached it using the simply quick start guide from your website, but it simply shows up as a black border with a little red cross in the top left hand corner?! I am running it on safari on a mac book. Now the strange thing is, I then copied and pasted the "view source" from safari into a texteditor and saved it as html file and ran it in the same main directory as my index.php, and that worked?! Why is it working for the simple html file and not for the php file that is outputting exactly the same html? I tried deleting my .htaccess file and disabled all css, but to no avail. Any advice?

Kind Regards

Nick Frandsen

Tamila  
#2 Posted : Sunday, April 19, 2009 8:54:05 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

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

Please send me the link to the page where you experience problem with Image Uploader, also send me login information if necessary (you can do it via PM).

Also send me console dump when the problem appears, it would be very helpful.

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!

nfrandsen  
#3 Posted : Monday, April 20, 2009 12:39:05 PM(UTC)
nfrandsen

Rank: Newbie

Groups: Member
Joined: 4/17/2009(UTC)
Posts: 3

Hey tamilla, its not so much a specific page that I am having trouble with, I simply cant add the uploader to my website. I have tried to solve it at http://www.zfforums.com/...cript-2722.html#post9644 but so far without any luck...kind regards nick
Tamila  
#4 Posted : Monday, April 20, 2009 2:02:25 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

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

Try to point absolute paths to iuembed.js, ImageUploader5.cab and ImageUploader5.jar files.

I hope it helps you.

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!

nfrandsen  
#5 Posted : Monday, April 20, 2009 3:34:58 PM(UTC)
nfrandsen

Rank: Newbie

Groups: Member
Joined: 4/17/2009(UTC)
Posts: 3

hey thanks tamilla i will, just to make sure we're on the same wavelength. Where do i point to imageuploader.cab && .jar?? I obviously point to iuembed.js when adding the script to my site, but I expected the .cab and .jar file would be simply assumed to be in the same folder as iuembed.js. Is this wrong? do i need to explicitly point to them somewhere?
Tamila  
#6 Posted : Monday, April 20, 2009 5:00:14 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

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

I ment that you should point absolute paths to iuembed.js, ImageUploader5.cab and ImageUploader5.jar files in appropriate properties as follows:

Code:
<script language="javascript" src="http://your_domain_name/iuembed.js"></script>
<script language="javascript">
var iu = new ImageUploaderWriter("ImageUploader", 650, 450);

// If you do not want to use ActiveX or Java version, set the appropriate
// property to false.
iu.activeXControlEnabled = true;
iu.javaAppletEnabled = true;

iu.activeXControlCodeBase = "http://your_domain_name/ImageUploader5.cab";
iu.javaAppletCodeBase="http://your_domain_name/";

// ... initialize params as described in the next topic ...

iu.writeHtml();
</script>

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!

aarongibsos  
#7 Posted : Monday, May 11, 2009 5:23:50 AM(UTC)
aarongibsos

Rank: Newbie

Groups: Member
Joined: 5/11/2009(UTC)
Posts: 7

I had this problem for a while too and found out that when using ZF you may be using a .htaccess file in your webroot which routes all requests to index.php. If this is the case you may need to modify the .htaccess rules to add an exception to your aurigma files before you embed them with their absolute paths.

If you have the aurgima files in a folder off your webroot called "aurigma" and they can be located via a url like "http://www.yoursite.com/aurigma/*" the following htaccess may work for you:

Code:

RewriteEngine on
RewriteCond $1 !^(index\.php|/images|/aurigma|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

you would probably need to play around with it a bit to make it work in your specific environment but thats the general idea.

Edited by user Monday, May 11, 2009 5:24:28 AM(UTC)  | Reason: Not specified

Tamila  
#8 Posted : Monday, May 11, 2009 12:39:35 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

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

If you really use .htaccess in your site, I recommend you to read this article:

HOWTO: Use authentication protocols with Image Uploader

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Similar Topics
Weird problems with image uploader (Discussions – ActiveX/Java Uploader)
by fregas 9/1/2009 6:49:21 AM(UTC)
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.