SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2007
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    another error "3221225477 -- Restarting."

    hi there,
    I am running xampp 1.7.4.
    i've installed zend_framework , i've created a form.
    Code:
    <?php
    Class Admin_Form_Articles_Add extends Zend_Form {
    
        public function init(){
            $this->setMethod("post");
    
            $title=new Zend_Form_Element_Text("title");
            $title->setLabel("title")
                    ->setFilters(array("StringTrim"))
                    ->setRequired(true)
                    ->setAttrib("size",100)
                    ->addValidator("alnum",false,array("allowWhiteSpace"=>true));
    
            $body=new Zend_Form_Element_Textarea("body");
            $body->setRequired(true)
                    ->setLabel("Body");
    
            $db=new Admin_Model_Articles();
            $result= $db->getCategories();
    
    
    
            $category=new Zend_Form_Element_Select("category");
            $category->setLabel("Category");
            foreach($result as $cat){
            $category->addMultiOptions(array($cat['id']=>$cat['name']));
            }
    
            $submit=new Zend_Form_Element_Submit("submit","Add");
            $submit->setName("Add");
            $preview=new Zend_Form_Element_Submit("preview", "Preview Article");
            $preview->setName("Preview");
            $this->addElements(array($title,$body,$category,$submit,$preview));
        }
    }
    Now when i try to insert more than 338 characters from the textarea field into mysql , php, and apache are exiting with error
    Code:
    Error 101 (net::ERR_CONNECTION_RESET): Unknown error. <- Chrome
    The Page works fine if i don't insert them into the database.

    The same thing happens in mozilla with a message like "Connection Interrupted".
    I am trying to Insert a large portion of text into mysql table with type
    Code:
    LongBlob
    The strange Thing is that it works with less or equal to 338 characters and crashes with more.
    apache error.log show the following line
    [Fri Apr 08 14:49:04 2011] [notice] Parent: child process exited with status 3221225477 -- Restarting.
    I've searched the net and found that this is somewhat common problem.
    All taken with different approach , so i figure out my problem is somehow unique, I got a segmentation fault somewhere in C sources.
    Any solution to this ?

  2. #2
    SitePoint Wizard lorenw's Avatar
    Join Date
    Feb 2005
    Location
    was rainy Oregon now sunny Florida
    Posts
    1,094
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    What I lack in acuracy I make up for in misteaks

  3. #3
    SitePoint Enthusiast
    Join Date
    May 2007
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nope, tried it , not working. I can't see the logic behind this , but whatever any solution is welcome.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •