[CommunityEngine] Re: BBorn
What CE version are you using here? If this is a patch to edge, could you please submit it as a pull-request through github or as a patch on Lighthouse? Thanks, Bruno On Sun, Mar 29, 2009 at 2:57 PM, sprite aake.gregert...@gmail.com wrote: Here is the fix [Add to sessions_hack.rb] class CGI::Session::ActiveRecordStore alias original_initialize initialize def initialize(session, option = nil) if option.include?(session_data) session.instance_variable_set('@session_id', option [session_data]) unless option[session_data].empty? end original_initialize(session, option) end end On Mar 29, 9:04 am, sprite aake.gregert...@gmail.com wrote: Can't make any sense of this. The session ID passed in is actually correct. The session ID displayed in the Rails log is wrong... Processing UsersController#show (for 12.228.3.116 at 2009-03-29 10:59:02) [GET] Session ID: 1fc819f0a5fa5f46a3c70520146ee57f Parameters: {id=camgirl} Rendering template within layouts/application Rendering users/show Completed in 133ms (View: 110, DB: 3) | 200 OK [ http://www.vipwithme.com/camgirl] Processing PhotosController#swfupload (for 12.228.3.116 at 2009-03-29 10:59:36) [POST] Session ID: aad4900bce548456f9a9af5a101e0fab WTF? Parameters: {Filename=jessicahot.jpg, album_id=14, _vipwithme2_session=1fc819f0a5fa5f46a3c70520146ee57f, Upload=Submit Query, user_id=1, Filedata=#ActionController::UploadedStringIO:0x7f060573dfb8} Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (View: 0, DB: 1) | 406 Not Acceptable [ http://www.vipwithme.com/1/albums/14/photos/swfupload?_vipwithme2_session=1f.. .] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CommunityEngine group. To post to this group, send email to communityengine@googlegroups.com To unsubscribe from this group, send email to communityengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/communityengine?hl=en -~--~~~~--~~--~--~---
[CommunityEngine] Re: BBorn
Well I figured out my problem. When updating my uploader.js I somehow managed to grab it from master instead of edge. On Mar 29, 7:23 am, sprite aake.gregert...@gmail.com wrote: Which of your site is running on edge? I can't sign up to Kirbly because it's invite only. I tried upgrading to latest SWFUpload but I'm not getting the upload button for some reason. Wanted to compare my HTML with one of your site where it actually works. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CommunityEngine group. To post to this group, send email to communityengine@googlegroups.com To unsubscribe from this group, send email to communityengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/communityengine?hl=en -~--~~~~--~~--~--~---
[CommunityEngine] Re: BBorn
Getting this error now Processing PhotosController#swfupload (for 127.0.0.1 at 2009-03-29 07:45:51) [POST] Session ID: 551e161357f86cf49c5d7b55f0adf2f2 Parameters: {Filename=jessicahot.jpg, album_id=14, Upload=Submit Query, _vipwithme2_session=19ffd7c aafb7a918c5e6a472a5d27c37, user_id=1, Filedata=#ActionController::UploadedStringIO:0x8cee7a0} [I18n] loading locale: en from config [I18n] Locale set to en Filter chain halted as [:login_required] rendered_or_redirected. Completed in 0ms (View: 0, DB: 63) | 406 Not Acceptable [http:// localhost/1/albums/14/photos/swfupload?_vipwithme2_sessi on=19ffd7caafb7a918c5e6a472a5d27c37] On Mar 29, 7:23 am, sprite aake.gregert...@gmail.com wrote: Which of your site is running on edge? I can't sign up to Kirbly because it's invite only. I tried upgrading to latest SWFUpload but I'm not getting the upload button for some reason. Wanted to compare my HTML with one of your site where it actually works. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CommunityEngine group. To post to this group, send email to communityengine@googlegroups.com To unsubscribe from this group, send email to communityengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/communityengine?hl=en -~--~~~~--~~--~--~---
[CommunityEngine] Re: BBorn
So it seems the session IDs don't match... but why? On Mar 29, 8:04 am, sprite aake.gregert...@gmail.com wrote: Processing PhotosController#swfupload (for 12.228.3.116 at 2009-03-29 10:01:09) [POST] Session ID: aad4900bce548456f9a9af5a101e0fab Parameters: {Filename=paris-hilton-picture-1.jpg, album_id=14, _vipwithme2_session=a8af949a13d3f8c326e0fdd7a005ee50, Upload=Submit Query, user_id=1, Filedata=#File:/tmp/ CGI21423-3} Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (View: 0, DB: 7) | 406 Not Acceptable [http://www.vipwithme.com/1/albums/14/photos/swfupload?_vipwithme2_session=a8...] On Mar 29, 7:47 am, sprite aake.gregert...@gmail.com wrote: Getting this error now Processing PhotosController#swfupload (for 127.0.0.1 at 2009-03-29 07:45:51) [POST] Session ID: 551e161357f86cf49c5d7b55f0adf2f2 Parameters: {Filename=jessicahot.jpg, album_id=14, Upload=Submit Query, _vipwithme2_session=19ffd7c aafb7a918c5e6a472a5d27c37, user_id=1, Filedata=#ActionController::UploadedStringIO:0x8cee7a0} [I18n] loading locale: en from config [I18n] Locale set to en Filter chain halted as [:login_required] rendered_or_redirected. Completed in 0ms (View: 0, DB: 63) | 406 Not Acceptable [http:// localhost/1/albums/14/photos/swfupload?_vipwithme2_sessi on=19ffd7caafb7a918c5e6a472a5d27c37] On Mar 29, 7:23 am, sprite aake.gregert...@gmail.com wrote: Which of your site is running on edge? I can't sign up to Kirbly because it's invite only. I tried upgrading to latest SWFUpload but I'm not getting the upload button for some reason. Wanted to compare my HTML with one of your site where it actually works. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CommunityEngine group. To post to this group, send email to communityengine@googlegroups.com To unsubscribe from this group, send email to communityengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/communityengine?hl=en -~--~~~~--~~--~--~---
[CommunityEngine] Re: BBorn
Can't make any sense of this. The session ID passed in is actually correct. The session ID displayed in the Rails log is wrong... Processing UsersController#show (for 12.228.3.116 at 2009-03-29 10:59:02) [GET] Session ID: 1fc819f0a5fa5f46a3c70520146ee57f Parameters: {id=camgirl} Rendering template within layouts/application Rendering users/show Completed in 133ms (View: 110, DB: 3) | 200 OK [http:// www.vipwithme.com/camgirl] Processing PhotosController#swfupload (for 12.228.3.116 at 2009-03-29 10:59:36) [POST] Session ID: aad4900bce548456f9a9af5a101e0fab WTF? Parameters: {Filename=jessicahot.jpg, album_id=14, _vipwithme2_session=1fc819f0a5fa5f46a3c70520146ee57f, Upload=Submit Query, user_id=1, Filedata=#ActionController::UploadedStringIO:0x7f060573dfb8} Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (View: 0, DB: 1) | 406 Not Acceptable [http:// www.vipwithme.com/1/albums/14/photos/swfupload?_vipwithme2_session=1fc819f0a5fa5f46a3c70520146ee57f] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CommunityEngine group. To post to this group, send email to communityengine@googlegroups.com To unsubscribe from this group, send email to communityengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/communityengine?hl=en -~--~~~~--~~--~--~---