jamie Developer Från Hungary Medlem sedan juli 2017 jamie 23 juni 2021 14:24 Hi Tim! I get this error when installing Localhost. No admin or front page. PHP version 7.14 Litecart 2.2.7 What can be done with this? Warning: Use of undefined constant DB_TABLE_PERMALINKS - assumed 'DB_TABLE_PERMALINKS' (this will throw an Error in a future version of PHP) in ~/includes/routes/url_permalink.inc.php (Line 10) Fatal error: 1146 - Table 'cart.db_table_permalinks' doesn't exist select * from DB_TABLE_PERMALINKS where permalink = '' or permalink = 'en/' limit 1; in ~/includes/library/lib_database.inc.php (Line 260)
tim Founder Från Sweden Medlem sedan maj 2013 tim 28 juni 2021 00:10 I uploaded a new make that doesn't require the table defintion. See if that works better.
jamie Developer Från Hungary Medlem sedan juli 2017 jamie 28 juni 2021 11:54 Hi Tim! Unfortunately, the same mistake. I cleared my cache, tried with another browser, but it doesn't work. Warning: Use of undefined constant DB_TABLE_PERMALINKS - assumed 'DB_TABLE_PERMALINKS' (this will throw an Error in a future version of PHP) in ~/includes/routes/url_permalink.inc.php (Line 10) Fatal error: 1146 - Table 'spwordpr_gyuribello.DB_TABLE_PERMALINKS' doesn't exist select * from DB_TABLE_PERMALINKS where permalink = '' or permalink = 'hu/' limit 1; in ~/includes/library/lib_database.inc.php (Line 260)
tim Founder Från Sweden Medlem sedan maj 2013 tim 28 juni 2021 14:47 That means there are more traces of this definition being used. I am on it, and will be back shortly.
tim Founder Från Sweden Medlem sedan maj 2013 tim 28 juni 2021 15:00 Ok, I updated the download. It was a faulty wrap up. Try one more time.
tim Founder Från Sweden Medlem sedan maj 2013 tim 28 juni 2021 21:08 Oh glad to hear. :) I am in the middle of removing all table definitions for the next major LiteCart release. This is for making things even more simple. I have already started doing so in the add-ons bit by bit. This one was just half way. :)