Error when sending data to my 000webhost database: “No such file or directory (2)”

Hey there,

I’m having trouble simply sending data to my database. When entering data on my website and clicking on “Add record”, I get the following error in the Developer tool of my browser:

  1. {code: 0, file: “/storage/ssd1/873/13238873/public_html/dmxConnectLib/lib/core/Session.php”, line: 9,…}
  2. code: 0
  3. file: “/storage/ssd1/873/13238873/public_html/dmxConnectLib/lib/core/Session.php”
  4. line: 9
  5. message: “session_start(): open(/storage/ssd1/873/13238873/tmp/sess_8qq8dp1saodh14u35cchk8nsvi, O_RDWR) failed: No such file or directory (2)”
  6. trace: “#0 [internal function]: exception_error_handler(2, ‘session_start()…’, ‘/storage/ssd1/8…’, 9, Array)↵#1 /storage/ssd1/873/13238873/public_html/dmxConnectLib/lib/core/Session.php(9): session_start()↵#2 /storage/ssd1/873/13238873/public_html/dmxConnectLib/lib/App.php(38): lib\core\Session->__construct()↵#3 /storage/ssd1/873/13238873/public_html/dmxConnect/api/insert.php(5): lib\App->__construct()↵#4 {main}”

I have been told there is potentially an issue with the “permissions on my server temp folder” which I don’t know what it really means. Any idea what this could be?

Thanks a lot!

Hi there :slight_smile:
You had deleted the tmp folder in the root directory which handles sessions :wink:
I have restored this folder for you, everything should be running smoothly now.

Hey Ckhawand,

Thanks for that! I for sure didn’t do it on purpose, any idea when/how did it happen in order for me to try to avoid it?

Thanks!

Could’ve been a bug when your account was created.
Next time, just create a tmp folder in the / directory

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.