 |
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

March 29th, 2009, 12:36 AM
|
|
Authorized User
|
|
Join Date: Mar 2009
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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])));
|
|

March 29th, 2009, 12:39 AM
|
|
Authorized User
|
|
Join Date: Mar 2009
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
|

March 29th, 2009, 12:53 AM
|
|
Authorized User
|
|
Join Date: Mar 2009
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

March 29th, 2009, 01:24 AM
|
|
Authorized User
|
|
Join Date: Mar 2009
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
sData.parseJSON is not a function
While trying to send an email
sData.parseJSON is not a function
|
|

March 29th, 2009, 04:32 PM
|
 |
Wrox Author
|
|
Join Date: Dec 2004
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts
|
|
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/
|
|

March 30th, 2009, 11:58 AM
|
|
Authorized User
|
|
Join Date: Mar 2009
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
The problem was NOT solved!
The problem was NOT solved!
AjaxMail doesn't work ?!
|
|

March 30th, 2009, 12:04 PM
|
|
Authorized User
|
|
Join Date: Mar 2009
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

March 30th, 2009, 02:27 PM
|
 |
Wrox Author
|
|
Join Date: Dec 2004
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts
|
|
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/
|
|

March 30th, 2009, 02:32 PM
|
|
Authorized User
|
|
Join Date: Mar 2009
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Sure give me a little time to download and install it
will give it a shot
|
|

March 30th, 2009, 04:23 PM
|
 |
Wrox Author
|
|
Join Date: Nov 2005
Posts: 87
Thanks: 0
Thanked 18 Times in 17 Posts
|
|
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.
|
|
 |