Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

A Still Unsolved Internal Server Error - Add-On Domain Installation?

$
0
0

@Kiusau wrote:

Might it be that Matomo does not know how to handle Add-On Domains?

The Internal Sever Error that is created when a user checks or unchecks the opt-in/opt-out checkbox for accepting tracking cookies has not gone away – this despite my best effort to correct the problem.
After changing the value of the log[] array from screen to file in the global.ini.php file I ran the troubled checkbox. I then went to the tmp folder to look for the piwik.log file. Nothing. So, I created my own piwik.log file, ran the troubled checkbox and looked again. Although the file was still there; it was empty.

The server error is consistently the same: [Sun Apr 15 12:33:20.367548 2018] [:error] [pid 4106] (12)Cannot allocate memory: [client …] couldn’t create child process: /usr/sbin/suphp for … /matomo/index.php, referer: Grammar Captive Overview

Please keep in mind that when the page is refreshed the checkbox is as it should be. In other words the toggle appears eventually to work.

I have two more possible, but untested solutions: one is somewhat drastic, the other is an unwanted, time-consuming bother.

  1. Is it possible that Matomo does not work properly when it tries to communicate with sister add-on domains? I have a site called thegenaproject.com. The installed Matomo package resides in an add-on domains called nudge.online and the troubled checkbox in a different add-on domain called grammarcaptive.com. Would it make a difference, if I were to reinstall the Matomo package inside thegenaproject.com domain – the principal domain?

  2. Although located on the same page the checkbox is copied into the <main> div of the same page via Javascript. As a result there are two copies of the enclosing <iframe> on the same page when the checkbox is checked. Would finding another place for the checkbox that would result in only one copy of the <iframe> make a difference?

Please advise and please provide your reasoning in both instances, if not another.

Roddy

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles