1
abdala
Blank Admin Page upon Category Creation in WF-FAQ and WF-SNIPPETS
  • 2003/12/16 14:06

  • abdala

  • Just popping in

  • Posts: 42

  • Since: 2003/2/5 1


As the title says, when I click on create category (after entering category title and description) in either WF-FAQ or WF-SNIPPETS, I get a blank admin page and no category gets created. I am using WF-FAQ 1.05 and WF-SNIPPETS 1.02.

Any ideas why is this happening?

Thanks,
Abdala

2
abdala
Re: Blank Admin Page upon Category Creation in WF-FAQ and WF-SNIPPETS
  • 2003/12/16 14:32

  • abdala

  • Just popping in

  • Posts: 42

  • Since: 2003/2/5 1


when I do a view source on the blank page, i get:

[size=x-small]


[/size]

3
Herko
Re: Blank Admin Page upon Category Creation in WF-FAQ and WF-SNIPPETS
  • 2003/12/16 14:33

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Blank pages: always turn on PHP debug in system admin -> preferences -> general settings. Then return to the page that gives a blank, and report the errors here, so we can see what exactly is causing this.

Herko

4
abdala
Re: Blank Admin Page upon Category Creation in WF-FAQ and WF-SNIPPETS
  • 2003/12/16 14:46

  • abdala

  • Just popping in

  • Posts: 42

  • Since: 2003/2/5 1


here's wha ti got:

[size=x-small]Fatal error: Call to undefined function: saveaccess() in /home/macnet/public_html/national/modules/wfsnippets/admin/category.php on line 102
Warning [PHP]: main(/home/macnet/public_html/national/include/groupaccess.php): failed to open stream: No such file or directory in file modules/wfsnippets/include/functions.php line 10
Warning [PHP]: main(): Failed opening '/home/macnet/public_html/national/include/groupaccess.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file modules/wfsnippets/include/functions.php line 10
Warning [PHP]: main(/home/macnet/public_html/national/include/groupaccess.php): failed to open stream: No such file or directory in file modules/wfsnippets/admin/category.php line 12
Warning [PHP]: main(): Failed opening '/home/macnet/public_html/national/include/groupaccess.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file modules/wfsnippets/admin/category.php line 12[/size]


I guess there is a file called "groupaccess.php". I looked in my file system and indeed it is not there. where do i go from here?

Thanks,
Abdala

5
abdala
Re: Blank Admin Page upon Category Creation in WF-FAQ and WF-SNIPPETS
  • 2003/12/16 14:59

  • abdala

  • Just popping in

  • Posts: 42

  • Since: 2003/2/5 1


okay problem solved.

The category.php file was looking for the groupsaccess.php file in the wrong place. it was looking in:

include_once(XOOPS_ROOT_PATH."/include/groupaccess.php");

but the file is in:

include_once(XOOPS_ROOT_PATH."/modules/wfsnippets/include/groupaccess.php");

thanks for the pointer Herko,
abdala

Login

Who's Online

239 user(s) are online (65 user(s) are browsing Support Forums)


Members: 0


Guests: 239


more...

Donat-O-Meter

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

Latest GitHub Commits