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

1.5.3 - class_database error when try to delete locations #41

Open
moonslice opened this issue Feb 20, 2022 · 1 comment
Open

1.5.3 - class_database error when try to delete locations #41

moonslice opened this issue Feb 20, 2022 · 1 comment

Comments

@moonslice
Copy link

I'm trying to delete locations on a 1.5.3 pmd site, but when I try, I get error

Fatal Error: Database (1064) SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND' at line 1 in file /home/find.../public_html/includes/class_database.php on line 202 (SQL: SELECT COUNT(*) FROM pmd153_listings l INNER JOIN pmd153_locations lc ON l.location_id=lc.id WHERE lc.left_ BETWEEN AND ) in /home/find.../public_html/includes/class_database.php on line 207

I tried uploading the opensource class_database.php file, but that didn't help.

Any suggestions or ideas how to edit that php file to work?

thanks!

@sirslmarx
Copy link

I have the same problem but with a different error code Fatal error: Call to undefined method Locations::getFullCount() in /home/sirsam/public_html/cp/admin_locations.php on line 26

Not sure how to fix this

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

2 participants