Loading for ever :D

randac56

Member
May 25, 2018
915
0
16
I posted this on google code, but I believe tat this is a better place to solve this issue.

As the title says I have loading screen hanging for ever, unless I quit rtorrent and start it again, when everything starts working fine. I'm sure it is a server issue, but by now I have't been bale to resolve it on my own. I'm running debian 5.

This is the error i get:
Quote
Error: invalid regular expression flag h
Source File: http://my.domain.com/rt/rtorrent.js
Line: 825, Column: 105
Source Code:
Warning: mkdir() [<a href='function.mkdir'>function.mkdir[/url]]: No such file or directory in /home/zeleni/rtorrent/util.php on line 332


rtorrent.js (822-826):
Code:
rTorrentStub.prototype.getpluginsResponse = function(xmlDoc,docText)
{
eval(docText);
return(false);
}

util.php (324-333):
Code:
class rCache
{
protected $dir;

public function rCache( $dir = "./cache" )
{
$this->dir = $dir;
if(!is_dir($this->dir))
mkdir($this->dir, 0777);
}
...

No plugins installed...
 

lisas4567

Member
May 25, 2018
773
0
16
Quote
I posted this on google code, but I believe tat this is a better place to solve this issue.​

Issue number?
Quote
Error: invalid regular expression flag​

Something bad with installation or/and configuration. I think, you change $settings variable in config.php. It must be in relative form
 

randac56

Member
May 25, 2018
915
0
16
Issue 85.

Quote
I think, you change $settings variable in config.php. It must be in relative form.​


Absolutely right cheesy.gif

New config.php:
Code:
$uploads = '../.rt.auto'; // temp directory for uploaded torrents, without tail slash
$settings = '../.rt.session'; // settings directory, without tail slash

Old config.php:
Code:
$uploads = '/home/zeleni/.rt.auto'; // temp directory for uploaded torrents, without tail slash
$settings = '/home/zeleni/.rt.session'; // settings directory, without tail slash

I finally understand what I did wrong! I insisted on putting these directories outside of web path, while all along I should have left the default directories.

Thank you for all your hard work and dedication.
 

lisas4567

Member
May 25, 2018
773
0
16
you really shouldn't change those directories from default unless you absolutely have to.

and in that case, they need to be different than the ones rtorrent uses. They are NOT the same.

those directories are basically for rutorrent's temporary files.