WebDev

EhPortal => EhPortal Support => Topic started by: Dave on July 01, 2023, 02:21:00 AM

Title: New error appeared
Post by: Dave on July 01, 2023, 02:21:00 AM
Hi Chen,

I have a new error on the portal.

It showed itself when I deactivated the arcade and quiz reset countdown block. Thinking it was just a glitch I deleted the block altogether but the error is still there. It seems to multiply every time you go from the forum to the portal page

Screenshots attached
Title: Re: New error appeared
Post by: Dave on July 02, 2023, 01:44:13 AM
The error seems to have gone. Not sure if you did it or if it was me yesterday doing a regular maintenance sweep. But away the error doesn't show anymore.
Title: Re: New error appeared
Post by: Chen Zhen on July 02, 2023, 10:22:36 AM
I didn't have a chance to look at it yet. I was going to look at how your arcade was disabled while arcade type blocks weren't to see if that was the problem.
Title: Re: New error appeared
Post by: Chen Zhen on July 02, 2023, 02:42:49 PM
This is an error from a custom PHP block.

Since you have EhPortal set to not use eval() it creates temporary php files.
Temp files are usually erased unless there is an error then they will remain until you manually perform portal maintenance.

So do you see the first line of the error? It shows the temporary file name and the line number that caused the error.
Open the file and find the line that caused the error then you can likely trace what the problem was.

Although I do see temp files in that directory at the moment (12 of them), I don't see the one that caused the error.
Did you already perform EhPortal maintenance to delete those temp files when you had an issue?
 
Title: Re: New error appeared
Post by: Chen Zhen on July 02, 2023, 03:07:26 PM

BTW - I just purged your temp blocks path because most of those files were from me.
Regardless, the file in your error report image wasn't there before I did that.
Title: Re: New error appeared
Post by: Dave on July 02, 2023, 03:15:24 PM
If I'm honest I've never purged anything in the portal, I didn't know I had to. Maybe, as previously mentioned, I did the SMF maintenance that cleared it, because after doing that the error never repeated.

Thanks again for looking and the the tidy up
EhPortal 1.39.6 © 2024, WebDev