I copied my Drupal 7 site from production server (Linux) to my local WAMP server.

First I had this error “Fatal error: Allowed memory size of X bytes exhausted (tried to allocate Y bytes)” and I solved it by increasing the memory amount to 512M in php.ini file.

Now, I can’t login to my Drupal site and I have “The file could not be created” error.

When I googled, I found out that to solve the problem is to go to admin-> config -> file system and change the tmp directory, but I can’t log in.

How can I fix the problem?
Thanks

Comments

tarun_nagpal’s picture

Hello Eskinder,
Please provide the site url or the actual screenshot in order to look into.

What i can suggest you blindly is to turn the CSS/JS compression off.

The error usually comes when you change the server and the files are in compressed mode.

Please follow the steps to do so.
1. Goto the path admin/config/development/performance
2. Find the section BANDWIDTH OPTIMIZATION.
3. Uncheck the options "Aggregate and compress CSS files" and "Aggregate JavaScript files.".Only local images are allowed.
5. Click save and clear the cache.