Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error trying to execute receivermulti.php #2

Open
rokasvaladka opened this issue Nov 24, 2022 · 0 comments
Open

Error trying to execute receivermulti.php #2

rokasvaladka opened this issue Nov 24, 2022 · 0 comments

Comments

@rokasvaladka
Copy link

Hello. Im kinda new in this so this might not be an issue just my lac of competence. Curently trying to launch this on localhost and i face an error that i cant find solution for.

'''rokasvaladka@Rokass-MacBook-Air src % php receivermulti.php
PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory in /Applications/MAMP/htdocs/GPS_Tracker_Server-master/src/Paris/idiorm.php:328
Stack trace:
#0 /Applications/MAMP/htdocs/GPS_Tracker_Server-master/src/Paris/idiorm.php(328): PDO->__construct('mysql:host=loca...', 'mamp', '', Array)
#1 /Applications/MAMP/htdocs/GPS_Tracker_Server-master/src/Paris/paris.php(115): ORM::_setup_db('default')
#2 /Applications/MAMP/htdocs/GPS_Tracker_Server-master/src/Paris/paris.php(371): ORMWrapper::for_table('gpsdata', 'default')
#3 /Applications/MAMP/htdocs/GPS_Tracker_Server-master/src/receivermulti.php(374): Model::factory('Gpsdata')
#4 /Applications/MAMP/htdocs/GPS_Tracker_Server-master/src/receivermulti.php(152): logdata('BOOT', 8, '0')
#5 {main}
thrown in /Applications/MAMP/htdocs/GPS_Tracker_Server-master/src/Paris/idiorm.php on line 328

Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory in /Applications/MAMP/htdocs/GPS_Tracker_Server-master/src/Paris/idiorm.php:328
Stack trace:
#0 /Applications/MAMP/htdocs/GPS_Tracker_Server-master/src/Paris/idiorm.php(328): PDO->__construct('mysql:host=loca...', 'mamp', '', Array)
#1 /Applications/MAMP/htdocs/GPS_Tracker_Server-master/src/Paris/paris.php(115): ORM::_setup_db('default')
#2 /Applications/MAMP/htdocs/GPS_Tracker_Server-master/src/Paris/paris.php(371): ORMWrapper::for_table('gpsdata', 'default')
#3 /Applications/MAMP/htdocs/GPS_Tracker_Server-master/src/receivermulti.php(374): Model::factory('Gpsdata')
#4 /Applications/MAMP/htdocs/GPS_Tracker_Server-master/src/receivermulti.php(152): logdata('BOOT', 8, '0')
#5 {main}
thrown in /Applications/MAMP/htdocs/GPS_Tracker_Server-master/src/Paris/idiorm.php on line 328'''

could you please help me out with this? Also if there is another way to contact you let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant