error 500

Dimitry 25 Apr, 2016
Hello!
Answer please. The component CF has ceased to run in administrative panel. Shows error 500 and the text "site still can not process this request." I can not find the cause of the error. I installed the error messages on the maximum and instead of the message above is now writes: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 425 bytes) in /home/m/meatrich/hahoooriginal/public_html/libraries/cegcore/libs/base64.php on line 33
Maybe there is a solution to this problem? Thank you!
error 500 image 1
GreyHead 26 Apr, 2016
Hi Dimitry,

Which versions of CF Joomla! and PHP are you using?

Bob
Dimitry 26 Apr, 2016
Hi Bob!
CF - 5.0.11, Joomla! - 3.5.1, PHP - 5.6
I asked about my problem hosting provider. He said: At the time of your application server is working in normal mode, the problems in the services were not observed. Server logs at the time of treatment on the side of the site there was an error PHP Fatal error: Allowed memory size of 134217728 bytes exhausted. This error is caused by a lack of memory to perform your script. The error could be caused by the recent changes to the site.
I do not understand. My biggest file - 2.2 Mb. Files - 20 pieces. Everyone 1.3 - 1.9 mb. Is it not enough RAM to store 500 megabytes to process these files?
GreyHead 26 Apr, 2016
Hi Dimitry,

All those look OK. You should have enough memory. It's hard to diagnose a loop because the error message just shows the last command executed :-(

If you set site debugging to Maximum do you get any more helpful messages shown or in the logs?

Bob
Dimitry 26 Apr, 2016
Bob, what I specifically do? Please give advice.
GreyHead 26 Apr, 2016
Hi Dimitry,

Go to Site Global Configuration > System > Debug Settings and set Debug System to Yes. Try loading the ChronoForms page and see if you get any more useful error messages

Then turn Debug System off again.

Bob
Dimitry 27 Apr, 2016
Hi Bob!
I have uploaded a new form in the component, and now I can not open the component in the admin panel - error 500. And I can not check the error information when debugging is enabled systems. Bob, please tell me in which folder uploaded recorded form to remove excess could form by hand?
GreyHead 28 Apr, 2016
Hi Dimitry,

I suspect that this is a problem with server security settings. Please check with your web-host to see if they can help.

Did you see anything when you turned site Debug on?

The forms are stored in a database table, not in a folder.

Bob
Dimitry 28 Apr, 2016
Hi Bob!

Thank you! I removed excess form and component opened. Now I try to see the error information when debugging is enabled systems. Then show it to you ...

Please see it:
http://recordit.co/jppBayOsEA
and:
http://recordit.co/CdbSXWOOCM

I do not understand this information. But maybe for you it will be clear.

I am concerned repetitive database queries # 10 and # 11. From the report it is clear that memory is used at the limit of possibility. Maybe you will be appreciated. Please see the 2 videos.

Thank you Bob!
GreyHead 28 Apr, 2016
Hi Dimitry,

It looks as though those queries come from Akeeba Subscriptions - I have no idea why that would be running multiple queries in the site admin. You might try disabling it temporarily to see if that helps.

Bob

PS The videos take a long, long time to download here.
Dimitry 28 Apr, 2016
Hi Bob!

If to disconnect a component, then the repeated requests disappear, but the memory usage still on edge.
error 500 image 2

I tried to download another file in the Component CF and the situation repeats - error 500. Akeeba no reason.

I just want to know in your practice has been such a volume of files (20 pieces) or more? Grabs whether to process their 500 MB of RAM?
Dimitry 28 Apr, 2016
P.S.

I basically can use this component to my website and upload new files there, it just does not open in the admin panel. Publish forms I through the database. But I do not know where it may lead in the future ...
GreyHead 28 Apr, 2016
Hi Dimitry,

No it is not normal for ChronoForms to use 500Mb of memory. This is something to do with site settings or some other component that is possibly conflicting with ChronoForms.

Bob
Dimitry 28 Apr, 2016
Sorry Bob. I do not understand. 500 MB - this is normal or not?
GreyHead 29 Apr, 2016
Hi Dimitry,

Sorry, I don't understand your question either :-(

500Mb of memory should be enough. The problem you appear to be having is that there is a loop somewhere that is re-loading the same code over and over again until memory runs out, I have no idea what is causing that to happen.

Bob
Dimitry 29 Apr, 2016
Hi Bob!

If I understand correctly, the problem with repeated requests to the database, you can decide to include caching mysql query. I asked the hosting provider. He replied that caching is enabled. But I am confused by the parameter: query_cache_size 536870912. Perhaps it is set to maximum. Is this a cause of the problem? I read that the cache can also have a negative effect ...
Dimitry 29 Apr, 2016
P.S.

I tried to install the component (version 5.0.10) on a different template (other developer). Remove all forms of demonstration. At the opening of the component time and memory in the red zone. Does not this component is the problem?

error 500 image 3

I turned off the library CEGCore. memory and time indicators declined, but are in the red zone:

error 500 image 4

I loaded into the component only 5 of my forms, and time and memory performance increased immediately:

error 500 image 5

And now my amateur analysis of something you said?

I try to install the component on a clean Zhumla! And I will write the result later.
Dimitry 29 Apr, 2016
P.S.-2 ๐Ÿ˜€

Here are the results of my research at the set pure Joomla! I just installed on a pure component Joomla! I have not uploaded my files in the component. Time and memory in the red zone.

error 500 image 6

If I guess the problem is on my hosting. Rather its settings. Maybe that's my problem because the maximum setting caching database queries?

Tell me, Bob, what do you think about all this?
Dimitry 30 Apr, 2016
Hi Bob!

I think that the maximum cache option does not affect the component. I installed component on the local server. And to include debugging systems. Please look at the picture below. For some reason, the component is not visible in the picture, but it is likely to: Time: 285.2 ms / 489.8 ms Memory: 7.715 MB / 15.97 MB Application: afterDispatch

error 500 image 7

I think that the cause of my problem in the component and amounting to of my forms. Perhaps there is some limit on the number of forms and size?
GreyHead 30 Apr, 2016
Hi Dimitry,

I'm sorry but I have no idea - I doubt that the number of forms (I have a test site with nearly 500 forms and no problems). It might be form size but they would have to be very very big.

Bob
Dimitry 30 Apr, 2016
Very strange. My files that have a size of about 2 MB or more is sometimes not open. There is an error 502. And if they open, it is very long.
๐Ÿ˜Ÿ
I do not even know in which direction to look for the cause. Thanks Bob!
GreyHead 30 Apr, 2016
Hi Dimitry,

Is the Error 500 or 502 ? They are different. In either case your web host may be the best source of help here.

Bob
Dimitry 02 May, 2016
Error 502 occurs when you open a the form measuring about 2 MB or more. But I'm not worried about it, potomts that the form is still opened on the second or third time.

error 500 image 8

Error 500 occurs when you open a component, if I uploaded the excess (twenty-first row) form.

error 500 image 9

I had to remove excess a form via the database so that I can open the component.

Tell me please. Vzmozhno Is that my problem (500) occurs because of code in my form? All my form - multipage. But none of them does not complete the action Submit. Last page of each form is completed the transition to a non-existent page. Perhaps because of this problem? Or each multipage form must necessarily be completed Submit action?
GreyHead 02 May, 2016
Hi Dimitry,

Sorry I have no idea about form sizes - I have never seen that problem before.

The last page of your multipage form should submit to a final event. Please see the Demo Multi Page form for an example.

Bob
Dimitry 02 May, 2016
Yes, Bob, I was guided demo multipage form.
Please advise, as I have to do to multipage form has been correctly completed. I have this situation:
On the last page (#8) of my multi-page form contains a link to download PDF file.

error 500 image 10

The form consists of eight pages.
In action HTML (Render Form) on page #7:
Page - 7
Submit event - page8

error 500 image 11

I do not know how to complete the form Submit action. I would like to Submit button is a button out of form. For when you click Submit user navigates to a specific page. So I did this:
In action HTML (Render Form) on page #8:
Page - 8
Submit event - submit
Action URL - documents/free/raspiska-besplatno

error 500 image 12

Everything is working. But I know that made a mistake, because the component tells me this:

error 500 image 13

Please, Bob, give me advice how I should complete the form Submit action, and that in this case the user out of the form to a specific page?

Thank you!
Dimitry 03 May, 2016
P.S.

And Bob: hosting provider made a mistake when he wrote to me that the RAM in my tariff - 500 mb. In fact, my tariff plan suggests 128 MB of RAM. It is not enough?
GreyHead 03 May, 2016
Hi Dimitry,

It is possible that 128Mb is not enough, I don't know. Please check with your web host.

If you want to add an Action URL please make it an full URL including the domain name to avoid problems.

Bob
Dimitry 03 May, 2016
I did as you said. However, the error message is still displayed. Something is wrong?
error 500 image 14

error 500 image 15

error 500 image 16
GreyHead 04 May, 2016
Hi Dimitry,

It's not an 'Error' message - it is a notice telling you that there is a non-standard Action URL set, which is true.

Bob
This topic is locked and no more replies can be posted.