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
|
|
|
|
Rank: Advanced Member
Groups: Administration
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. |
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 4/17/2009(UTC) Posts: 3
|
|
|
|
|
Rank: Advanced Member
Groups: Administration
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. |
|
|
|
|
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?
|
|
|
|
Rank: Advanced Member
Groups: Administration
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>
|
|
|
|
|
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
|
|
|
|
Rank: Advanced Member
Groups: Administration
Joined: 3/9/2008(UTC) Posts: 554
Was thanked: 1 time(s) in 1 post(s)
|
|
|
|
|
|
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.