Code Monkey home page Code Monkey logo

luminance's People

Contributors

empornium avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

luminance's Issues

Hello

Is it possible to know if someone other than the empornium is using luminance and radiance?
another page ...
I'm asking because I'm thinking of replacing the current kufirc.com (obsolete source) with luminance or radiance

30,000 users / torrents about how many vps would he need? cpu / ram

MemcachePool

Warning: MemcachePool::getstats(): Invalid stats type in /opt/Luminance/application/Services/Cache.php on line 85

I happened to turn or display errors and see this any ideas? Memcahed seems to be running I have checked.

And in tools.php?action=service_stats I see

Warning: Division by zero in /opt/Luminance/application/Legacy/sections/tools/data/service_stats.php

logrotate.conf

CentOS Linux release 7.7.1908 (Core)
10.1.43-MariaDB
PHP 7.0.33 (cli)

Hi, where should the logrotate.conf be placed exactly? I'm kinda puzzled by this one.

Thanks

504 Gateway Time-out

server {
listen 80;
charset UTF-8;
server_name kufirc;

access_log off;

root C:\Winginx/home/localhost/public_html;
index index.php index.html index.htm;

location / {
	try_files $uri /index.php?$args;
}

location ~ \.php$ {
	fastcgi_split_path_info ^(.+\.php)(/.+)$;
	fastcgi_pass 127.0.0.1:9000;
	fastcgi_param PATH_INFO $fastcgi_path_info;
	fastcgi_index index.php;

	include fastcgi_params;
	fastcgi_param SCRIPT_FILENAME C:\Winginx/home/localhost/public_html/application/entry.php;
	
}

}

PHP Parse error on Installation

Hello Guys,

I'm facing a problem when I do the configure command:

`PHP Parse error: syntax error, unexpected '.' in /var/www/Luminance/application/Services/Cache.php on line 129

same error in line 148

other erros unexpected * when I remove the dotz from the lines showed.`

Maybe it's an old version of composer?

Regards

Bots are forbidden

I'm unable to login.

Bots are forbidden

Ah I see the exact path in the nginx.conf should be /var/www/Luminance/public

My issue was I had /var/www/Luminance

Sorry about that.

502 Bad Gateway on new install

I have check the error logs both nginx and php all is well.
Any idea why I am getting 502 Bad Gateway
My nginx conf is in /etc/nginx/sites-available and /etc/nginx/sites-enabled
I used the example conf you provided.

Thanks

Guide for FreeBSD

There's any specifc guide to FreeBSD? Some of your files mention that you uses that OS.

PHP 7.2 Fatal Error

Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/Luminance/application/Services/Render.php:206 Stack trace: #0 /var/www/Luminance/application/Services/Render.php(519): Luminance\Services\Render->get_scripts('') #1 /var/www/Luminance/application/Services/Render.php(159): Luminance\Services\Render->get_header_vars(Array) #2 /var/www/Luminance/application/Core/Master.php(187): Luminance\Services\Render->display_page('@Authentication...', Array, NULL) #3 /var/www/Luminance/application/Core/Master.php(162): Luminance\Core\Master->process_response(Object(Luminance\Responses\Rendered)) #4 /var/www/Luminance/application/entry.php(34): Luminance\Core\Master->run() #5 {main} thrown in /var/www/Luminance/application/Services/Render.php on line 206

Hope this is helpful to you:

I edited render.php I changed:

Lines 206 and 207 to:

$extra_scripts = 'svg-injector'; // handles icon injections
$extra_scripts = 'prism'; // handles code syntax highlighting

Line 209 to:

