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-28 06:03:47
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.
2020-08-28 11:06:20
strict mode needs turned off in mysql. mysqli is a function of php 7, theres nothing to install
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)
Unknown User
2020-08-28 16:10:44
"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?
Unknown User
2020-08-28 16:24:25
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]
Unknown User
2020-08-28 16:26:09
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]
Unknown User
2020-08-28 16:31:40
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)
2020-08-28 20:26:04
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
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)
Unknown User
2020-08-28 20:57:14
"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!
2020-08-28 21:14:48
Glad it is working for you. This fall I may get into testing on newer mysql to see what the differences are. but I dont have any time for that now. Stay away from php 7.4 for now. It does work, but may be a bug or 2 that I havent seen. I know magic_quotes is gone, but thats all I know at this point. That should be easy to get rid of, but you will be happy with what you have for a while I believe. My live machine is running on ubuntu 14 lol. Still works great, but my test machine is running a modded 3.0 on 18, which I will release to anyone who wants to play with it once im ready
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-28 23:07:22
i'll have a play around with the modded 3.0 when your ready m8
2021-07-02 04:43:08
Hi guys, I have the same issue like @tzuriel
On localhost everything is fine, but yesterday I uploaded site on VPS. The site opens and loads the login page, I enter my name and password, click on Login and error...

Warning: require_once(themes//block.php): failed to open stream: No such file or directory in /home/example.com/public_html/backend/functions.php on line 302

Fatal error: require_once(): Failed opening required 'themes//block.php' (include_path='.:') in /home/example.com/public_html/backend/functions.php on line 302
Line 302 in function.php is: require_once("themes/" . $THEME . "/block.php");

If I try to SignUp(signup page load) give me error: Database Error. Please report this to an administrator.

Edit: The mistake was mine. I messed things up with the database.

But there is another issue. I login but the site logging me out when I click on another link, for example User or Home or Torrents and etc.
Last edited by coco on 2021-07-02 18:48:26
2021-07-02 19:25:34
sounds like a directory issue, you may have your directories all wrong, such as home/example.com/public_html/etc etc etc.... Seems like you overlooked something very simple
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)
Last edited by MicroMonkey on 2021-07-02 19:26:14
2021-07-02 19:43:52
Thanks for reply MM. Now site is woking but logging me out after a few click and i do not know why. This is repeated constantly, I cleared the cache. The site goes through Cloudflare.
There is also something strange, you can't see my real IP but the one on the server Cloudflare.
I don't know why, maybe that's the problem, because the IPs change at a certain interval.

Edit: Ohh maybe thats is my solution
https://torrenttrader.uk/topic?topicid=4745

Maybe the Cloudflare is needed but I don't know how to install mod_remoteip
I read instructions https://support.cloudflare.com/hc/en-us/articles/200170786 but it is still difficult for me, my files are different in different directories
I don't know, maybe the Cloudflare isn't needed
Last edited by coco on 2021-07-03 13:02:14
2021-07-03 14:12:15
I never had much luck using cloudflare. I also never really saw a real purpose for using it on a torrent site, but if you get it working, post your findings :)
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)
2021-07-03 14:19:31
MicroMonkey:
I never had much luck using cloudflare. I also never really saw a real purpose for using it on a torrent site, but if you get it working, post your findings :)


No problem, as long as I succeed  :smile
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: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728