Go to Profile
I am not skilled like you guys at all. I can make my way through the code and modify some things but updating the forum code? Not me.
"MicroMonkey, post: 69217, member: 311":
I edited the readme installation on github to reflect the strict mode and mysql requirement. Even tho you didnt do anything, thanks for doing it because I didnt realize these things since I have had my machines running for so long and those minor steps are required and I forgot all about them lol
Glad to be helpful without knowing it!
[LIST=1]
forum a
[LIST=1]
forum a1
forum a2
[/LIST]
[/LIST]
Gold
Mysql Version: 5.7.31-0ubuntu0.18.04.1
PHP Version: 7.2.24-0ubuntu0.18.04.6
Apache Version: Apache/2.4.29 (Ubuntu)
Okay - making progress!
[TABLE]
[TR]
[TD] zlib compression support[/TD]
[TD]Available[/TD]
[/TR]
[TR]
[TD] - XML support[/TD]
[TD]Available[/TD]
[/TR]
[TR]
[TD] - MySQLi support[/TD]
[TD]Available[/TD]
[/TR]
[TR]
[TD] - curl support (Not required but external torrents may scrape faster)[/TD]
[TD]Available[/TD]
[/TR]
[/TABLE]
ok - got database working by running sudo apt-get install PHP-mysqli and restarting apache. Still seeing XML and curl unavailable
[TABLE]
[TR]
[TD] - XML support[/TD]
[TD]Unavailable[/TD]
[/TR]
[TR]
[TD] - MySQLi support[/TD]
[TD]Available[/TD]
[/TR]
[TR]
[TD] - curl support (Not required but external torrents may scrape faster)[/TD]
[TD]Unavailable[/TD]
[/TR]
[/TABLE]
"MicroMonkey, post: 69211, member: 311":
strict mode needs turned off in mysql. mysqli is a function of php 7, theres nothing to install
Turning off strict mode solved the sql import issues so thank you for that!
However, still seeing mysqli is not installed:
[TABLE]
[TR]
[TD]PHP version >= 7.2.0[/TD]
[TD]
Yes - Your PHP version is 7.2.24-0ubuntu0.18.04.6[/TD]
[/TR]
[TR]
[TD] - zlib compression support[/TD]
[TD]
Available[/TD]
[/TR]
[TR]
[TD] - XML support[/TD]
[TD]
Unavailable[/TD]
[/TR]
[TR]
[TD] - MySQLi support[/TD]
[TD]
Unavailable[/TD]
[/TR]
[/TABLE]
Why isn't it available with php?
Ok - i installed Ubuntu 18.04 with mySQL 5.7 and PHP 7.2. However, mysqli is not installed with this version, I guess, because check.php fails that check and php -m doesn't show that module as installed.
Also, the Full Database.sql file is not formatted properly for 5.7, I guess. Lots of failures due to certain fields not allowing a default value and the 0000-00-00 00:00:00 default value for dates was not accepted either.
What can I do next to get this working? I am determined! Thanks for your continued patience and help.
"STorrents2020, post: 69201, member: 20382":
FreeBSD for life lmao. I love my OS (runs Paypal, Yahoo, tons of sites). Fast as hell and upgrading is 1 command. Linux has a better feature.. rebootless kernel updating (that’s a UNIX breakthrough). I hope we get that soon ...
Start stock with the files (fresh) and get rid of 8.0, let us know what happens
Okay - will give it a try. Thanks
without changing those queries, it will never work. The queries as written wouldn;t work in mysql admin either. bad formatting
there are no themes installed. These errors occurred out of the box after install. I modified config and mysql correctly.
"m-jay, post: 69191, member: 20288":
Which copy of TT are you using
Mysql Version:
8.0.21-0ubuntu0.20.04.4
PHP Version:
7.4.3
Apache Version:
Apache/2.4.41 (Ubuntu)
So it seems every occurrence of groups has to be replaced with `groups` I am using this version
version() |
+-------------------------+
| 8.0.21-0ubuntu0.20.04.4 |
Is that the issue?
Some more details:
Database Error in backend/functions.php on line 197: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near
'groups ON users.class=groups.group_id WHERE id=1 AND users.enabled='yes' AND use' at line 1.
Query was: SELECT * FROM users INNER JOIN groups ON users.class=groups.group_id WHERE id=1 AND users.enabled='yes' AND users.status = 'confirmed'.
check.php comes back successful across the board. Home page opens and then after signing up the first user, home page returns;
Warning: require_once(/var/www/html/themes/block.php): failed to open stream: No such file or directory in /var/www/html/backend/functions.php on line 249
Fatal error: require_once(): Failed opening required '/var/www/html/themes/block.php' (include_path='.:/usr/share/php') in /var/www/html/backend/functions.php on line 249
If I copy this file from another directory, I get database failed message
I've dropped the database, reinstalled mysql and phpmyadmin.
Any suggestions? Thank you