"The connection has been reset"

I copied the Drupal site from the live server to the test environment to continue development. I installed this in a WAMP environment, imported the databases successfully and set up a virtual host for the site.

I can connect to the site with no problem and login. When I want to access the admin pages, I get the following message from the browser ( http: //www.MYSITE.local/da/admin/modules ):

The connection has been reset

      

Firefox reports the request as "Aborted" when I check the Firebug Net.

There are no errors in the Apache log files. Also, I've enabled PHP Errors for debugging and nothing is displayed.

I have reset the cache, looking for compression options for CSS and Javascript in phpMyAdmin, but not found I could disable.

A lot has been said on the right!

+3


source to share


4 answers


After migration, if you encounter a problem, run rebuild_registry and solve it. Please note that this is not a drupal module. It is available as a very useful submodule for drush.

I highly recommend manually installing drush for windows. Follow the instructions to install drush.

After starting the installation

drush dl registry_rebuild

      



It doesn't matter which directory you run this command from, as its a drush extension, not a drupal extension. Drush will download the necessary files and place them in the appropriate location.

after it completes you can visit your sites folder and run

drush rr

      

This should rebuild the registry and clear the cache. Most migration problems are fixed automatically. Please leave a comment if it doesn't fix your problem.

+2


source


If that doesn't work - as in my case, add the following code to your httpd.conf. This will increase the stack size (default 1 MB).



<IfModule mpm_winnt_module>
  ThreadStackSize 8388608
</IfModule>

      

+2


source


Trim manually the entire cache table and sessions that could be resolved:

eg:

Truncate table myprefix_cache;
Truncate table myprefix_cache_admin_menu;
Truncate table myprefix_cache_block;
Truncate table myprefix_cache_bootstrap;
Truncate table myprefix_cache_field;
Truncate table myprefix_cache_filter;
Truncate table myprefix_cache_form;
Truncate table myprefix_cache_image;
Truncate table myprefix_cache_l10n_update;
Truncate table myprefix_cache_libraries;
Truncate table myprefix_cache_media_xml;
Truncate table myprefix_cache_menu;
Truncate table myprefix_cache_page;
Truncate table myprefix_cache_path;
Truncate table myprefix_cache_rules;
Truncate table myprefix_cache_token;
Truncate table myprefix_cache_update;
Truncate table myprefix_cache_variable;
Truncate table myprefix_cache_views;
Truncate table myprefix_cache_views_data;
Truncate table myprefix_sessions;

      

0


source


I fixed this by visiting Performance and disabling Aggregate and CSS compression.

0


source







All Articles