Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
failed to open stream: No such file or d
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

Unknown User
2020-08-26 11:34:59
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
Unknown User
2020-08-26 14:04:38
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'.
Unknown User
2020-08-26 16:20:29
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?
2020-08-26 16:29:27
I dont think your suggestion of changing groups is correct, is it the default theme fresh install
From the first error it looks like it maybe setup
The last error about groups does not mean it's that in this instance only that theres a issue somewhere else
2020-08-26 16:31:41
Which copy of TT are you using
Unknown User
2020-08-26 17:17:18
"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)
Unknown User
2020-08-26 17:18:11
TorrentTrader 3.0
2020-08-26 17:44:29
that looks fine not used oubuntu but i dont think that would be a big issue, changing query's may come back and bite you in future
have you added a theme and is theme in themes/default in first error it should be
/var/www/html/themes/[color=rgb(247, 218, 100)]default/[/color]block.php this is why i believe its setup
for v3 you only thing you should have to edit is in backend mysql.php and site url in config.php working on some local machines htaccess can cause issues but it should load
Unknown User
2020-08-26 17:57:12
there are no themes installed.  These errors occurred out of the box after install. I modified config and mysql correctly.
Unknown User
2020-08-26 17:58:04
without changing those queries, it will  never work.  The queries as written wouldn;t work in mysql admin either.  bad formatting
2020-08-26 18:21:16
very strange not experienced that before there is new versions coming within next week maybe someone with experience with  oubuntu can be more helpful i dont use v3
your welcome to try mine - make backup first of folders & sql in case you still have issues you can change back
just edit database details and site url in config/config.php

for live server use github https://github.com/M-jay84/Torrent-Trader-MVC-PDO-OOP ([color=rgb(247, 218, 100)]upload sql and contents of upload folder[/color] )

for local xampp use folder below ([color=rgb(247, 218, 100)]important on xampp place pdo folder in htdocs so looks like htdoc/pdo[/color])
New TT.zip
Download
2020-08-26 21:49:02
I havent tested v3 on mysql 8. I have only tested on ubuntu 18.04 lts. Havent tried ubuntu 19 or 20, or whatever they are up to now. Your first error is a theme issue, its not seeing your themes directory in the variable. M-jay is correct on that. try ubuntu 18 if you are able. Bleeding edge isnt always best
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2020-08-26 22:31:09
"tzuriel, post: 69189, member: 713":

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?


Don’t use 8.0 ... you will hate it all along the way (and discover it won’t work well for you). I used it back in January, and not only was it very slow for me, it also prevented me from logging in, remote connection to MySQL, etc etc. It was not worth the trouble in the end, I consider 8.0 more of a enterprise/community server that holds very new things, things that need close attention and that takes a really long time, especially for a high tier server like 8.0

You want query caching, performance and optimized JOIN settings in your my.cnf file, because TT v3 uses a lot of table joining, and wayy too many occurrences linking ‘users’ table, so optimizing the setup even simply, is recommended.

MySQL 5.5 - 5.7 - or - MariaDB 10.x is perfect.
2020-08-26 22:36:25
"MicroMonkey, post: 69198, member: 311":

I havent tested v3 on mysql 8. I have only tested on ubuntu 18.04 lts. Havent tried ubuntu 19 or 20, or whatever they are up to now. Your first error is a theme issue, its not seeing your themes directory in the variable. M-jay is correct on that. try ubuntu 18 if you are able. Bleeding edge isnt always best


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
Unknown User
2020-08-27 22:05:22
"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
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 3
  • Members: 0
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728