1
BamaAngel
Digest Module Categories will not edit or delete
  • 2009/3/1 20:58

  • BamaAngel

  • Just popping in

  • Posts: 2

  • Since: 2009/1/23


I have added Digest to my main site and it works beautifully except it will not let me manage the categories. I cannot edit them or delete them. If I try to delete it I get the confirm question, answer yes and then I get a blank page. If I try to edit them I get a blank page. The only thing it shows that I don't have working is the xconv and I don't know where to find that or if it is my problem or not. CAN ANYONE HELP ME. Nothing comes up in the forums about this module

2
Catzwolf
Re: Digest Module Categories will not edit or delete
  • 2009/3/1 21:57

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Hiya, welcome to Xoops.

Most white pages happen when something bad has happened, and normally with php you get a clue to what is going on with an error message, but since error messages can sometimes be annoying, we turn them off from the admin. You don want a horrible 100 lines of error code on a production page right? Anyway, under certain circumstances we need to turn them back and this is a time I think :)

Turn on php debugging and try again, copy and paste any error messages you find back here and someone will be able to help you.

Also, please post any information regarding:
php version, MySQL version, server software version and of course XOOPS Version.

Thanks

3
BamaAngel
Re: Digest Module Categories will not edit or delete
  • 2009/3/3 0:44

  • BamaAngel

  • Just popping in

  • Posts: 2

  • Since: 2009/1/23


Here is the info from debug:

Fatal error: Call to a member function getVar() on a non-object in /home/carma55/public_html/online/modules/digest/admin/index.php on line 368
All errors (2) queries (8) blocks (0) extra (0) timers (3)


line 368
$title = $category->getVar('title','e');

in this section of code

case "modCategory":
$category_id = intval($_POST['category_id']);
$category_id = empty($category_id)?intval($_GET['category_id']):0;
$category =& $category_handler->get($category_id);
$title = $category->getVar('title','e');
$image = $category->getVar('image','e');
$category_order = $category->getVar('category_order');
include "../include/categoryform.inc.php";
break;

PHP info

XOOPS Version - XOOPS 2.3.1
PHP Version - 5.2.8
MySQL Version - 5.0.67-community
Server API Version - cgi-fcgi
OS Version - Linux
safe_mode - Off
register_globals - On
magic_quotes_gpc - Off
allow_url_fopen - On
fsockopen - On
allow_call_time_pass_reference - On
post_max_size - 64M
max_input_time - 60
output_buffering -
max_execution_time - 30
memory_limit - 64M
file_uploads - On
upload_max_filesize - 64M

I did go to the database and make the changes I wanted without any problems.

Thank you,
Carma

Login

Who's Online

473 user(s) are online (149 user(s) are browsing Support Forums)


Members: 0


Guests: 473


more...

Donat-O-Meter

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

Latest GitHub Commits