473,770 Members | 1,555 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

swfupload class problem

K.
Hello! I have a problem with SWFupload class1. I have the page with uses
SWFUpload class. Everything worked fine until
(I suppose my admin) implemented some changes into the server. Now
uploading file doesn`t work
2. I select one small file which is uploading
3. I get the status "Complete", but file is not being uploaded, because it
doesn`t exist on my server. On the beginning of the upload.php file I`ve
added easy insert query into the table and this is also not executed.
4. I suppose that my web page cannot find upload.php, but I`ve put it into
the place where I store swfupload_f8.sw f file that is
/js/SWFUpload/FlashDevelop/Flash8/
5. I don`t know what it is going on and why I get "Complete" status message
but file and insert query doesn`t execute.
6. I have set /tmp folder for upload_tmp_dir but it also didn`t help
solving problem.
I see "Complete" status, but file is not uploaded and insert into table
query in upload.php folder also didn`t execute.

SWFUpload-core v2.1.0. I use Windows XP, Firefox & IE. 7.0.

---SWFUpload Instance Info---
Version: 2.1.0
Movie Name: SWFUpload_0
Settings:
upload_url: upload.php
use_query_strin g: false
file_post_name: Filedata
post_params: [object Object]
file_types: *.jpg;*.gif;*.p ng
file_types_desc ription: Zdjêcia
file_size_limit : 102400
file_upload_lim it: 40
file_queue_limi t: 0
flash_url: js/SWFUpload/FlashDevelop/Flash8/swfupload_f8.sw f
flash_color: #FFFFFF
debug: true
custom_settings : [object Object]
Event Handlers:
swfupload_loade d_handler assigned: true
file_dialog_sta rt_handler assigned: true
file_queued_han dler assigned: true
file_queue_erro r_handler assigned: true
upload_start_ha ndler assigned: true
upload_progress _handler assigned: true
upload_error_ha ndler assigned: true
upload_success_ handler assigned: true
upload_complete _handler assigned: true
debug_handler assigned: true

SWF DEBUG: SWFUpload Init Complete
SWF DEBUG:
SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Build Number: SWFUPLOAD 2.1.0 FP8 2008-05-12
SWF DEBUG: movieName: SWFUpload_0
SWF DEBUG: Upload URL: upload.php
SWF DEBUG: File Types String: *.jpg;*.gif;*.p ng
SWF DEBUG: Parsed File Types: jpg,gif,png
SWF DEBUG: File Types Description: Zdjêcia (*.jpg;*.gif;*. png)
SWF DEBUG: File Size Limit: 104857600 bytes
SWF DEBUG: File Upload Limit: 40
SWF DEBUG: File Queue Limit: 40
SWF DEBUG: Post Params:
SWF DEBUG: wgrywajacy=admi n
SWF DEBUG:
PHPSESSID=73475 f83c8566a7f6b98 ef48cd0bb8cf
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed
file types: *.jpg;*.gif;*.p ng
SWF DEBUG: Select Handler: Received the files selected from the dialog.
Processing the file list...
SWF DEBUG: Event: fileQueued : File ID: SWFUpload_0_0
SWF DEBUG: Event: fileDialogCompl ete : Finished adding files
SWF DEBUG: StartUpload: First file in queue
SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0
SWF DEBUG: Global URL Item: wgrywajacy=admi n
SWF DEBUG: Global URL Item: PHPSESSID=73475 f83c8566a7f6b98 ef48cd0bb8cf
SWF DEBUG: ReturnUploadSta rt(): File accepted by startUpload event and
readied for upload. Starting upload to
upload.php?wgry wajacy=admin&PH PSESSID=73475f8 3c8566a7f6b98ef 48cd0bb8cf for
File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress( OPEN): File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 65536.
Total: 216059
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 163840.
Total: 216059
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 196608.
Total: 216059
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 216059.
Total: 216059
SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Data: n/a in Flash 8
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
Could you help me?
I suppose that it is my admin fault, but I don`t know what happened and what
he could have done?

Please help me
HC
Oct 8 '08
12 3378
HC wrote:
>
Uzytkownik "R. Rajesh Jeba Anbiah" <ng**********@r ediffmail.comna pisal
w wiadomosci
news:fb******** *************** ***********@u29 g2000pro.google groups.com...
>On Oct 15, 12:46 am, "HC" <halinaciern... @poczta.onet.pl wrote:
>>Uzytkownik "R. Rajesh Jeba Anbiah" <ng4rrjanb...@r ediffmail.com>
napisal w
<snip>
>>My upload.php looks like this:

<?php
if (isset($_POST["PHPSESSID"]))
{
session_id($_PO ST["PHPSESSID"]);
}
elseif (isset($_GET["PHPSESSID"]))
{
session_id($_GE T["PHPSESSID"]);
}

session_save_ path('/tmp');
session_start ();

Code looks ok. You don't have to set session_save_pa th()
explicitly. My guess is that the session id is not getting fixed.

Try to log the $GLOBALS or $_FILES['Filedata'] and see if you can
get the data. Also, check if the session_id is same for both the
sessions (it should be).

If all are ok, post the session related settings from php.ini

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Problem is that nothing from the upload.php file is being executed.
It looks like this that script cannot get into the upload.php file.

Thank u

That doesn't make sense. Why couldn't the script "get into the
upload.php file"? That means you've done something wrong somewhere
else. You need to post that code.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===

Oct 19 '08 #11
HC

Uzytkownik "Jerry Stuckle" <js*******@attg lobal.netnapisa l w wiadomosci
news:gd******** **@registered.m otzarella.org.. .
HC wrote:
>>
Uzytkownik "R. Rajesh Jeba Anbiah" <ng**********@r ediffmail.comna pisal
w wiadomosci
news:fb******* *************** ************@u2 9g2000pro.googl egroups.com...
>>On Oct 15, 12:46 am, "HC" <halinaciern... @poczta.onet.pl wrote:
Uzytkownik "R. Rajesh Jeba Anbiah" <ng4rrjanb...@r ediffmail.com>
napisal w
<snip>
My upload.php looks like this:

<?php
if (isset($_POST["PHPSESSID"]))
{
session_id($_PO ST["PHPSESSID"]);
}
elseif (isset($_GET["PHPSESSID"]))
{
session_id($_GE T["PHPSESSID"]);
}

session_save _path('/tmp');
session_star t();

Code looks ok. You don't have to set session_save_pa th()
explicitly. My guess is that the session id is not getting fixed.

Try to log the $GLOBALS or $_FILES['Filedata'] and see if you can
get the data. Also, check if the session_id is same for both the
sessions (it should be).

If all are ok, post the session related settings from php.ini

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Problem is that nothing from the upload.php file is being executed.
It looks like this that script cannot get into the upload.php file.

Thank u


That doesn't make sense. Why couldn't the script "get into the upload.php
file"? That means you've done something wrong somewhere else. You need
to post that code.

--
Code is the same as in the post from 2008-10-15.
The problem is either in Flash file (swf upload flash file) or in the apache
configuration.
I moved all the files without change into the other server and everything
works fine
without any changes.

Oct 19 '08 #12
HC wrote:
>
Uzytkownik "Jerry Stuckle" <js*******@attg lobal.netnapisa l w
wiadomosci news:gd******** **@registered.m otzarella.org.. .
>HC wrote:
>>>
Uzytkownik "R. Rajesh Jeba Anbiah" <ng**********@r ediffmail.com>
napisal w wiadomosci
news:fb****** *************** *************@u 29g2000pro.goog legroups.com...

On Oct 15, 12:46 am, "HC" <halinaciern... @poczta.onet.pl wrote:
Uzytkowni k "R. Rajesh Jeba Anbiah" <ng4rrjanb...@r ediffmail.com>
napisal w
<snip>
My upload.php looks like this:
>
<?php
if (isset($_POST["PHPSESSID"]))
{
session_id($_PO ST["PHPSESSID"]);
}
elseif (isset($_GET["PHPSESSID"]))
{
session_id($_GE T["PHPSESSID"]);
}
>
session_sav e_path('/tmp');
session_sta rt();

Code looks ok. You don't have to set session_save_pa th()
explicitly . My guess is that the session id is not getting fixed.

Try to log the $GLOBALS or $_FILES['Filedata'] and see if you can
get the data. Also, check if the session_id is same for both the
sessions (it should be).

If all are ok, post the session related settings from php.ini

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Problem is that nothing from the upload.php file is being executed.
It looks like this that script cannot get into the upload.php file.

Thank u


That doesn't make sense. Why couldn't the script "get into the
upload.php file"? That means you've done something wrong somewhere
else. You need to post that code.

--

Code is the same as in the post from 2008-10-15.
The problem is either in Flash file (swf upload flash file) or in the
apache configuration.
I moved all the files without change into the other server and
everything works fine
without any changes.
Then find out what's wrong with your flash class.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===

Oct 19 '08 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2660
by: Steve | last post by:
Hello, I'm encountering an unexpected behavior when using the "new" modifier in a derived class to hide an inherited base class property. I use "new" intentionally so I can change the Type of the property in the derived class, and I can use the derived class as expected through standard instantiation. The unexpected behavior occurs when I try to set gather the PropertyInfo for the derived class property via Reflection. I get an...
9
4996
by: Banaticus Bart | last post by:
I wrote an abstract base class from which I've derived a few other classes. I'd like to create a base class array where each element is an instance of a derived object. I can create a base class pointer which points to an instance of a derived class, but when I pass that base class pointer into a function, it can't access the derived object's public functions. Although, the base class pointer does call the appropriate virtual function...
21
4079
by: Jon Slaughter | last post by:
I have a class that is basicaly duplicated throughout several files with only members names changing according to the class name yet with virtually the exact same coding going on. e.g. class A { std::vector<B*> Bs; public:
9
3676
by: Daniel Kay | last post by:
Hello! I have written two template classes which implement the observerpattern in C++. I hope I manage to desribe the problem I have. template<class T> class Observer { /* ... */ }; template<class T> classSubject {
21
1984
by: Mark Broadbent | last post by:
Consider the following statements //------- Item i = Basket.Items; //indexer is used to return instance of class Item Basket.Items.Remove(); //method on class item is fired item i = new ("Pear"); Basket.Items.Add(item); //------
5
3437
by: Nick Flandry | last post by:
I'm running into an Invalid Cast Exception on an ASP.NET application that runs fine in my development environment (Win2K server running IIS 5) and a test environment (also Win2K server running IIS 5), but fails on IIS 6 running on a Win2003 server. The web uses Pages derived from a custom class I wrote (which itself derives from Page) to provide some common functionality. The Page_Load handler the failing webpage starts out like this: ...
3
3758
by: Hamilton Woods | last post by:
Diehards, I developed a template matrix class back around 1992 using Borland C++ 4.5 (ancestor of C++ Builder) and haven't touched it until a few days ago. I pulled it from the freezer and thawed it out. I built a console app using Microsoft Visual C++ 6 (VC++) and it worked great. Only one line in the header file had to be commented out. I built a console app using Borland C++ Builder 5. The linker complained of references to...
1
1825
by: K. | last post by:
Hello! Can you write me some flash class name to multi file upload? I have been using swfupload class, but unfortunately I have problem with it, and I cannot solve it. Do you know some similar to swfupload class which do the same? Thank you in advance H.C.
0
10230
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10058
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10004
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9870
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7416
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5313
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5450
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3972
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3576
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.