thawkins / torrentwatch-x

Automatically exported from code.google.com/p/torrentwatch-x
GNU General Public License v2.0
0 stars 0 forks source link

Error after completing configuration wizard #138

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. After applying 1st time configuration
2.
3.

What is the expected output? What do you see instead?
Notice: Undefined offset: 3 in /volume1/web/twatch/php/curl.php on line 44

Notice: Undefined offset: 2 in /volume1/web/twatch/php/curl.php on line 51

Warning: date() [function.date]: It is not safe to rely on the system's 
timezone settings. You are *required* to use the date.timezone setting or the 
date_default_timezone_set() function. In case you used any of those methods and 
you are still getting this warning, you most likely misspelled the timezone 
identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in 
/volume1/web/twatch/php/lastRSS.php on line 73

Notice: Undefined offset: 3 in /volume1/web/twatch/php/curl.php on line 44

Notice: Undefined offset: 2 in /volume1/web/twatch/php/curl.php on line 51

Fatal error: Call to undefined function iconv() in 
/volume1/web/twatch/php/lastRSS.php on line 115

What version of the product are you using? On what operating system?
0.6.5 beta2

Please provide any additional information below.
Running on Synology DS410J

Original issue reported on code.google.com by olav.hel...@gmail.com on 26 Oct 2010 at 11:36

GoogleCodeExporter commented 8 years ago
Fixed, will be available in beta3.

Original comment by wiebel@gmail.com on 31 Oct 2010 at 1:41

GoogleCodeExporter commented 8 years ago
I still get this, when trying RC1:
Fatal error: Call to undefined function iconv() in 
/volume1/web/twatch/php/lastRSS.php on line 115

Any ideas?

Original comment by olav.hel...@gmail.com on 3 Nov 2010 at 7:40

GoogleCodeExporter commented 8 years ago
What device are you running TW-x on?

Original comment by wiebel@gmail.com on 3 Nov 2010 at 10:45

GoogleCodeExporter commented 8 years ago
Synology DS410J with DSM 3.0-1337.

Original comment by olav.hel...@gmail.com on 4 Nov 2010 at 10:39

GoogleCodeExporter commented 8 years ago
Ah right. so you are running the non-NMT version of TW-X I take it?
What version of php are you running on that box? Is the os Linux based and if 
so, is there a package repo with php modules in it? You might need the php 
iconv module.

Original comment by wiebel@gmail.com on 4 Nov 2010 at 10:44

GoogleCodeExporter commented 8 years ago
Thats right..
I'll have to figure out how to install the libiconv module then I guess..
phpinfo attached.

Original comment by olav.hel...@gmail.com on 4 Nov 2010 at 10:48

Attachments:

GoogleCodeExporter commented 8 years ago
I've implemented a workaround. Are you able to update via hg or do you want me 
to attach you a tgz?

Original comment by wiebel@gmail.com on 4 Nov 2010 at 12:06

GoogleCodeExporter commented 8 years ago
A tgz would be nice :-)

Original comment by olav.hel...@gmail.com on 4 Nov 2010 at 12:16

GoogleCodeExporter commented 8 years ago
Here you go, let me know how it goes!

Original comment by wiebel@gmail.com on 4 Nov 2010 at 12:19

Attachments:

GoogleCodeExporter commented 8 years ago
No iconv() error at least :-)

But I get alot of errors complaining about:

Warning: strtotime() [function.strtotime]: It is not safe to rely on the 
system's timezone settings. You are *required* to use the date.timezone setting 
or the date_default_timezone_set() function. In case you used any of those 
methods and you are still getting this warning, you most likely misspelled the 
timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead 
in /volume1/web/twatch/templates/feed_item.tpl on line 9

Also get a message saying download_dir does not exist. The dir does exist on my 
system, and is chmod'ed 777..

Screenshot attached.

Many thanks for taking your time to look into this.

Original comment by olav.hel...@gmail.com on 4 Nov 2010 at 12:35

Attachments:

GoogleCodeExporter commented 8 years ago
Hey,

Please make sure the directory is configured case sensitive and all higher dirs 
allow the user running the webserver to access that directory. Regarding the 
timezone error: please set date.timezone in your php.ini.
I'll add timezone support in TW-X later on.
I've included a new version with fixes for the rest of your issues.

Cheers,
Joris

Original comment by wiebel@gmail.com on 4 Nov 2010 at 12:49

Attachments:

GoogleCodeExporter commented 8 years ago
Skip time timezone part in my previous message.
I've added timezone support now. You can configure it via Configure -> other

Original comment by wiebel@gmail.com on 4 Nov 2010 at 1:15

Attachments:

GoogleCodeExporter commented 8 years ago
Thank you!
Got it up and running now :-)
Seems to work perfectly even though it still claims it cannot find the 
download_dir...

Original comment by olav.hel...@gmail.com on 4 Nov 2010 at 1:25

GoogleCodeExporter commented 8 years ago
Try and go to that dir as the same user as your webserver is running and see 
what happens

Original comment by wiebel@gmail.com on 4 Nov 2010 at 1:26

GoogleCodeExporter commented 8 years ago
According to the Synology box's http.conf file, apache is running with the user 
'nobody'. So the error is probably related to that. I'll try and change it to 
another user, when I have the time..

Original comment by olav.hel...@gmail.com on 4 Nov 2010 at 2:12

GoogleCodeExporter commented 8 years ago
As long as your dir is 777 the user nobody should be able to write there.

Original comment by wiebel@gmail.com on 4 Nov 2010 at 3:11

GoogleCodeExporter commented 8 years ago
I'm closing the issue because the TW-X problem is solved :)

Original comment by wiebel@gmail.com on 5 Nov 2010 at 1:45