 | |  | |
August 22nd, 2009, 10:38 AM
|
#41 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
I beleive we discussed server permissions earlier in the thread. I beleive its one of the first things to check glad you solved it.
|
| |
January 30th, 2010, 04:49 PM
|
#42 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 21
|
Hi Chuck - I'm having similar issues, as my Flash Uploader stopped working. My symptoms are that after selecting and uploading files, when you click on the submit button it goes to an empty basic vbulletin page, saying 'no images'. Permissions are all ok, I tried removing the 'echo' command (which didn't work at all..), tried going to the default style as well as disabling all plugins and products, and it still doesn't work. Is there an issue with the flash uploader libraries no longer working with the new Flash 9 or Flash 10 plugins?
Please help if you can. Thanks!
Sy
|
| |
January 30th, 2010, 05:03 PM
|
#43 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
probally an issue with MOD SECURITY being set on your server I would think. Flash Uploader is not compatible with that security thing.
|
| |
January 30th, 2010, 05:17 PM
|
#44 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 21
| Quote:
Originally Posted by Chuck S probally an issue with MOD SECURITY being set on your server I would think. Flash Uploader is not compatible with that security thing. | thanks for the super-quick reply. I will check it out! Just requested an answer from my host.
|
| |
January 30th, 2010, 07:03 PM
|
#45 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
yeah that would be my initial observation based on what we have seen from previous reports.
|
| |
February 1st, 2010, 12:33 PM
|
#46 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 21
|
It seems that we don't have MOD SECURITY enabled on our server, so I need to look elsewhere for a solution. Are there issues with the version of flashuplaoder included in gallery 2.5 conflicting with the new Flash 9 or 10 plugins?
|
| |
February 1st, 2010, 01:09 PM
|
#47 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
Not that I am aware it should be totally compatible withflash 9 or 10
If you use the flash uploader before it tries to process files meaning before you hit submit check your users directory are there any files there. I would suspect there is not meaning your server is somehow blocking the upload of those files with the flash uploader. This is exactly what mod security does but maybe they have some similar settings that do this. You might need to ask your host once you see the action.
|
| |
February 1st, 2010, 01:14 PM
|
#48 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 21
|
yup, that's exactly what happens - when I have uploaded the files using flash, but haven't yet clicked the submit button, the files have not been actually uploaded to the user's folder on the server. I've put in a request with all of this info to the host, we'll see what they come back with.
|
| |
February 1st, 2010, 01:17 PM
|
#49 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
yeah thats why I meantioned mod security. Like I know the flash people have notations of this on there software site the uploader will not work with that one. maybe there are some other server settings that interfere with that software as well.
|
| |
February 3rd, 2010, 01:40 AM
|
#50 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 21
|
ok, nothing on the server side so far (still working on it), but I've found something interesting that may help shed a clue on what's wrong with my system..
I just tried commenting out:
echo "uploadSuccess event detected";
and it uploaded the first of any files selected for upload, but then hung on the rest (in 'pending' status) - and this time the first file does actually get written to my 'User' folder. And when I clicked submit, even though the other selected files did not get uploaded at all, the first image got written to the gallery from the Users folder. So now at least the flash uploader has proven that it can write to the server.
Any thoughts on where I should look now?
Thanks
Sy
|
| |
February 3rd, 2010, 08:22 AM
|
#51 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
I would continue to test the flash upload and do not stop things see what happens.
|
| |
February 6th, 2010, 05:03 PM
|
#52 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 21
|
Not having much luck getting any further here. I've going through the code to see if I can find something - here is snippet that I could use your help with:
in flashupload.php: Quote:
if (!isset($_FILES["Filedata"]) || !is_uploaded_file($_FILES["Filedata"]["tmp_name"]) || $_FILES["Filedata"]["error"] != 0)
{
header( "HTTP/1.1 301 Moved Permanently" );
header( "Location: {$Globals['maindir']}/uploadphoto.php" );
exit;
}
| I can't find 'uploadphoto.php' anywhere, not in any vbulletin or vbgallery files, and I can't find that reference in any of the templates or phrases either. Any thoughts?
|
| |
February 6th, 2010, 05:22 PM
|
#53 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
Are you using photopost pro or vbGallery?
This is a vbGallery thread and your referencing Photopost Pro code.
I can tell you the flash uploader either works or it doesnt. We do not support external code created by other companies. There site references that it will not work with MOD SECURITY set to on and there may be other server conditions which do not allow it to work.
In either application this is why there is an on off switch.
If nothing makes it to your uploads directory to process then there would be no images to process in our application.
|
| |
February 6th, 2010, 05:57 PM
|
#54 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 21
| Quote:
Originally Posted by Chuck S Are you using photopost pro or vbGallery?
This is a vbGallery thread and your referencing Photopost Pro code. | vbGallery!
Here is the beginning part of flashupload.php, which part of the most recent vbGallery build, which I downloaded a couple of weeks ago: Quote:
<?php
//////////////////////////// COPYRIGHT NOTICE //////////////////////////////
// This script is part of PhotoPost vBGallery, a software application by //
// All Enthusiast, Inc. Use of any kind of part or all of this //
// script or modification of this script requires a license from All //
// Enthusiast, Inc. Use or modification of this script without a license //
// constitutes Software Piracy and will result in legal action from All //
// Enthusiast, Inc. All rights reserved. //
// PhotoPost PHP Photo Sharing Gallery with vBulletin Forum Integration legal@photopost.com //
// //
// PhotoPost Copyright 2008, All Enthusiast, Inc. //
////////////////////////////////////////////////////////////////////////////
// ####################### SET PHP ENVIRONMENT ###########################
ini_set("memory_limit", "128M");
ini_set("max_execution_time", 0);
ini_set('post_max_size','30M');
ini_set('upload_max_filesize','30M');
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'flashupload');
define('GET_IMGTYPE_ARRAY', true);
define('PP_SCRIPT', 'vBGallery');
// Work-around for setting up a session because Flash Player doesn't send the cookies
if (!isset($_POST["PHPSESSID"]))
{
exit;
}
if (!isset($_FILES["Filedata"]) || !is_uploaded_file($_FILES["Filedata"]["tmp_name"]) || $_FILES["Filedata"]["error"] != 0)
{
header( "HTTP/1.1 301 Moved Permanently" );
header( "Location: {$Globals['maindir']}/uploadphoto.php" );
exit;
}
| What should I do?
|
| |
February 6th, 2010, 07:30 PM
|
#55 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
well thats not being triggered so doesnt matter but you can just make this
{$Globals['maindir']}/uploadphoto.php
upload.php
I dont think that would have anything to do with your upload issue. The issue still remains if something on the server is not allowing the flash script to do its coding and there is nothing that ever gets copied to the users directory then there would never be anything for vbGallery to process. Therefore you would need to use the normal upload process.
|
| |
February 6th, 2010, 08:15 PM
|
#56 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 21
|
That's not the problem any longer. By commenting out 'echo " uploadSuccess event detected";', I've gotten the flash upload to successfully write the first files selected to the server - so now I know that I don't have a MOD SECURITY issue or similar.
The problem now is that there is no confirmation that the first file upload is completed, so no subsequent file uploads can take place until the upload is 'submitted'. But that file is fully written to the Users folder on the server. But when you do hit 'submit', that first file upload works perfectly.. it gets moved from the 'Users' folder to the 'Files' folder and then correctly shows up in the gallery. It does this even if there are other files in the qeue that are stuck in 'pending' mode.
Here is a screen shot of what happens when the first file finishes uploading (and is fully written to the server), but does not go further: Screen shot 2010-02-06 at 8.05.36 PM.png
So I think that the issue is somewhere in the scripting - the system is just not getting confirmation that the file is fully written, so it just hangs. But again, that first file is fully written. What would be of huge help would be to identify the code that deals with confirming the write is complete, and then triggering the second process in the sequence.
|
| |
February 6th, 2010, 08:40 PM
|
#57 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
Okay well thats the flash uploader not much I can tell you about that software as we did not write it or support it.
|
| |
February 6th, 2010, 10:44 PM
|
#58 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 21
| Quote:
Originally Posted by Chuck S Okay well thats the flash uploader not much I can tell you about that software as we did not write it or support it. | Chuck, you're awesome, and we appreciate everything you do greatly, but Photopost absolutely DID write flash uploader! Look at the code! Quote:
<?php
//////////////////////////// COPYRIGHT NOTICE //////////////////////////////
// This script is part of PhotoPost vBGallery, a software application by //
// All Enthusiast, Inc. Use of any kind of part or all of this //
// script or modification of this script requires a license from All //
// Enthusiast, Inc. Use or modification of this script without a license //
// constitutes Software Piracy and will result in legal action from All //
// Enthusiast, Inc. All rights reserved. //
// PhotoPost PHP Photo Sharing Gallery with vBulletin Forum Integration legal@photopost.com //
// //
// PhotoPost Copyright 2008, All Enthusiast, Inc. //"
| I wouldn't be pushing you on this, but the fact is that you guys know far more about how this software works or should work than me (or I bet a vast majority of the customers here) and I/we need your help. It's not acceptable to push this off on it being someone else's code when it (and it's features) were sold as being part of your software. The fact that you incorrectly have Photopost Pro related code in vbGallery files means that you have bugs - so please take some time and help me figure out how to get the code to work. It would be most appreciated.
Sy
|
| |
February 6th, 2010, 11:08 PM
|
#59 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
No photopost did not write the flash uploader. Your referencing a php file that simply loads the flash code. Quote: |
. Added support for Flash Uploader (disabled by default, not supported by PhotoPost, but be enabled)
| In any of our release notes about the flash uploader being included we openly state we do not support flash code.
The point here is our written code and features we test and work on all server setups. We openingly support all our code and guarantee that it works as noted. Now users wanted the use of a flash uploader which meant including outside code we do not write. It is a known fact the flash uploader will not work on all servers and setups. Now we gave into customer pressure and included a flash uploader but we have explicitly stated we do not support code not released by us which is known to not work on all setups so we have included a switch to enable or disable it.
Last edited by Chuck S; February 6th, 2010 at 11:18 PM.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 02:04 PM. | |