CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • URGENT: Server Stops Responding - Memory Limit removed
Pages: [1]

Author Topic: URGENT: Server Stops Responding - Memory Limit removed  (Read 3085 times)

sungoddess

  • Guest
URGENT: Server Stops Responding - Memory Limit removed
September 02, 2008, 10:41:55 am
Hi there,

When I first set up CiviCRM on a client's site, I had problems with the memory limit. We upgraded to a VPS solution specifically to run CiviCRM. I got the Contribute registration page set up, and at first it worked beautifully, did precisely what it was supposed to.

However, once we made the move from the IP address the site was in testing on, to the domain (meaning the domain was pointed to what was the test site), the registration form has gone wiggy on me.

Now, although it creates the user account and the contacts entry in CiviCRM, it fails to return a success page and I get an error saying the server has stopped responding.

I went back and toggled the memory limits again, and now not even the registration form is loading. This is the only part of the site that has this problem... all other pages, including CiviCRM in the Admin CP loads.

I'm going crazy here... the client wants it fixed and finished and I am not sure what to do. I've been searching the forum for a similar issue without success.

Please help me someone.


« Last Edit: September 02, 2008, 10:44:52 am by sungoddess »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: URGENT: Server Stops Responding - Memory Limit removed
September 02, 2008, 10:59:11 am

1. can you let us know what version of civicrm you are using and what cms / platform etc (fill up this information in the account profile section)

2. you might also want to check your web server logs and if possible enable the mysql query logs. You might want to check with your host/webmaster how to get access to those logs

3. If you are desperate and need some other help, you might want to contact the Web Access folks from the professional services listing: http://civicrm.org/professional/

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

sungoddess

  • Guest
Re: URGENT: Server Stops Responding - Memory Limit removed
September 02, 2008, 11:20:55 am
Hi there...

1. Using Joomla 1.0.15 and  CiviCRM 2.0.2.

2. Will check the server logs, but what am I checking for? The user account is being created, and the Contact is added to the DB... so I am pretty sure the scripts are connecting to mySQL.

3. Not desparate yet, the client is being patient, but I dislike making her wait. Frustrating because it worked fine before, not sure why all of a sudden it's causing a hang on the server.

The memory limit is set to -1 on the server and in civicrm.settings.php



Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: URGENT: Server Stops Responding - Memory Limit removed
September 02, 2008, 11:40:25 am

the query log will give u some information on if the code is going into some loop with some bad queries / data etc (i.e. a bug in the code)

the access and error log will give u any info that apache has for that request

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: URGENT: Server Stops Responding - Memory Limit removed
September 02, 2008, 11:46:25 am

you might also want to use firebug and ensure that civicrm is loading all the pages from the new host. the browser might be getting stuck trying to load in stuff from the development server or something like that

check: http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

sungoddess

  • Guest
Re: URGENT: Server Stops Responding - Memory Limit removed
September 02, 2008, 12:10:18 pm
This wasn't an move between servers.

I copied their live site and set up their new VPS solution with the copied data, THEN installed CiviCRM. It worked fine before, and now poof, now that I pointed the domain to the installation, problems. I went through and edited the settings files in both the administrator and component folders, making sure the IP address based URL we were using during development was edited out, and then CiviCRM worked again. Yet the form fails to return a success page. All else is working fine so far.



sungoddess

  • Guest
Re: URGENT: Server Stops Responding - Memory Limit removed
September 02, 2008, 12:21:07 pm
Ok... getting somewhere. Will report back...

sungoddess

  • Guest
Re: URGENT: Server Stops Responding - Memory Limit removed
September 03, 2008, 04:22:56 am
Hi again,

Ok I made some progress, set the config_backend to NULL, but unsure how to 're-initialise the settings'. I've checked the settings files in both the admin and component folders, but I'm still getting this error:

Warning: mkdir() [function.mkdir]: Permission denied in /home/bcsiorg/public_html/administrator/components/com_civicrm/civicrm/CRM/Utils/File.php on line 114
Error: Could not create directory: /home/bcsiorg/public_html/mediacivicrm.
If you have moved your database from a development install to a production install and the direcotory paths are different, please set the column config_backend in the civicrm_domain table to NULL. You will need to reinitialize your settings in the production install.

Trying to set: mediacivicrm, to media as that's where the folder they're looking for is, but now whenever I load the page:  /index2.php?option=com_civicrm&task=civicrm/admin/setting/updateConfigBackend&reset=1

The error above is all I get...

Can't get back the CiviCRM page where I could update the info again....

:sigh:



sungoddess

  • Guest
Re: URGENT: Server Stops Responding - Memory Limit removed
September 03, 2008, 02:06:29 pm
Hello,

I have succeeded in setting the base URL and Base Directory... however, the problem with the registration page is still happening. I fails after creating the user account and inserting the record into the contacts list of CiviCRM...

Does anyone have any other suggestions?

ndl

sungoddess

  • Guest
Re: URGENT: Server Stops Responding - Memory Limit removed
September 05, 2008, 04:49:53 am
Hey Lobo,

No more ideas for me? I could really use some right now....


Here is the page that fails:

?option=com_civicrm&task=civicrm/contribute/transact&

sungoddess
« Last Edit: September 05, 2008, 05:31:56 am by sungoddess »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • URGENT: Server Stops Responding - Memory Limit removed

This forum was archived on 2017-11-26.