foreach ((array) $extra_scripts as $extra_script) {

I am not even 100% sure that is a correct fix but I now see the login page with no errors ๐Ÿ™
Now I am logged in it is still throwing errors. I think at this point I will just have to give up and call it a day.

Database issue

Everything is working fine except a few things that I just wanted to point out.
When you try to save changes in a users profile the page returns an internal server error and logs show:

2018/10/30 00:13:54 [error] 815#815: *11 FastCGI sent in stderr: "PHP message: Caught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'm.Email' in 'field list'
#0 /var/www/application/Services/DB.php(180): PDO->prepare('SELECT\n m.Em...')
#1 /var/www/application/Services/OldDB.php(36): Luminance\Services\DB->legacy_query('SELECT\n m.Em...')
#2 /var/www/application/Legacy/sections/user/takemoderate.php(135): Luminance\Services\OldDB->query('SELECT\n m.Em...')
#3 /var/www/application/Legacy/sections/user/index.php(60): include('/var/www/applic...')
#4 /var/www/application/Core/LegacyHandler.php(41): require('/var/www/applic...')
#5 /var/www/application/Core/LegacyHandler.php(18): Luminance\Core\LegacyHandler->load_section('user')
#6 /var/www/application/Core/Master.php(306): Luminance\Core\LegacyHandler->handle_legacy_request('user')
#7 [internal function]: Luminance\Core\Master->legacy('user')
#8 /var/www/application/Core/Master.php(276): call_user_func_array(Array, Array)
#9 /var/www/application/Core/Master.php(161): Luminance\Core\Master->" while reading response header from upstream, client: censored, server: , request: "POST /user.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "censored.com", referrer: "https://censored.com/user.php?id=1"

and also when Radiance is in loop:
[2018-10-30 00:29:20] Query error: Field 'GroupID' doesn't have a default value in flush torrents with a qlength: 273 queue size: 2

php 5.6

It would be nice if the INSTALL.md could include the exact command to install php 5.6 and the necessary dependencies.

I have installed it but when I try and install php-memcache php-mysqlnd it complains see below

Resolving Dependencies --> Running transaction check ---> Package php-fpm.x86_64 0:5.4.16-43.el7_4.1 will be installed --> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-fpm-5.4.16-43.el7_4.1.x86_64 --> Running transaction check ---> Package php-common.x86_64 0:5.4.16-43.el7_4.1 will be installed --> Processing Conflict: php56u-common-5.6.34-1.ius.centos7.x86_64 conflicts php-common < 5.6 --> Finished Dependency Resolution Error: php56u-common conflicts with php-common-5.4.16-43.el7_4.1.x86_64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

Any help would be appreciated and btw the ; is missing in the guide to create luminance database

404 Not Found

Hello, I configured the access prompt 404 error under NGINX version 1.16.1.

Invites not sending out

Sending out an invite hangs until hitting a gateway timeout

Running:
Ubuntu 18.04
MariaDB 10.1

Users unable to connect to each other.

I have both Luminance and Radiance up and running. The "ocelot_info" page is populating information, clients are able to announce successfully to the tracker, but no one has been able to download from each other. Along with this, torrents are listed as having zero peers and seeds on the website. Any recommendations on where I would start troubleshooting this?

400 No userclasses have been configured.

I attemped to create a new user class in /tools.php?action=create_user and it fails with the error as shown in the title of this issue.

I did see #28 it helps to a degree.
In my own settings.ini I have:

[users]
classes = 'APPRENTICE=2,PERV=3,GOOD_PERV=4,DONOR=20,SEXTREME_PERV=5,SMUT_PEDDLER=6,ADMIN=1,SYSOP=15'
level_staff = 500
level_admin = 600

So I assumed that if level_admin = 600 then I should use a new number for the entry user class something like 100 as show here

Can you advise where I am going awry, please?

composer

You must install composer to use this software, please read INSTALL.md for details, any ide haw to fix this?

lumance

Torrent Upload 502 Error

Perhaps I missed a step, however, I have the site working: https://transhaven.me

And I have radiance installed and running as well. if I log in to the site, I can view the tracker stats via the toolbox.

When I try to upload a torrent as a test though, It goes through and when i hit upload, I get a 502 error.I think I'm missing something (like the location the torrent files go??) but I can't tell and I can't see anything in the setup of the site either. Any help??

Ubuntu 16 - Error in entry.php setup install

Hello all,

I'm having this error when run "php application/entry.php setup install":

root@ns3010422:/var/www/html# php application/entry.php setup install
PHP Warning: Declaration of Luminance\Services\Cache::getStats($args) should be compatible with Memcached::getStats() in /var/www/html/application/Services/Cache.php on line 35
Initializing legacy database table schemas
Initializing ORM database table schemas
Initializing database contents
Please create the admin user now
Admin Username: pdh
Admin Password: *******
--- ERROR during CLI execution ---
Corresponding HTTP response status: 400
Error message: No userclasses have been configured.

I'm getting 404 error when I try to connect, maybe because the install was not sucessfull?

I'm running PHP 7.0 Ubuntu 16.04 and NGINX

Error message: Invalid e-mail format.

PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SphinxClient has a deprecated constructor in /www/wwwroot/t/vendor/neutron/sphinxsearch-api/sphinxapi.php on line 386

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SphinxClient has a deprecated constructor in /www/wwwroot/t/vendor/neutron/sphinxsearch-api/sphinxapi.php on line 386
Initializing legacy database table schemas
Initializing ORM database table schemas
Initializing database contents
Please create the admin user now
Admin Username: [email protected]
Admin Password: 12345678
--- ERROR during CLI execution ---
Corresponding HTTP response status: 400
Error message: Invalid e-mail format.

Torrent Grouping

So I installed this and looks kinda old Gazelle. Is there any plans to update the look and feel to more modern Gazelle and reintroduce torrent grouping?

User not earning credits freeleech

This is a record of up/down from the tracker, plus credits awarded
Total | 0 hrs
Today | 0 hrs | 0 credits
Despite seeding, is this caused by freeleech?

Unregistered Torrent

Hello
I am running website and tracker on different server and everything working fine but all torrents are showing "Unregistered Torrent" while seeding or downloading.
Pls help in resolving this issue.

Regards

HTTP Error 500 when uploading a torrent

Hi, I am experiencing an issue when trying to upload a torrent. All I get from the server is an HTTP Error 500. Here is the full trace from the logs:

2020/03/12 21:34:59 [error] 6#6: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function Luminance\Legacy\curl_init() in /var/www/html/Luminance/application/Legacy/classes/Validate.php:511
Stack trace:
#0 /var/www/html/Luminance/application/Legacy/classes/Validate.php(333): Luminance\Legacy\Validate->get_presentation_size(Array)
#1 /var/www/html/Luminance/application/Legacy/sections/upload/upload_handle.php(222): Luminance\Legacy\Validate->ValidateForm(Array, Object(Luminance\Legacy\Text))
#2 /var/www/html/Luminance/application/Legacy/sections/upload/index.php(13): include('/var/www/html/L...')
#3 /var/www/html/Luminance/application/Core/LegacyHandler.php(41): require('/var/www/html/L...')
#4 /var/www/html/Luminance/application/Core/LegacyHandler.php(18): Luminance\Core\LegacyHandler->load_section('upload')
#5 /var/www/html/Luminance/application/Core/Master.php(306): Luminance\Core\LegacyHandler->handle_legacy_request('upload')
#6 [internal function]: Luminance\Core\Master->legacy('upload')
#7 /var/www/html/Luminance/ap" while reading response header from upstream, client:*, server: localhost, request: "POST /upload.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "*:9090", referrer: "http://*:9090/upload.php"

Any idea? Cheers!

Error 500 Internal

I use PHP 7.0.33-0+deb9u3
MariaDB 10.1.38
Nginx 1.10.3

I got this error for every requests
Like if I want to see registration log I got

Error 500 Internal

PHP message: PHP Warning: date() expects parameter 2 to be integer, string given in /var/www/html/Luminance/application/Services/Debug.php on line 412" while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: xxx.xxx.xxx.xxx, request: "GET /tools.php?action=registration_log HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "xxx.xxx.xxx.xxx", referrer: "http://xxx.xxx.xxx.xxx/tools.php"
2019/05/08 01:16:31 [error] 17222#17222: *47 FastCGI sent in stderr: "PHP message: Caught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'm.Email' in 'field list'
#0 /var/www/html/Luminance/application/Services/DB.php(180): PDO->prepare('SELECT\n SQL_...')
#1 /var/www/html/Luminance/application/Services/OldDB.php(36): Luminance\Services\DB->legacy_query('SELECT\n SQL_...')
#2 /var/www/html/Luminance/application/Legacy/sections/tools/data/registration_log.php(40): Luminance\Services\OldDB->query('SELECT\n SQL_...')
#3 /var/www/html/Luminance/application/Legacy/sections/tools/index.php(642): include('/var/www/html/L...')
#4 /var/www/html/Luminance/application/Core/LegacyHandler.php(41): require('/var/www/html/L...')
#5 /var/www/html/Luminance/application/Core/LegacyHandler.php(18): Luminance\Core\LegacyHandler->load_section('tools')
#6 /var/www/html/Luminance/application/Core/Master.php(306): Luminance\Core\LegacyHandler->handle_legacy_request('tools')
#7 [internal function]: Luminance\Core\Master->legacy('tools')
#8 /var/www/html/Luminance/appl...
PHP message: PHP Warning: date() expects parameter 2 to be integer, string given in /var/www/html/Luminance/application/Services/Debug.php on line 412" while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: xxx.xxx.xxx.xxx, request: "GET /tools.php?action=registration_log HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "xxx.xxx.xxx.xxx", referrer: "http://xxx.xxx.xxx.xxx/tools.php"

0.6 Release

It's been a very long time since the last release with no sight of 0.6 release. Is this still under development or has the project been abandoned? If not is there an ETA for 0.6 release?

Composer installed in folder, but still asking for it

Hello,

I'm trying to install the Luminance, but after follow all the steps, download composer to Luminance directory, when I execute the command:
php application/entry.php setup configure

I getting the follow message:
You must install composer to use this software, please read INSTALL.md for details

Composer is installed on the Luminance directory, not running as root.

Anyone faced this problem before?

Install Suggestions

How important are these? Especially the last line Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.`

sebastian/global-state suggests installing ext-uopz (*) phpunit/phpunit-mock-objects suggests installing ext-soap (*) phpunit/php-code-coverage suggests installing ext-xdebug (^2.5.3) phpunit/phpunit suggests installing phpunit/php-invoker (^1.1) phpunit/phpunit suggests installing ext-xdebug (*) monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server) monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server) monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server) monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server) monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib) monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required)) monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server) monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver) monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB) monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar) monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome) phpmyadmin/sql-parser suggests installing phpmyadmin/motranslator (Translate messages to your favorite locale) guzzlehttp/psr7 suggests installing zendframework/zend-httphandlerrunner (Emit PSR-7 responses) guzzlehttp/guzzle suggests installing ext-intl (Required for Internationalized Domain Name (IDN) support) Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.

HTTP ERROR 500

Hello
I am getting following error in fedora php 7.1
Pls help in resolving same.

2018/02/07 15:40:17 [error] 30780#0: *5 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: [] operator not supported for strings in /usr/share/nginx/nbtorrents.com/html/Lumina$
Stack trace:
#0 /usr/share/nginx/nbtorrents.com/html/Luminance/application/Services/Peon.php(503): Luminance\Services\Peon->get_scripts('')
#1 /usr/share/nginx/nbtorrents.com/html/Luminance/application/Services/Peon.php(140): Luminance\Services\Peon->get_header_vars(Array)
#2 /usr/share/nginx/nbtorrents.com/html/Luminance/application/Core/Master.php(182): Luminance\Services\Peon->display_page('@Authentication...', Array)
#3 /usr/share/nginx/nbtorrents.com/html/Luminance/application/Core/Master.php(154): Luminance\Core\Master->process_response(Object(Luminance\Responses\Rendered))
#4 /usr/share/nginx/nbtorrents.com/html/Luminance/application/entry.php(33): Luminance\Core\Master->run()
#5 {main}
  thrown in /usr/share/nginx/nbtorrents.com/html/Luminance/application/Services/Peon.php on line 185" while reading response header from upstream, client: 103.30.141.105, server: test.enjoythe.tv,$

PHP >= 7.0 Repo

There are a few repos for PHP >= 7.0 but the problem is 7.0 is no longer supported. Can you please suggest a repo to use for Centos?

Thanks

announce URL machine actively refused

Hello,
everything seems to be running smoothly except my announce URL returns with: "Error: No connection could be made because the target machine actively refused it" any suggestions? Thanks.
I hope I didn't miss anything, I will be going over my configuration and updating if I found the issue but until then any help is appreciated.

Ubuntu 16 Install error

Database name: luminance
Database username: root
Database password: root
root@home:/var/www/html/Luminance# php application/entry.php setup install
Initializing legacy database table schemas
Initializing ORM database table schemas
Table clients: Adding column IPID
Caught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'Created'
#0 /var/www/html/Luminance/application/Services/DB.php(119): PDOStatement->execute(Array)
#1 /var/www/html/Luminance/application/Services/ORM.php(314): Luminance\Services\DB->raw_query('ALTER TABLE `cl...')
#2 /var/www/html/Luminance/application/Services/ORM.php(196): Luminance\Services\ORM->update_table(Array)
#3 /var/www/html/Luminance/application/Builtins/Setup/SetupPlugin.php(93): Luminance\Services\ORM->update_tables()
#4 [internal function]: Luminance\Builtins\Setup\SetupPlugin->install()
#5 /var/www/html/Luminance/application/Core/Controller.php(33): call_user_func_array(Array, Array)
#6 [internal function]: Luminance\Core\Controller->handle_path('install')
#7 /var/www/html/Luminance/application/Core/Master.php(264): call_user_func_array(Array, Array)
#8 [internal function]: Luminance\Core\Master->plugin('Setup', Array)
#9 /var/www/html/Luminance/application/Core/Master.php(250): call_user_func_array(Array, Array)
#10 /var/www/html/Luminance/application/Core/Master.php(146): Luminance\Core\Master->handle_request(Object(Luminance\Core\Request))
#11 /var/www/html/Luminance/application/entry.php(31): Luminance\Core\Master->run()
#12 {main}
--- ERROR during CLI execution ---
Corresponding HTTP response status: 500
Error message: Internal Server Error

No input file specified.

nginx conf

#user  nobody;
worker_processes  1;

#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;

pid        temp/nginx.pid;


events {
    worker_connections  1024;
}


http {
    include       mime.types;
    default_type  application/octet-stream;

    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for"';

    #access_log  logs/access.log  main;

    sendfile        on;
    #tcp_nopush     on;

    #keepalive_timeout  0;
    keepalive_timeout  65;

    client_max_body_size 55m;

    #gzip  on;

	scgi_temp_path  temp/uwsgi_temp 1 2;
	uwsgi_temp_path  temp/uwsgi_temp 1 2;

	fastcgi_connect_timeout 1;


	server {
	listen 80;

       server_name testsite;

		root home/localhost/public_html;
		index index.php index.html index.htm;

		log_not_found off;
        charset utf-8;

		access_log  logs/access.log  main;


		location / {
		try_files $uri /index.php?$args;
	}

        location ~ \.php$ {
		fastcgi_split_path_info ^(.+\.php)(/.+)$;
		fastcgi_pass 127.0.0.1:9071;
		fastcgi_param PATH_INFO $fastcgi_path_info;
		fastcgi_index index.php;

		fastcgi_buffers 16 16k; 
		fastcgi_buffer_size 32k;

		include fastcgi_params;
		fastcgi_param SCRIPT_FILENAME home/localhost/public_html/application/entry.php;
		fastcgi_keep_conn on;

        }
	}

	server {
		listen 127.0.0.1:443;
		include ssl.conf;

		root home/localhost/public_html;
		index index.php index.html;

		log_not_found off;
        charset utf-8;

		access_log  logs/access.log  main;


		location / {
		try_files $uri /index.php?$args;
	}

       location ~ \.php$ {
		fastcgi_split_path_info ^(.+\.php)(/.+)$;
		fastcgi_pass 127.0.0.1:9000;
		fastcgi_param PATH_INFO $fastcgi_path_info;
		fastcgi_index index.php;

		fastcgi_buffers 16 16k; 
		fastcgi_buffer_size 32k;

		include fastcgi_params;
		fastcgi_param SCRIPT_FILENAME home/localhost/public_html/application/entry.php;
		fastcgi_keep_conn on;
	}
	}


	include tools-*.conf;

	include vhosts/*.conf;

}

php7.4 Installation error

PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SphinxClient has a deprecated constructor in /www/wwwroot/t/vendor/neutron/sphinxsearch-api/sphinxapi.php on line 386

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SphinxClient has a deprecated constructor in /www/wwwroot/t/vendor/neutron/sphinxsearch-api/sphinxapi.php on line 386
Initializing legacy database table schemas
Caught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'pt'@'localhost' (using password: YES)
#0 /www/wwwroot/t/application/Services/DB.php(122): PDO->__construct()
#1 /www/wwwroot/t/application/Services/DB.php(163): Luminance\Services\DB->connect()
#2 /www/wwwroot/t/application/Services/ORM.php(166): Luminance\Services\DB->raw_query()
#3 /www/wwwroot/t/application/Services/ORM.php(195): Luminance\Services\ORM->get_tables()
#4 /www/wwwroot/t/application/Plugins/Setup/SetupPlugin.php(138): Luminance\Services\ORM->update_tables()
#5 /www/wwwroot/t/application/Plugins/Setup/SetupPlugin.php(96): Luminance\Plugins\Setup\SetupPlugin->updateLegacyTables()
#6 [internal function]: Luminance\Plugins\Setup\SetupPlugin->install()
#7 /www/wwwroot/t/application/Core/Controller.php(38): call_user_func_array()
#8 [internal function]: Luminance\Core\Controller->handle_path()
#9 /www/wwwroot/t/application/Core/Master.php(299): call_user_func_array()
#10 [internal function]: Luminance\Core\Master->plugin()
#11 /www/wwwroot/t/application/Core/Master.php(276): call_user_func_array()
#12 /www/wwwroot/t/application/Core/Master.php(161): Luminance\Core\Master->handle_request()
#13 /www/wwwroot/t/application/entry.php(34): Luminance\Core\Master->run()
#14 {main}
PHP Fatal error: Uncaught Error: [] operator not supported for strings in /www/wwwroot/t/application/Services/Render.php:209
Stack trace:
#0 /www/wwwroot/t/application/Services/Render.php(522): Luminance\Services\Render->get_scripts()
#1 /www/wwwroot/t/application/Services/Render.php(159): Luminance\Services\Render->get_header_vars()
#2 /www/wwwroot/t/application/Core/Master.php(187): Luminance\Services\Render->display_page()
#3 /www/wwwroot/t/application/Core/Master.php(181): Luminance\Core\Master->process_response()
#4 /www/wwwroot/t/application/entry.php(34): Luminance\Core\Master->run()
#5 {main}
thrown in /www/wwwroot/t/application/Services/Render.php on line 209

Fatal error: Uncaught Error: [] operator not supported for strings in /www/wwwroot/t/application/Services/Render.php:209
Stack trace:
#0 /www/wwwroot/t/application/Services/Render.php(522): Luminance\Services\Render->get_scripts()
#1 /www/wwwroot/t/application/Services/Render.php(159): Luminance\Services\Render->get_header_vars()
#2 /www/wwwroot/t/application/Core/Master.php(187): Luminance\Services\Render->display_page()
#3 /www/wwwroot/t/application/Core/Master.php(181): Luminance\Core\Master->process_response()
#4 /www/wwwroot/t/application/entry.php(34): Luminance\Core\Master->run()
#5 {main}
thrown in /www/wwwroot/t/application/Services/Render.php on line 209

unable to get torrent file to show

am sorry this may be my fault but when i got to the list torrent page it does not show any of the torrent file.
i check the log file and am getting this error
2018/12/21 19:43:30 [error] 4374#4374: *7327 FastCGI sent in stderr: "PHP message: PHP Warning: date() expects parameter 2 to be integer, string given in /var/www/html/Luminance/application/Services/Debug.php on line 412" while reading response header from upstream, client: 192.168.1.84, server: test.4thd.xyz, request: "GET /torrents.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "test.4thd.xyz", referrer: "http://test.4thd.xyz/torrents.php

so am hopping some one can say what to do to fix
or could i ask what linux os should i use as this is ubuntu 16.04
i have most of it working and database for a old gazelle site import with no problem
just not showing torrent

HTTP 500 ERROR

Hello i encountered some errors

PHP Warning: time() expects exactly 0 parameters, 6 given in /home/wwwroot/Luminance/application/Legacy/sections/schedule/index.php on line 43
PHP Warning: time() expects exactly 0 parameters, 6 given in /home/wwwroot/Luminance/application/Legacy/sections/schedule/index.php on line 36
PHP Warning: time() expects exactly 0 parameters, 6 given in /home/wwwroot/Luminance/application/Legacy/sections/schedule/index.php on line 36
PHP Warning: Use of undefined constant GREAT_PERV - assumed 'GREAT_PERV' (this will throw an Error in a future version of PHP) in /home/wwwroot/Luminance/application/Legacy/sections/schedule/index.php on line 741
PHP Warning: Use of undefined constant GREAT_PERV - assumed 'GREAT_PERV' (this will throw an Error in a future version of PHP) in /home/wwwroot/Luminance/application/Legacy/sections/schedule/index.php on line 772
PHP Warning: Use of undefined constant GREAT_PERV - assumed 'GREAT_PERV' (this will throw an Error in a future version of PHP) in /home/wwwroot/Luminance/application/Legacy/sections/schedule/index.php on line 802
Caught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'GREAT_PERV' in 'where clause'
#0 /home/wwwroot/Luminance/application/Services/DB.php(180): PDO->prepare('SELECT ID FROM ...')
#1 /home/wwwroot/Luminance/application/Services/OldDB.php(36): Luminance\Services\DB->legacy_query('SELECT ID FROM ...')
#2 /home/wwwroot/Luminance/application/Legacy/sections/schedule/index.php(802): Luminance\Services\OldDB->query('SELECT ID FROM ...')
#3 /home/wwwroot/Luminance/application/Core/LegacyHandler.php(41): require('/home/wwwroot/L...')
#4 /home/wwwroot/Luminance/application/Core/LegacyHandler.php(18): Luminance\Core\LegacyHandler->load_section('schedule')
#5 /home/wwwroot/Luminance/application/Core/Master.php(306): Luminance\Core\LegacyHandler->handle_legacy_request('schedule')
#6 [internal function]: Luminance\Core\Master->legacy('schedule')
#7 /home/wwwroot/Luminance/application/Core/Master.php(276): call_user_func_array(Array, Array)
#8 /home/wwwroot/Luminance/application/Core/Master.php(161): Luminance\Core\Master->handle_request(Object(Luminance\Core\Request))
#9 /home/wwwroot/Luminance/application/entry.php(34): Luminance\Core\Master->run()
#10 {main}
PHP Fatal error: Uncaught Error: [] operator not supported for strings in /home/wwwroot/Luminance/application/Services/Render.php:206
Stack trace:
#0 /home/wwwroot/Luminance/application/Services/Render.php(519): Luminance\Services\Render->get_scripts('')
#1 /home/wwwroot/Luminance/application/Services/Render.php(159): Luminance\Services\Render->get_header_vars(Array)
#2 /home/wwwroot/Luminance/application/Core/Master.php(187): Luminance\Services\Render->display_page('clierror.html.t...', Array, NULL)
#3 /home/wwwroot/Luminance/application/Core/Master.php(181): Luminance\Core\Master->process_response(Object(Luminance\Responses\Rendered))
#4 /home/wwwroot/Luminance/application/entry.php(34): Luminance\Core\Master->run()
#5 {main}
thrown in /home/wwwroot/Luminance/application/Services/Render.php on line 206

PHP7.3
MYSQL5.6

Installation Issue

Hello
I have successfully installed everything but when I am visiting my domain it is saying

No input file specified.

Apache setup?

I understand that the recommended setup is using nginx for this as the webserver, however for several reasons that isn't possible at this point.

I've gotten Luminance setup on the server and I can see the files in the directory, however, I am at a point where I need to setup the conf file so that apache knows where to look for the files and I cannot get it set right.

How do I setup my vhost file in apache in order to get the system working and serving pages correctly? (Is there an example anywhere?)

502 Bad Gateway

When I install according to the INSTALL.md file, the browser appears 502 Bad Gateway error

PHP๏ผš

PHP 7.3.11 (cli) (built: Nov  8 2019 19:34:25) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.11, Copyright (c) 1998-2018 Zend Technologies

Nginx :
nginx version: nginx/1.16.1

Mysql:
mysql Ver 14.14 Distrib 5.6.44, for Linux (x86_64) using EditLine wrapper

Stylesheets

Hi, I can't see a stylesheets.sql file in /Luminance/tablespecs and tb I don't want all those stylsheets. Any way to choose which ones to use at install time there?

Database Install Error

Hello
I am receiving following error during database installation. Pls help in resolving same

php application/entry.php setup install
Initializing legacy database table schemas
Initializing ORM database table schemas
Creating table options
Table clients: Adding column IPID
Caught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'Created'
#0 /var/www/nbtorrents.com/html/Luminance/application/Services/DB.php(128): PDOStatement->execute(Array)
#1 /var/www/nbtorrents.com/html/Luminance/application/Services/ORM.php(314): Luminance\Services\DB->raw_query('ALTER TABLE `cl...')
#2 /var/www/nbtorrents.com/html/Luminance/application/Services/ORM.php(196): Luminance\Services\ORM->update_table(Array)
#3 /var/www/nbtorrents.com/html/Luminance/application/Builtins/Setup/SetupPlugin.php(82): Luminance\Services\ORM->update_tables()
#4 [internal function]: Luminance\Builtins\Setup\SetupPlugin->install()
#5 /var/www/nbtorrents.com/html/Luminance/application/Core/Controller.php(33): call_user_func_array(Array, Array)
#6 [internal function]: Luminance\Core\Controller->handle_path('install')
#7 /var/www/nbtorrents.com/html/Luminance/application/Core/Master.php(267): call_user_func_array(Array, Array)
#8 [internal function]: Luminance\Core\Master->plugin('Setup', Array)
#9 /var/www/nbtorrents.com/html/Luminance/application/Core/Master.php(253): call_user_func_array(Array, Array)
#10 /var/www/nbtorrents.com/html/Luminance/application/Core/Master.php(147): Luminance\Core\Master->handle_request(Object(Luminance\Core\Request))
#11 /var/www/nbtorrents.com/html/Luminance/application/entry.php(31): Luminance\Core\Master->run()
#12 {main}
PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'luminance.permissions' doesn't exist in /var/www/nbtorrents.com/html/Luminance/application/Services/DB.php:127
Stack trace:
#0 /var/www/nbtorrents.com/html/Luminance/application/Services/DB.php(127): PDO->prepare('SELECT ID FROM ...')
#1 /var/www/nbtorrents.com/html/Luminance/application/Repositories/PermissionRepository.php(40): Luminance\Services\DB->raw_query('SELECT ID FROM ...')
#2 /var/www/nbtorrents.com/html/Luminance/application/Services/Peon.php(87): Luminance\Repositories\PermissionRepository->getMinUserClassID()
#3 /var/www/nbtorrents.com/html/Luminance/application/Services/Peon.php(113): Luminance\Services\Peon->get_base_variables()
#4 /var/www/nbtorrents.com/html/Luminance/application/Core/Master.php(175): Luminance\Services\Peon->display('clierror.html', Array)
#5 /var/www/nbtorrents.com/html/Luminance/application/Core/Master.php(168): Luminance\Core\Master->process_response(Object(Luminance\Responses\Rendered))
#6 in /var/www/nbtorrents.com/html/Luminance/application/Services/DB.php on line 127

Status Page

Do you plan to add a status page code to the repo of Empornium?

file permissions.sql in catalog Luminance/tablespecs/ not found

php application/entry.php setup install
Initializing legacy database table schemas
Initializing ORM database table schemas
Creating table clients
Caught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'Created'
#0 /var/www/html/Luminance/application/Services/DB.php(156): PDOStatement->execute(Array)
#1 /var/www/html/Luminance/application/Services/ORM.php(300): Luminance\Services\DB->raw_query('CREATE TABLE `c...')
#2 /var/www/html/Luminance/application/Services/ORM.php(198): Luminance\Services\ORM->create_table(Array)
#3 /var/www/html/Luminance/application/Builtins/Setup/SetupPlugin.php(83): Luminance\Services\ORM->update_tables()
#4 [internal function]: Luminance\Builtins\Setup\SetupPlugin->install()
#5 /var/www/html/Luminance/application/Core/Controller.php(35): call_user_func_array(Array, Array)
#6 [internal function]: Luminance\Core\Controller->handle_path('install')
#7 /var/www/html/Luminance/application/Core/Master.php(287): call_user_func_array(Array, Array)
#8 [internal function]: Luminance\Core\Master->plugin('Setup', Array)
#9 /var/www/html/Luminance/application/Core/Master.php(264): call_user_func_array(Array, Array)
#10 /var/www/html/Luminance/application/Core/Master.php(153): Luminance\Core\Master->handle_request(Object(Luminance\Core\Request))
#11 /var/www/html/Luminance/application/entry.php(33): Luminance\Core\Master->run()
#12 {main}
PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'luminance.permissions' doesn't exist in /var/www/html/Luminance/application/Services/DB.php:155
Stack trace:
#0 /var/www/html/Luminance/application/Services/DB.php(155): PDO->prepare('SELECT ID FROM ...')
#1 /var/www/html/Luminance/application/Repositories/PermissionRepository.php(40): Luminance\Services\DB->raw_query('SELECT ID FROM ...')
#2 /var/www/html/Luminance/application/Services/Peon.php(88): Luminance\Repositories\PermissionRepository->getMinUserClassID()
#3 /var/www/html/Luminance/application/Services/Peon.php(136): Luminance\Services\Peon->get_base_variables()
#4 /var/www/html/Luminance/application/Core/Master.php(182): Luminance\Services\Peon->display_page('clierror.html', Array)
#5 /var/www/html/Luminance/application/Core/Master.php(175): Luminance\Core\Master->process_response(Object(Luminance\Responses\Rendered))
#6 /var/www/html/Luminance/application/entry.php(33): Luminance\Core\Master->run()
#7 {main}
thrown in /var/www/html/Luminance/application/Services/DB.php on line 155

schedule error

Hello,

my config debian 9.8
mariadb 10.1
php 7.0

How to fix this error ?

/usr/bin/php /var/www/Luminance/application/entry.php schedule

Schedule quarter: 0
Running daily functions
Updating daily site stats
Disable inactive users
Disable unconfirmed
Demote users
Caught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'GOOD_PERV' in 'where clause'
#0 /var/www/Luminance/application/Services/DB.php(180): PDO->prepare('SELECT ID FROM ...')
#1 /var/www/Luminance/application/Services/OldDB.php(36): Luminance\Services\DB->legacy_query('SELECT ID FROM ...')
#2 /var/www/Luminance/application/Legacy/sections/schedule/index.php(802): Luminance\Services\OldDB->query('SELECT ID FROM ...')
#3 /var/www/Luminance/application/Core/LegacyHandler.php(41): require('/var/www/Lumina...')
#4 /var/www/Luminance/application/Core/LegacyHandler.php(18): Luminance\Core\LegacyHandler->load_section('schedule')
#5 /var/www/Luminance/application/Core/Master.php(306): Luminance\Core\LegacyHandler->handle_legacy_request('schedule')
#6 [internal function]: Luminance\Core\Master->legacy('schedule')
#7 /var/www/Luminance/application/Core/Master.php(276): call_user_func_array(Array, Array)
#8 /var/www/Luminance/application/Core/Master.php(161): Luminance\Core\Master->handle_request(Object(Luminance\Core\Request))
#9 /var/www/Luminance/application/entry.php(34): Luminance\Core\Master->run()
#10 {main}
--- ERROR during CLI execution ---
Corresponding HTTP response status: 500
Error message: Internal Server Error

Site not sending emails

Had a look in the issues and run a SQL you advised someone else ALTER TABLE users_main ADD COLUMN Email varchar(255) NOT NULL;

Site is setup to send email via Postfix and it sends test emails from the terminal with the command:

echo "Testing this email" | mail -s "Testing this email" [email protected]

Check both DKIM and SPF on https://mxtoolbox.com all green no errors.
Checked the site logs nothing in there all is well.
Any idea what I am missing at all?

Torrent list issue

Hello, when a user uploads a torrent they do not show under the torrent section however they do show under the uploads list under profile.

Here is the sphinx log after running

sudo indexer -c /etc/sphinxsearch/sphinx.conf --all

Sphinx 2.2.11-id64-release (95ae9a6)
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)

using config file '/etc/sphinxsearch/sphinx.conf'...
WARNING: key 'sql_query_info' was permanently removed from Sphinx configuration. Refer to documentation for details.
WARNING: key 'sql_query_info' was permanently removed from Sphinx configuration. Refer to documentation for details.
WARNING: key 'charset_type' was permanently removed from Sphinx configuration. Refer to documentation for details.
WARNING: key 'sql_query_info' was permanently removed from Sphinx configuration. Refer to documentation for details.
WARNING: key 'sql_query_info' was permanently removed from Sphinx configuration. Refer to documentation for details.
WARNING: 1 more warnings skipped.
indexing index 'torrents'...
collected 1 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 1 docs, 125 bytes
total 0.021 sec, 5695 bytes/sec, 45.56 docs/sec
indexing index 'delta'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.013 sec, 0 bytes/sec, 0.00 docs/sec
indexing index 'requests'...
WARNING: attribute 'image' not found - IGNORING
WARNING: attribute 'searchtext' not found - IGNORING
collected 0 docs, 0.0 MB
collected 0 attr values
sorted 0.0 Mvalues, 100.0% done
total 0 docs, 0 bytes
total 0.015 sec, 0 bytes/sec, 0.00 docs/sec
indexing index 'requests_delta'...
WARNING: attribute 'image' not found - IGNORING
WARNING: attribute 'searchtext' not found - IGNORING
collected 0 docs, 0.0 MB
collected 0 attr values
sorted 0.0 Mvalues, 100.0% done
total 0 docs, 0 bytes
total 0.010 sec, 0 bytes/sec, 0.00 docs/sec
total 10 reads, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg
total 33 writes, 0.001 sec, 5.9 kb/call avg, 0.0 msec/call avg

the on site error is

Your search did not match anything.

Make sure all names are spelled correctly, or try making your search less specific.

entry.php setup configure - Fatal Error

Hello all,

I'm trying to install Luminance, on a Ubuntu 16 server, but I'm facing this problem, maybe is something related to apache?

PHP Warning: require(/var/www/html/Luminance/application/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/Luminance/application/entry.php on line 12 PHP Fatal error: require(): Failed opening required '/var/www/html/Luminance/application/../vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/html/Luminance/application/entry.php on line 12

Thanks for the help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.