Changes in excitatory and inhibitory synaptic potentials leading to epileptogenic activity