1
stony777
[solved] Blank page problem with Team (Clan)-Module 3.0.1
  • 2008/9/5 7:52

  • stony777

  • Just popping in

  • Posts: 6

  • Since: 2003/9/12


XOOPS Version: 2.0.18.2
Module Name/Version: Team-Module
PHP Version:
MySQL Version:
Web Server Software (Apache/IIS/Other): Apache2
Operating System:
Theme you are using: zetagenesis
Custom template: (Yes/No) no
PHP Debug Messages:
Fatal error: Call to a member function assign() on a non-object in /home/lc-css/htdocs/modules/team/roster.php on line 12
All errors (3) queries (12) blocks (0) extra (0) timers (3)
Errors
Warning: include(/include/autologin.php) [function.include]: failed to open stream: No such file or directory in file /mainfile.php line 106
Warning: include() [function.include]: Failed opening '/include/autologin.php' for inclusion (include_path='/home/lc-css/schild/') in file /mainfile.php line 106
Notice: Undefined variable: xoopsTpl in file /modules/team/roster.php line 12

MySQL Debug Messages:
Fatal error: Call to a member function assign() on a non-object in /home/lc-css/htdocs/modules/team/roster.php on line 12

(not in a popup but on the page itself)

Smarty Debug Messages: nothing
A full description of the issue:

When i access the roster.php as non registered user everything is fine. When i try to access the page as admin to manage the team itself. I get a blank page and the errors above.

I am no programmer, so i am lost to find the issue by myself.

Can anybody give me an advice?

stony
http://css.linux-clan.org

2
iunderwood
Re: Blank page problem with Team (Clan)-Module 3.0.1

Found it. Move Line 19 to Line 3 in roster.php.

The problem is that the code is trying to assign a template before the header is loaded, which is giving you a whitescreen. This also explains why I could see your roster as an anonymous user to your site.

From first glance, that's the only issue I saw with the code. Let me know if there are any other caveats.
++I;
Resized Image

3
stony777
Re: Blank page problem with Team (Clan)-Module 3.0.1
  • 2008/9/6 8:48

  • stony777

  • Just popping in

  • Posts: 6

  • Since: 2003/9/12


That did the trick!
Mayby Mithrandir could correct that in the module itself? (I didn't reach him yet)
I will see, I find any other issues.

Thanks again, you made my day.

Login

Who's Online

129 user(s) are online (96 user(s) are browsing Support Forums)


Members: 0


Guests: 129


more...

Donat-O-Meter

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

Latest GitHub Commits