The FOSSBilling Forum Support Support - Bugs & Errors PrinsFrank error...?

PrinsFrank error...?

PrinsFrank error...?

 
  • 0 Vote(s) - 0 Average
 
NightStorm
Junior Member

4
09-24-2025, 10:50 PM #1
An error has occurred.

Instance ID: c6459b4c-f3da-4803-8b57-2c07bcc02dfc Error Code: #0 Component: Generic
Code:

Call to undefined function PrinsFrank\Standards\Country\locale_get_display_region()

Latest Preview Build. Am I missing a step or setting? Likely... but I also can't find anything about it on Google, so this is my fallback.
NightStorm
09-24-2025, 10:50 PM #1

An error has occurred.

Instance ID: c6459b4c-f3da-4803-8b57-2c07bcc02dfc Error Code: #0 Component: Generic

Code:

Call to undefined function PrinsFrank\Standards\Country\locale_get_display_region()

Latest Preview Build. Am I missing a step or setting? Likely... but I also can't find anything about it on Google, so this is my fallback.

BelleNottelling
Administrator

89
09-25-2025, 09:15 PM #2
Hey there,

I'm not able to replicate this. Is it on a specific page or when triggering a specific action?

Thanks!
BelleNottelling
09-25-2025, 09:15 PM #2

Hey there,

I'm not able to replicate this. Is it on a specific page or when triggering a specific action?

Thanks!

NightStorm
Junior Member

4
Yesterday, 04:13 AM #3
Trying to view the admin panel. Can't get past that point. It also returns the same error when trying to view the homepage (the /public that fossbilling redirects to off index).
When I grep "locale_get_display_region" in the prinsfrank directory, it returns it in vendor/prinsfrank/standards/src/Country/CountryAlpha2.php, so that library seems to be complete enough... I don't know how the file is called as a function though, other than in composers autoload_static.php... but this is all someone else's code (not mine), so I don't want to go poking around too deep and get lost. The odd thing is, is that it was working for a short time before the error popped up and stopped me dead. I wasn't in the process of entering any data in, or anything... just tried opening the admin page, and wham. Full size error.
NightStorm
Yesterday, 04:13 AM #3

Trying to view the admin panel. Can't get past that point. It also returns the same error when trying to view the homepage (the /public that fossbilling redirects to off index).
When I grep "locale_get_display_region" in the prinsfrank directory, it returns it in vendor/prinsfrank/standards/src/Country/CountryAlpha2.php, so that library seems to be complete enough... I don't know how the file is called as a function though, other than in composers autoload_static.php... but this is all someone else's code (not mine), so I don't want to go poking around too deep and get lost. The odd thing is, is that it was working for a short time before the error popped up and stopped me dead. I wasn't in the process of entering any data in, or anything... just tried opening the admin page, and wham. Full size error.

BelleNottelling
Administrator

89
Yesterday, 05:41 AM #4
If you delete everything under the "data/cache/" directory, does it start working again?
BelleNottelling
Yesterday, 05:41 AM #4

If you delete everything under the "data/cache/" directory, does it start working again?

NightStorm
Junior Member

4
Yesterday, 06:28 AM #5
Unfortunately not, but thanks for responding. Upon deleting every file and folder inside data/cache/, and reloading the page from a different browser (to avoid client-side cache), the server recreates 1 empty folder and 1 file, but the error is still there. The file (classMap.php) appears to be a pretty substantial list of other php files... probably more than you want me to paste in here.

[hostcanadian@server public_html]# ls -l data/cache/*
-rw-r--r-- 1 hostcanadian hostcanadian 32762 Sep 25 23:23 data/cache/classMap.php

data/cache/sf_cache:
total 0
NightStorm
Yesterday, 06:28 AM #5

Unfortunately not, but thanks for responding. Upon deleting every file and folder inside data/cache/, and reloading the page from a different browser (to avoid client-side cache), the server recreates 1 empty folder and 1 file, but the error is still there. The file (classMap.php) appears to be a pretty substantial list of other php files... probably more than you want me to paste in here.

[hostcanadian@server public_html]# ls -l data/cache/*
-rw-r--r-- 1 hostcanadian hostcanadian 32762 Sep 25 23:23 data/cache/classMap.php

data/cache/sf_cache:
total 0

BelleNottelling
Administrator

89
2 hours ago #6
That's weird then. Next thing I'd try doing is backing up, then deleting everything except for the config.php file.
Download the latest release again and then extract it where you had FOSSBilling installed.

Then delete the install folder.

This should get all of the FOSSBilling related files to a clean state
BelleNottelling
2 hours ago #6

That's weird then. Next thing I'd try doing is backing up, then deleting everything except for the config.php file.
Download the latest release again and then extract it where you had FOSSBilling installed.

Then delete the install folder.

This should get all of the FOSSBilling related files to a clean state

 
  • 0 Vote(s) - 0 Average
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)