There is no webDNA apache.so =file for WebSTAR server=85On Nov 30, 2013, at 7:22 =PM, Donovan Brooke wrote:---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listHi, there was a bug in WebDNA apache .so file that =wasn't allowing the content type setting. Does this script require XML? =If so, it may be that.
D. Brooke =MobileHey =Stuart,Thanks.webDNA =6 Commerce VersionWebSTAR V serverMac OSX = 10.2.8Well, eliminated the JSON =syntax error, but ONLY when there is NO webDNA code in the =post_file.dna. (also changed suffix to .json - no =difference)otherwise, when webDNA code is =in the file, I get the JSON syntax =error.Get jQuery progress bar, and =green check image that upload of image is =complete,JSON output appears to =validate, but webDNA will NOT write file, so NO upload of any =files.Seems webDNA is NOT recognizing =webDNA code, and JSON parses webDNA code as a syntax =error.Any =ideas?Thanks,--Ravens<=/div>---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listOn Nov 29, 2013, at 3:01 PM, =Stuart Tremain wrote:It =could very well be a server issue where the server sees the file at =text/html not JSON.---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listA few =options1 Ensure that your JSON output =validates.2. Make sure that <!--HAS_WEBDNA_TAGS--> is not at the top of =your page3. Remove any 'white space' from your file by =commenting out line returns in your WebDNA.4. Force the =server to accept the post_file.dna as a JSON file by adding =[SETMIMEHEADER name=3DContent-Type&value=3Dapplication/json] at the =top of your template if a windows server.5. Change the =filename to .json and make sure that all your WebDNA & server =settings are correct.6. If a linux server, alter webdna.conf =add/alter this:<IfModule =mime_module>AddType text/html .tpl .dna =..newsuffixAddType application/json =..json</IfModule>AddHandler =webcatalog2-handler .tpl .tmpl .html .htm .dna =..json
=div>What platform is your WebDNA running on =?---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listOn 30 Nov 2013, at 5:43 am, Nices Lists =<ravens@nices.com> =wrote:Hey All,=div>
Been awhile since I have posted=85 =
getting back on the bike after some years...
Not able to =get WebDNA AJAX_Fileuploader to successfully upload image files. =
Keep getting SyntaxError: JSON.parse: unexpected keyword in JS =Console Errors panel.
I believe error is related to jQuery =parsing the string from the webDNA file - = post_file.dna
[formvariables]
[Showif =[URL][name][/URL]^pic][TEXT]_FILENAME=3D[MIDDLE =startafter=3DContent-Dispositionform-datanamepicfilename&endbefore=3DC=ontent-Typeapplicationoctet-stream][grep =search=3D[URL][^a-zA-Z0-9\._+-][/URL]&replace=3D][NAME][/grep][/MIDDLE=][/TEXT][/showif]
[Showif [URL][name][/URL]^pic][WriteFile =Secure=3DF&File=3Duploads/[_FILENAME]][value][/WriteFile][/showif]
=[/Formvariables]
{"status":"File was uploaded =successfuly!"}
Anyone?
Thanks,
--Ravens
---------------------------------------------------------
This =message is sent to you because you are subscribed to
the mailing list =<talk@webdna.us>.
To =unsubscribe, E-mail to: <talk-leave@webdna.us>
archi=ves: http://mail.webdna.us/l=ist/talk@webdna.us
Bug Reporting: support@webdna.us.To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us .To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us .To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us .To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us
=--Apple-Mail-1--448781482-- Associated Messages, from the most recent to the oldest:
--Apple-Mail-1--448781482Content-Transfer-Encoding: quoted-printableContent-Type: text/plain;charset=windows-1252I haven't heard of that config running in quite a few years ;-). I'm =impressed.=20The issue I was talking about could have been a problem in the old =WebSTAR plugin as well.. but ,since I'm actually back in my home office now and have now read through =your post... this:"Seems webDNA is NOT recognizing webDNA code, and JSON parses webDNA =code as a syntax error"That sounds like a config issue... unfortunately, I don't remember how =to configure WebDNA for WebSTAR.DonovanOn Nov 30, 2013, at 11:34 PM, Nices Lists wrote:> There is no webDNA apache.so file for WebSTAR server=85>=20> On Nov 30, 2013, at 7:22 PM, Donovan Brooke wrote:>=20>> Hi, there was a bug in WebDNA apache .so file that wasn't allowing =the content type setting. Does this script require XML? If so, it may be =that.>>=20>>=20>>=20>> D. Brooke Mobile>>=20>> On Nov 30, 2013, at 3:54 PM, Nices Lists
- Re: [WebDNA] WebDNA AJAX_Fileuploader (Nices Lists
2013) - Re: [WebDNA] WebDNA AJAX_Fileuploader (WebDNA
2013) - Re: [WebDNA] WebDNA AJAX_Fileuploader (Nices Lists
2013) - Re: [WebDNA] WebDNA AJAX_Fileuploader (WebDNA
2013) - Re: [WebDNA] WebDNA AJAX_Fileuploader (Donovan Brooke
2013) - Re: [WebDNA] WebDNA AJAX_Fileuploader (Nices Lists
2013) - Re: [WebDNA] WebDNA AJAX_Fileuploader (Donovan Brooke
2013) - Re: [WebDNA] WebDNA AJAX_Fileuploader (Nices Lists
2013) - Re: [WebDNA] WebDNA AJAX_Fileuploader (Stuart Tremain
2013) - [WebDNA] WebDNA AJAX_Fileuploader (Nices Lists
2013) wrote:>>=20>>> Hey Stuart,>>>=20>>> Thanks.=20>>>=20>>> webDNA 6 Commerce Version=20>>> WebSTAR V server>>> Mac OSX 10.2.8=20>>>=20>>> Well, eliminated the JSON syntax error, but ONLY when there is NO =webDNA code in the post_file.dna. (also changed suffix to .json - no =difference)>>>=20>>> otherwise, when webDNA code is in the file, I get the JSON syntax =error.=20>>>=20>>> Get jQuery progress bar, and green check image that upload of image =is complete,=20>>>=20>>> JSON output appears to validate, but webDNA will NOT write file, so =NO upload of any files.=20>>>=20>>> Seems webDNA is NOT recognizing webDNA code, and JSON parses webDNA =code as a syntax error.=20>>>=20>>> Any ideas?>>>=20>>> Thanks,>>>=20>>> --Ravens>>>=20>>>=20>>> On Nov 29, 2013, at 3:01 PM, Stuart Tremain wrote:>>>=20>>>> It could very well be a server issue where the server sees the file =at text/html not JSON.>>>>=20>>>> A few options>>>>=20>>>> 1 Ensure that your JSON output validates.>>>> 2. Make sure that is not at the top of your =page>>>> 3. Remove any 'white space' from your file by commenting out line =returns in your WebDNA.>>>> 4. Force the server to accept the post_file.dna as a JSON file by =adding [SETMIMEHEADER name=3DContent-Type&value=3Dapplication/json] at =the top of your template if a windows server.>>>> 5. Change the filename to .json and make sure that all your WebDNA =& server settings are correct.>>>> 6. If a linux server, alter webdna.conf add/alter this:>>>>=20>>>> >>>> AddType text/html .tpl .dna ..newsuffix>>>> AddType application/json ..json>>>> >>>>=20>>>> AddHandler webcatalog2-handler .tpl .tmpl .html .htm .dna ..json>>>>=20>>>>=20>>>>=20>>>>=20>>>> What platform is your WebDNA running on ?>>>>=20>>>>=20>>>>=20>>>>=20>>>>=20>>>>=20>>>> On 30 Nov 2013, at 5:43 am, Nices Listswrote:>>>>=20>>>>> Hey All,>>>>>=20>>>>> Been awhile since I have posted=85=20>>>>>=20>>>>> getting back on the bike after some years...>>>>>=20>>>>> Not able to get WebDNA AJAX_Fileuploader to successfully upload =image files.=20>>>>>=20>>>>> Keep getting SyntaxError: JSON.parse: unexpected keyword in JS =Console Errors panel.>>>>>=20>>>>> I believe error is related to jQuery parsing the string from the =webDNA file - post_file.dna>>>>>=20>>>>> [formvariables]>>>>> [Showif [url][name][/URL]^pic][text]_FILENAME=3D[MIDDLE =startafter=3DContent-Dispositionform-datanamepicfilename&endbefore=3DConte=nt-Typeapplicationoctet-stream][grep =search=3D[url][^a-zA-Z0-9\._+-][/URL]&replace=3D][NAME][/grep][/MIDDLE][/T=EXT][/showif]>>>>> [Showif [url][name][/URL]^pic][WriteFile =Secure=3DF&File=3Duploads/[_FILENAME]][value][/WriteFile][/showif]>>>>> [/Formvariables]>>>>> {"status":"File was uploaded successfuly!"}>>>>>=20>>>>> Anyone?>>>>>=20>>>>> Thanks,>>>>>=20>>>>> --Ravens>>>>>=20>>>>>=20>>>>>=20>>>>> --------------------------------------------------------->>>>> This message is sent to you because you are subscribed to>>>>> the mailing list .>>>>> To unsubscribe, E-mail to: >>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>> Bug Reporting: support@webdna.us>>>>=20>>>> --------------------------------------------------------- This =message is sent to you because you are subscribed to the mailing list . =To unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us>>>=20>>> --------------------------------------------------------- This =message is sent to you because you are subscribed to the mailing list . =To unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us>> --------------------------------------------------------- This =message is sent to you because you are subscribed to the mailing list . =To unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us>=20> --------------------------------------------------------- This message =is sent to you because you are subscribed to the mailing list . To =unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us--Apple-Mail-1--448781482Content-Transfer-Encoding: quoted-printableContent-Type: text/html;charset=windows-1252 I haven't heard of that config running in quite a few years ;-). = I'm impressed.The issue I was =talking about could have been a problem in the old WebSTAR plugin as =well.. but ,since I'm actually back in my home office now and =have now read through your post... = this:"Seems webDNA is NOT recognizing =webDNA code, and JSON parses webDNA code as a syntax =error"That sounds like a config issue... =unfortunately, I don't remember how to configure WebDNA for =WebSTAR.DonovanOn Nov 30, =2013, at 11:34 PM, Nices Lists wrote:There is no webDNA apache.so =file for WebSTAR server=85On Nov 30, 2013, at 7:22 =PM, Donovan Brooke wrote:---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listHi, there was a bug in WebDNA apache .so file that =wasn't allowing the content type setting. Does this script require XML? =If so, it may be that.
D. Brooke =MobileHey =Stuart,Thanks.webDNA =6 Commerce VersionWebSTAR V serverMac OSX = 10.2.8Well, eliminated the JSON =syntax error, but ONLY when there is NO webDNA code in the =post_file.dna. (also changed suffix to .json - no =difference)otherwise, when webDNA code is =in the file, I get the JSON syntax =error.Get jQuery progress bar, and =green check image that upload of image is =complete,JSON output appears to =validate, but webDNA will NOT write file, so NO upload of any =files.Seems webDNA is NOT recognizing =webDNA code, and JSON parses webDNA code as a syntax =error.Any =ideas?Thanks,--Ravens<=/div>---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listOn Nov 29, 2013, at 3:01 PM, =Stuart Tremain wrote:It =could very well be a server issue where the server sees the file at =text/html not JSON.---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listA few =options1 Ensure that your JSON output =validates.2. Make sure that <!--HAS_WEBDNA_TAGS--> is not at the top of =your page3. Remove any 'white space' from your file by =commenting out line returns in your WebDNA.4. Force the =server to accept the post_file.dna as a JSON file by adding =[SETMIMEHEADER name=3DContent-Type&value=3Dapplication/json] at the =top of your template if a windows server.5. Change the =filename to .json and make sure that all your WebDNA & server =settings are correct.6. If a linux server, alter webdna.conf =add/alter this:<IfModule =mime_module>AddType text/html .tpl .dna =..newsuffixAddType application/json =..json</IfModule>AddHandler =webcatalog2-handler .tpl .tmpl .html .htm .dna =..json
=div>What platform is your WebDNA running on =?---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listOn 30 Nov 2013, at 5:43 am, Nices Lists =<ravens@nices.com> =wrote:Hey All,=div>
Been awhile since I have posted=85 =
getting back on the bike after some years...
Not able to =get WebDNA AJAX_Fileuploader to successfully upload image files. =
Keep getting SyntaxError: JSON.parse: unexpected keyword in JS =Console Errors panel.
I believe error is related to jQuery =parsing the string from the webDNA file - = post_file.dna
[formvariables]
[Showif =[url][name][/URL]^pic][text]_FILENAME=3D[MIDDLE =startafter=3DContent-Dispositionform-datanamepicfilename&endbefore=3DC=ontent-Typeapplicationoctet-stream][grep =search=3D[url][^a-zA-Z0-9\._+-][/URL]&replace=3D][NAME][/grep][/MIDDLE=][/TEXT][/showif]
[Showif [url][name][/URL]^pic][WriteFile =Secure=3DF&File=3Duploads/[_FILENAME]][value][/WriteFile][/showif]
=[/Formvariables]
{"status":"File was uploaded =successfuly!"}
Anyone?
Thanks,
--Ravens
---------------------------------------------------------
This =message is sent to you because you are subscribed to
the mailing list =<talk@webdna.us>.
To =unsubscribe, E-mail to: <talk-leave@webdna.us>
archi=ves: http://mail.webdna.us/l=ist/talk@webdna.us
Bug Reporting: support@webdna.us.To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us .To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us .To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us .To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us
=--Apple-Mail-1--448781482-- Donovan Brooke
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[include ...] behavior (1997) [WebDNA] search limit using WO? (2012) NetSplat and WebCat2 (1997) Associative lookup style? (1997) Spiders and Bots (2000) [WebDNA] Two scripts fail on 6.0 but not on 7.x ... ? (2012) PCS Frames (1997) Emailer errors - repost (2000) [ShowIf] and empty fields (1997) WebMerchant setup (1998) passing username and password (2000) Spreadsheet App pref. [OT] (2001) Webstar 1.3.1 PPC (1997) Databases going to sleep (1998) multi-paragraph fields (1997) [WebDNA] Mixed Content (2009) RE: WebCat and image maps (1997) Another question (1997) [SHOWIF]s and empty arguments (1997) Replto in [SendMail] (2000)