A Total of $485 (USD) Was Raised Towards Our 9/11 Fundraiser. Thank You to All Who Made an Impact! ×
Jump to content
×
×
  • Create New...
  • 0

FivePD resource starts, then unloads due to below


Len12Nailers
 Share

Question

FIVEPD VERSION CURRENTLY INSTALLED ON YOUR SERVER: 1.0.3
FIVE-M SERVER VERSION CURRENTLY INSTALLED ON YOUR SERVER: latest
WHAT TYPE OF FIVEM SERVER ARE YOU RUNNING: fxserver

Server is run off of iceline hostings, gameserver


WHEN DID THE ISSUE OCCUR: Starting server and trying to run FivePD

BEST DESCRIBE THE ISSUE YOU ARE HAVING:
Trying to launch server.  FivePD resource won't start, unloads itself
 

[ FivePD ] An error has occured: Invalid type for database.port (Expected: Integer | Received: String
[ FivePD ] An error has occured: Could not load the departments from the database. Message: System.NullReferenceException: Object reference not set to an instance of an object



DESCRIBE WHAT WAS GOING ON RIGHT BEFORE AND UP TO THE ERROR OR BUG OCCURRING:
[Describe here. Be as detailed as possible.]
having a very hard time installing this, looking for help


IF YOU CAN / HOW MANY PEOPLE WERE ON THE SERVER?
0


IF YOU CAN / ADD ANY LOGS OR SERVER CONSOLE INFO HERE:
[Insert media(s) here. Make sure to censor sensitive information like database login credentials and etc.]
image.thumb.png.b2996dcb326c37b63a7ee45f32628aa0.png
ANY OTHER COMMENTS / STATEMENTS / OR RELATIVE INFORMATION:
 

Link to post
Share on other sites

Recommended Posts

  • 0
1 minute ago, Len12Nailers said:

FIVEPD VERSION CURRENTLY INSTALLED ON YOUR SERVER: 1.0.3
FIVE-M SERVER VERSION CURRENTLY INSTALLED ON YOUR SERVER: latest
WHAT TYPE OF FIVEM SERVER ARE YOU RUNNING: fxserver

Server is run off of iceline hostings, gameserver


WHEN DID THE ISSUE OCCUR: Starting server and trying to run FivePD

BEST DESCRIBE THE ISSUE YOU ARE HAVING:
Trying to launch server.  FivePD resource won't start, unloads itself
 

[ FivePD ] An error has occured: Invalid type for database.port (Expected: Integer | Received: String
[ FivePD ] An error has occured: Could not load the departments from the database. Message: System.NullReferenceException: Object reference not set to an instance of an object



DESCRIBE WHAT WAS GOING ON RIGHT BEFORE AND UP TO THE ERROR OR BUG OCCURRING:
[Describe here. Be as detailed as possible.]
having a very hard time installing this, looking for help


IF YOU CAN / HOW MANY PEOPLE WERE ON THE SERVER?
0


IF YOU CAN / ADD ANY LOGS OR SERVER CONSOLE INFO HERE:
[Insert media(s) here. Make sure to censor sensitive information like database login credentials and etc.]
image.thumb.png.b2996dcb326c37b63a7ee45f32628aa0.png
ANY OTHER COMMENTS / STATEMENTS / OR RELATIVE INFORMATION:
 

 

Check your config.json. Sounds like you've replaced the port which is supposed to be a number, with letters or words. 

notsebo.dev

My personal Discord server: Click

My LSPDFR community Discord server: Click

Link to post
Share on other sites

  • 0
1 minute ago, Len12Nailers said:

FIVEPD VERSION CURRENTLY INSTALLED ON YOUR SERVER: 1.0.3
FIVE-M SERVER VERSION CURRENTLY INSTALLED ON YOUR SERVER: latest
WHAT TYPE OF FIVEM SERVER ARE YOU RUNNING: fxserver

Server is run off of iceline hostings, gameserver


WHEN DID THE ISSUE OCCUR: Starting server and trying to run FivePD

BEST DESCRIBE THE ISSUE YOU ARE HAVING:
Trying to launch server.  FivePD resource won't start, unloads itself
 

[ FivePD ] An error has occured: Invalid type for database.port (Expected: Integer | Received: String
[ FivePD ] An error has occured: Could not load the departments from the database. Message: System.NullReferenceException: Object reference not set to an instance of an object



DESCRIBE WHAT WAS GOING ON RIGHT BEFORE AND UP TO THE ERROR OR BUG OCCURRING:
[Describe here. Be as detailed as possible.]
having a very hard time installing this, looking for help


IF YOU CAN / HOW MANY PEOPLE WERE ON THE SERVER?
0


IF YOU CAN / ADD ANY LOGS OR SERVER CONSOLE INFO HERE:
[Insert media(s) here. Make sure to censor sensitive information like database login credentials and etc.]
image.thumb.png.b2996dcb326c37b63a7ee45f32628aa0.png
ANY OTHER COMMENTS / STATEMENTS / OR RELATIVE INFORMATION:
 

Have you configured your database settings in the config.json properly?

NorthCam18

Arguably the best VIP member here

 

GitHub Account

Link to post
Share on other sites

  • 0
1 minute ago, Sebo said:

 

Check your config.json. Sounds like you've replaced the port which is supposed to be a number, with letters or words. 

Its 127.0.0.1, i am running XAMPP from my at home computer.

Link to post
Share on other sites

  • 0
1 minute ago, NorthCam18 said:

Have you configured your database settings in the config.json properly?

Im not sure, i dont know what to change. I was unable to follow the instructions properly, sorry!

Link to post
Share on other sites

  • 0
Just now, BGHDDevelopment said:

Can you send us your config.json?

(You can hide the passwords)

 

You may also want to follow the video I made on it: 

 

Sure thing!, i will get right on it. I will send you the config but like i said, i am very unsure what to do. I am headed to work in a minute here. so ill watch the video later!

Link to post
Share on other sites

  • 0

{
  "database": {
    "username": "root",
    "password": "",
    "host": "127.0.0.1",
    "port": 3306,
    "database": "fivepd"
  },
  "callouts": {
    "MinimumTimeBeforeCall": 45,
    "MaximumTimeBeforeCall": 150,
    "CalloutExpirationTime": 30,
    "CalloutChance": 65
  },
  "xp": {
    "TRAFFIC_STOP": 250,
    "CALL_COMPLETED": 250,
    "BACKUP_ACCEPTED": 500,
    "CASE_COMPLETED": 500,
    "REPORT_COMPLETED": 250,
    "ARREST_COMPLETED": 250,
    "AMBULANCE_CALLED": 150,
    "FIRE_CALLED": 150,
    "TOW_CALLED": 150
  },
  "AdminCode": "admin"
}

Link to post
Share on other sites

  • 0
1 minute ago, Len12Nailers said:

{
  "database": {
    "username": "root",
    "password": "",
    "host": "127.0.0.1",
    "port": 3306,
    "database": "fivepd"
  },
  "callouts": {
    "MinimumTimeBeforeCall": 45,
    "MaximumTimeBeforeCall": 150,
    "CalloutExpirationTime": 30,
    "CalloutChance": 65
  },
  "xp": {
    "TRAFFIC_STOP": 250,
    "CALL_COMPLETED": 250,
    "BACKUP_ACCEPTED": 500,
    "CASE_COMPLETED": 500,
    "REPORT_COMPLETED": 250,
    "ARREST_COMPLETED": 250,
    "AMBULANCE_CALLED": 150,
    "FIRE_CALLED": 150,
    "TOW_CALLED": 150
  },
  "AdminCode": "admin"
}

Can you navigate to http://localhost/phpmyadmin

Link to post
Share on other sites

  • 0
3 hours ago, BGHDDevelopment said:

Let me know if that works.

Ended up not working, same error. wondering if we can do a discord call or sumthin. At this point i gave up. Lots of frustration. I know it can be done, its just not working for me

 

Link to post
Share on other sites

  • 0
Just now, BGHDDevelopment said:

You can either host at home, on zap hosting, or on a VPS/Dedicated Server

Ok, ill make the switch to zap hosting and try that. ill get back to you with an answer

 

Link to post
Share on other sites

  • 0

[ FivePD ] An error has occured: Could not connect to the database
[ FivePD ] An error has occured: Could not load the departments from the database. Message: MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host 'mysql-mariadb-dal01-9-101.zap-hosting.com' for user 'fivepdswl' using method 'mysql_native_password' failed with message: Access denied for user 'fivepdswl'@'88.214.59.31' (using password: YES) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user 'fivepdswl'@'88.214.59.31' (using password: YES)

Now i get that...

Link to post
Share on other sites

  • 0
5 minutes ago, Len12Nailers said:

[ FivePD ] An error has occured: Could not connect to the database
[ FivePD ] An error has occured: Could not load the departments from the database. Message: MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host 'mysql-mariadb-dal01-9-101.zap-hosting.com' for user 'fivepdswl' using method 'mysql_native_password' failed with message: Access denied for user 'fivepdswl'@'88.214.59.31' (using password: YES) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user 'fivepdswl'@'88.214.59.31' (using password: YES)

Now i get that...

Database password is wrong.

Link to post
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

Important Information

Please view the site: Terms of Use, Privacy Policy, and Guidelines. // IMPORTANT: We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.