Note that there are some explanatory texts on larger screens.

plurals
  1. POPHP/mysql memory error Drupal
    primarykey
    data
    text
    <p>So I am working in a local drupal CMS environment and am easily able to navigate through and open any pages to view or edit. But the moment I try to save changes or delete pages I get one of the two following errors. </p> <p>Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 76 bytes) in /Users/krice/projects/drupal/includes/database.mysql.inc on line 145</p> <p>Fatal error: Maximum execution time of 60 seconds exceeded in /Users/krice/projects/drupal/includes/database.mysql.inc on line 109</p> <p>Here is my my.cnf file and my php.ini file I have (the parts that matter if i need to show more i can)</p> <p>my.cnf</p> <pre><code># The MySQL server [mysqld] port = 8889 socket = /Applications/MAMP/tmp/mysql/mysql.sock skip-external-locking key_buffer_size = 384M max_allowed_packet = 16M table_open_cache = 512 sort_buffer_size = 2M read_buffer_size = 2M read_rnd_buffer_size = 8M myisam_sort_buffer_size = 64M thread_cache_size = 8 query_cache_size= 32M # Try number of CPU's*2 for thread_concurrency thread_concurrency = 8 tmp_table_size=2G max_heap_table_size=2G </code></pre> <p>php.ini</p> <pre><code>;;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; max_execution_time = 60 ; Maximum execution time of each script, in seconds max_input_time = 60 ; Maximum amount of time each script may spend parsing request data memory_limit = 2048M ; Maximum amount of memory a script may consume (8MB) </code></pre> <p>As you can see I have tried uping my max execution time and memory_limit and still does the same thing but now it waits 60 seconds then gives me the errors.</p> <p>Any help would be greatly appreciated and if you need more info I can provide it thanks.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload