solved PHP Fatal error with Audio update

irieweb
@irieweb
3 months ago
12 posts
Using the [form designer], set the description field to [editor] for the Audio update item.

Shortly thereafter, I lost access to Audio's form editor.
Video updates are accessible.
An error screen like the image will appear.
Changing the skin or changing
/modules/jrcore/lib/form.php
where the error is coming to the initial one does not solve it.
I think it's a database problem, but I don't know where to change or delete.
I don't understand programming at all, so please bear with me.

I'm using the Audio Pro2 Skin.

Thank you.




--
I am not good at English. I do not really understand scripts like PHP. Please forgive me. It is difficult to find information on JAMROOM in Japanese.
NORIYOSHI TAKEUCHI

updated by @irieweb: 11/18/22 12:23:19AM
michael
@michael
3 months ago
7,567 posts
Can you go to ACP -> MODULE -> CORE -> SYSTEM CORE -> TOOLS -> SYSTEM CHECK and take a screenshot of it please.

I'm interested in what version of php you're running. Changes in php 8 have broken some older functions which I suspect might be the case for your situation.

I'll try to reproduce it here.
tools.png
tools.png  •  203KB

michael
@michael
3 months ago
7,567 posts
Adding a audio_description field as an 'editor' field works. When I open the CREATE form or the UPDATE form for an audio item I do not see the same error as you.

What are the steps to get to the page where that error shows? or what is the URL of the page where the error shows.

My guess is the issue is that some other module is causing problems, not the editor form field.
form.png
form.png  •  120KB

irieweb
@irieweb
3 months ago
12 posts
@micheal
Thank you for your busy schedule.

[UserProfile]<[Audio]<[Edit]<Error Page becomes.

https://beat-gate.com/audio/update/id=34 error page URL(id=34) is Item no.

I had an error with php8.x in the previous version, so I left it as it is. Since the server is compatible, should I switch to Php8?


--
I am not good at English. I do not really understand scripts like PHP. Please forgive me. It is difficult to find information on JAMROOM in Japanese.
NORIYOSHI TAKEUCHI
irieweb
@irieweb
3 months ago
12 posts
I changed php to 8.1.
A new upload works fine, but an update still gives an error.

Error Log
[12-Nov-2022 15:19:22 Asia/Seoul] PHP Fatal error: Allowed memory size of 2097152000 bytes exhausted (tried to allocate 1071644680 bytes) in /home/beatgate/public_html/modules/jrCore-release-6.5.13/lib/form.php on line 3403 [1]

The video update seems fine.


--
I am not good at English. I do not really understand scripts like PHP. Please forgive me. It is difficult to find information on JAMROOM in Japanese.
NORIYOSHI TAKEUCHI

updated by @irieweb: 11/11/22 10:28:49PM
michael
@michael
3 months ago
7,567 posts
Thanks for the very specific error report that makes finding the issue easy.

It looks like this issue has already been fixed for the next core version.

The issue was from the "select_date" form field type.

--edit--
That form field is probably only on the UPDATE form designer since thats the only one having the error.
date.png
date.png  •  161KB

instead.png
instead.png  •  95KB

select-date.png
select-date.png  •  28KB

date-version.png
date-version.png  •  41KB


updated by @michael: 11/11/22 10:54:55PM
irieweb
@irieweb
3 months ago
12 posts
@micheal
Thank you for your very quick response.
I did what you said and the error is gone.

Thank you very much!


--
I am not good at English. I do not really understand scripts like PHP. Please forgive me. It is difficult to find information on JAMROOM in Japanese.
NORIYOSHI TAKEUCHI
michael
@michael
3 months ago
7,567 posts
:) Well done. Good luck with your sites.

Tags