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

Notification

Icon
Error

Options
Go to last post Go to first unread
Dmitry.Obukhov  
#1 Posted : Wednesday, October 6, 2010 7:45:19 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)
Sometimes using PHP Library to embed Image Uploader Flash, you can face the error like that:

Error: $au is not defined

Source File: /_flash_uploader/index.php

The reason of this error is that necessary .swf file could not be found.

It occurs when PHP Library is located in the virtual folder, i.e. DocumentRoot "C:/AppServ/www"

Alias /php_library "D:\Work\UploaderProject\Samples6\PHP_Library"

. Then getScriptsDirectoryResolved() method returns incorrect path to .swf file.

To resolve this problem you should use setScriptsDirectory() method to set the path to .swf file:

Code:

$uploader->setScriptsDirectory ('/ImageUploaderPHP/Scripts'); 

Edited by user Thursday, October 7, 2010 4:53:46 PM(UTC)  | Reason: Not specified

Best regards,

Dmitry Obukhov

Technical Support. Aurigma, Inc.

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.