Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6
This is the forum to discuss the Wrox book Professional Ajax, 2nd Edition by Nicholas C. Zakas, Jeremy McPeak, Joe Fawcett; ISBN: 9780470109496
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #11 (permalink)  
Old March 29th, 2009, 12:36 AM
Authorized User
 
Join Date: Mar 2009
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default Pre and Post line 150 about six(6) lines each

function _splitMultipart($boundary, $text) {
$parts = array();
$tmp = array();


foreach($text as $line) {
line 150 -> if (strstr($line,"--$boundary")) {
$parts[]=$tmp;
$tmp=array();
} else $tmp[]=$line;
}
for($i=0;$i<count($parts);$i++)
$parts[$i] = explode("\n",trim(implode("\n",$parts[$i])));
Reply With Quote
  #12 (permalink)  
Old March 29th, 2009, 12:39 AM
Authorized User
 
Join Date: Mar 2009
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default This error is fixed by increasing the memory_limit located in php.ini

This error is fixed by increasing the memory_limit located in php.ini

Increasing now will post outcome.
Reply With Quote
  #13 (permalink)  
Old March 29th, 2009, 12:53 AM
Authorized User
 
Join Date: Mar 2009
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default vInfo.parseJSON is not a function

when trying to go back to the inbox from within a message I get the following error:


vInfo.parseJSON is not a function

Last edited by skydiver; March 30th, 2009 at 12:22 PM. Reason: removing myself from this conversation
Reply With Quote
  #14 (permalink)  
Old March 29th, 2009, 01:24 AM
Authorized User
 
Join Date: Mar 2009
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default sData.parseJSON is not a function

While trying to send an email

sData.parseJSON is not a function
Reply With Quote
  #15 (permalink)  
Old March 29th, 2009, 04:32 PM
nzakas's Avatar
Wrox Author
 
Join Date: Dec 2004
Location: Peabody, MA, USA.
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts
Default

It looks like the wrong version of json.js has been included. Please replace it with the version provided here: http://www.json.org/json.js

I'll make sure these fixes make it into the ZIP file. Thanks for your patience in figuring this out!
__________________
Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
http://www.nczonline.net/
Reply With Quote
  #16 (permalink)  
Old March 30th, 2009, 11:58 AM
Authorized User
 
Join Date: Mar 2009
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default The problem was NOT solved!

The problem was NOT solved!

AjaxMail doesn't work ?!
Reply With Quote
  #17 (permalink)  
Old March 30th, 2009, 12:04 PM
Authorized User
 
Join Date: Mar 2009
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default This is very time consuming and not that useful

I was going to write a Flex component using this code and then resubmit it so everyone could use it to send/receive pop3/smtp from within Flex itself, but I since have moved on and am going to just use the Zend mail class.

Thanks for the time!
Skydiver

Last edited by skydiver; March 30th, 2009 at 12:24 PM. Reason: removing myself from this conversation
Reply With Quote
  #18 (permalink)  
Old March 30th, 2009, 02:27 PM
nzakas's Avatar
Wrox Author
 
Join Date: Dec 2004
Location: Peabody, MA, USA.
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts
Default

I'm sorry you've been frustrated by the problems. It seems like we were getting close. Can you confirm if updating json.js solved anything? It would benefit other readers to know. Thanks!
__________________
Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
http://www.nczonline.net/
Reply With Quote
  #19 (permalink)  
Old March 30th, 2009, 02:32 PM
Authorized User
 
Join Date: Mar 2009
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sure give me a little time to download and install it

will give it a shot
Reply With Quote
  #20 (permalink)  
Old March 30th, 2009, 04:23 PM
jmcpeak's Avatar
Wrox Author
Points: 361, Level: 6
Points: 361, Level: 6 Points: 361, Level: 6 Points: 361, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2005
Location: , Texas, USA.
Posts: 77
Thanks: 0
Thanked 12 Times in 12 Posts
Default

I replaced the JSON code (PHP and JavaScript) and everything works fine for me.

My specs:

PHP 4.4.9 (fresh install)
MySQL: 5.1 (fresh install with using OLD_PASSWORD() to work with PHP 4)
IIS 5.1

I can send, receive, and delete mail without errors.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
AjaxMail doesn't work ?! fly BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6 13 March 31st, 2009 01:36 AM
AjaxMail looking for developers nzakas BOOK: Professional Ajax ISBN: 978-0-471-77778-6 0 August 25th, 2006 09:56 PM
What Setting r required for AjaxMail Earth BOOK: Professional Ajax ISBN: 978-0-471-77778-6 0 August 23rd, 2006 02:06 AM
AjaxMail Problem In function sendMail czarft BOOK: Professional Ajax ISBN: 978-0-471-77778-6 1 August 19th, 2006 04:14 PM
CH 09 AjaxMail SQL coders4hire BOOK: Professional Ajax ISBN: 978-0-471-77778-6 2 June 22nd, 2006 08:03 PM



All times are GMT -4. The time now is 06:52 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.