Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Fatal error: Allowed memory size

Fatal error: Allowed memory size 4 years 8 months ago #71527

  • miradoro
  • miradoro's Avatar
  • Offline
  • Expert Lime
  • Posts: 92
  • Karma: 0
i am using a duplicated template and this is the error i get:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 54 bytes) in /vservers/site/htdocs/Survey/replacements.php on line 822
The administrator has disabled public write access.

Fatal error: Allowed memory size 4 years 8 months ago #71534

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9352
  • Thank you received: 1340
  • Karma: 386
Hello,

Did you have this error with the default template and same survey ?
Can you allowed more memory to LS ?

Denis
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Fatal error: Allowed memory size 4 years 8 months ago #71560

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6009
  • Thank you received: 371
  • Karma: 260
miradoro,

1. Which Limesurvey version do you use?

2, Where exactly does the error show up?

3. What did you set as $rooturl in config.php?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Fatal error: Allowed memory size 4 years 8 months ago #71572

  • miradoro
  • miradoro's Avatar
  • Offline
  • Expert Lime
  • Posts: 92
  • Karma: 0
1. Which Limesurvey version do you use?

1.90

2, Where exactly does the error show up?

When i click on the second survey created. I can access the first one, second one shows the error

3. What did you set as $rooturl in config.php?

$rooturl = "http://{$_SERVER}/BF_3076_Survey";
The administrator has disabled public write access.

Fatal error: Allowed memory size 4 years 8 months ago #71588

  • miradoro
  • miradoro's Avatar
  • Offline
  • Expert Lime
  • Posts: 92
  • Karma: 0
hi everyone

it seems it was a memory error

the hosting company went to 16mb from the previous 8mb
The administrator has disabled public write access.

Fatal error: Allowed memory size 4 years 8 months ago #71819

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6009
  • Thank you received: 371
  • Karma: 260
8 MB is really not much. Luckily they extended it without making trouble.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Fatal error: Allowed memory size 4 years 8 months ago #71822

  • miradoro
  • miradoro's Avatar
  • Offline
  • Expert Lime
  • Posts: 92
  • Karma: 0
they did extent it to 16mb

hopefully this will be ok
The administrator has disabled public write access.

Fatal error: Allowed memory size 4 years 8 months ago #71860

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6009
  • Thank you received: 371
  • Karma: 260
As long as you are not exporting results of huge surveys it should be fine.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Fatal error: Allowed memory size 4 years 8 months ago #71874

  • miradoro
  • miradoro's Avatar
  • Offline
  • Expert Lime
  • Posts: 92
  • Karma: 0
if i need to export results to an excel file

can i do it from the database itself?

If so, How can i do this?
The administrator has disabled public write access.

Fatal error: Allowed memory size 4 years 8 months ago #71878

  • miradoro
  • miradoro's Avatar
  • Offline
  • Expert Lime
  • Posts: 92
  • Karma: 0
hi

i am exporting the responses to a database and i get empty fields and 'no' under some questions
The administrator has disabled public write access.

Fatal error: Allowed memory size 4 years 8 months ago #71907

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9352
  • Thank you received: 1340
  • Karma: 386
Hello,

When you export from the database: tehre are no problem for text question, for other question, you have the code of the answer, not the complete answer .

You can work with this.

Maybe the empty and "no" are regular.

Denis
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
Time to create page: 0.228 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form