1
elbeer
blank screen in xtorrent
  • 2009/2/26 15:17

  • elbeer

  • Just popping in

  • Posts: 68

  • Since: 2007/8/26


When a link is visited in xtorrent i am getting this error

Error: openWithSelfMain is not defined
Source File: http://xxxxxx.com/modules/xtorrent/visit.php?cid=1&lid=1


And a blank page

2
zyspec
Re: blank screen in xtorrent
  • 2009/2/26 15:36

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


openWithSelfMain is a 'standard' javascript function used throughout Xoops.

What version of XOOPS are you using? Have you tried this with the default theme / templates?

Do you have this issue anywhere else on your site (for example if you view a user's profile and try and send them a quick PM it uses javascript to pop up the quick message window.

3
elbeer
Re: blank screen in xtorrent
  • 2009/2/26 15:46

  • elbeer

  • Just popping in

  • Posts: 68

  • Since: 2007/8/26


java works fine on pm's

I have tried default templates -

Xoops 2.0.18 - i dont like the new stuff

Plus i have wf downloads installed and that works fine - but i need the paypal section on xtorrents for the site

4
zyspec
Re: blank screen in xtorrent
  • 2009/2/26 18:10

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


if this is from your dreamtorrentz.com site it's because there's nothing in category 1. It seems to work okay using http://www.dreamtorrentz.com/modules/xtorrent/visit.php?cid=3&lid=1 (where the Stargate Atlantis S04e16 Hdtv Xvid
file is located)

Are you using any .htaccess files?

Are you getting any errors if you turn on PHP debug in Administration?

5
elbeer
Re: blank screen in xtorrent
  • 2009/2/26 18:43

  • elbeer

  • Just popping in

  • Posts: 68

  • Since: 2007/8/26


its not on that one - its on facebookoriginal.com which is in admin at the minute - i have checked and there is a download in there- its just when i click to download it goes to the blank screen

6
zyspec
Re: blank screen in xtorrent
  • 2009/2/26 20:10

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Sorry, a few more questions:
Which version of xtorrent are you using?
Are you using PHP5?

The reason I ask is that that xtorrent 3.13 still uses $HTTP_GET_VARS which has been 'replaced' by $_GET in PHP5. Most recent releases of PHP5 turn off register_long_arrays so it won't work with a 'out of the box' installation of PHP5. You will either have to turn on the register_long_arrays directive or better yet, modify xtorrent to remove the $HTTP_GET_VARS with $_GET and do the same for any $_POST values - which are the ones that sound like they're causing you problems.

7
elbeer
Re: blank screen in xtorrent
  • 2009/2/27 10:18

  • elbeer

  • Just popping in

  • Posts: 68

  • Since: 2007/8/26


OK checked that and the site is using $_get

PHP Version 5.2.8
SQL 4.1.22-standard
Xoops 2.0.18

I put the site back on - with pop up debug and it doesnt even get to the debug page when you try and download

8
zyspec
Re: blank screen in xtorrent
  • 2009/2/27 15:29

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


What value do you have set in the module config for:

"Allow .htaccess SEO"?
"Disallow direct Torrent linking? (leeching)"

It could also be that your PHP installation does not support 'allow_url_fopen'

You may want to try and contact wishcraft at his website here or try sending him a PM on this site...

Login

Who's Online

161 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 161


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits