Author |
Message |
mangaman
New Member
Joined: Sep 13, 2004
Posts: 16
|
Posted:
Thu Feb 17, 2005 12:49 pm |
|
I have upgraded from 7.4 to 7.6 with 2.8 patch and now my reviews module doesn't work. I can go to the main reviews page and see a list of reviews but when I choose a review to edit or view it pulls up a blank review. http://ryokoshome.planetgunsmokeclan.com/modules.php?name=Reviews, here is an example. It is like it is not connecting to the database and getting the information, but I can delete a review. I looked in my mySLQ db and the review is still there. Any ideas?
Thanks |
_________________ "Technological progress is like an axe in the hands of a pathological criminal." -- Albert Einstein
www.nukeworks.biz
www.ryokoshome.com
www.planetgunsmokeclan.com |
|
|
|
last-wish
New Member
Joined: Jul 27, 2005
Posts: 2
|
Posted:
Wed Jul 27, 2005 4:04 pm |
|
I have the same problem, is there anybody who can help us with this issue? |
|
|
|
|
last-wish
|
Posted:
Wed Jul 27, 2005 4:16 pm |
|
I found the reason for this..
If you are using nuke-sentinel, remove this code from the mainfile.php:
Code:if ($forum_admin == 1) {
include("../../../includes/sentinel.php");
} elseif ($inside_mod == 1) {
include("../../includes/sentinel.php");
} else {
include("includes/sentinel.php");
}
|
And then it will work fine. However, if we do this, nukesentinel will be disabled. How can I solve this problem without losing the power of nukesentinel? |
|
|
|
|
providence
Regular
Joined: Apr 23, 2005
Posts: 95
|
Posted:
Thu Sep 08, 2005 9:53 pm |
|
i have the same problem, my review module is not working, any solutions for this? |
|
|
|
|
providence
|
Posted:
Sat Sep 10, 2005 1:18 pm |
|
still cant solve this, can anyone recommend a good review module instead? |
|
|
|
|
BobMarion
Former Admin in Good Standing
Joined: Oct 30, 2002
Posts: 1037
Location: RedNeck Land (known as Kentucky)
|
Posted:
Sun Sep 11, 2005 10:54 pm |
|
Code:#
#-----[ OPEN ]------------------------------------------
#
mainfile.php
#
#-----[ FIND ]------------------------------------------
#
if (defined('FORUM_ADMIN')) {
@require_once("../../../config.php");
@require_once("../../../db/db.php");
@require_once("../../../includes/sql_layer.php");
} elseif (defined('INSIDE_MOD')) {
@require_once("../../config.php");
@require_once("../../db/db.php");
@require_once("../../includes/sql_layer.php");
} else {
@require_once("config.php");
@require_once("db/db.php");
@require_once("includes/sql_layer.php");
}
#
#-----[ CHANGE TO ]------------------------------------------
#
if (defined('FORUM_ADMIN')) {
@require_once("../../../config.php");
@require_once("../../../db/db.php");
@require_once("../../../includes/sql_layer.php");
@include_once("../../../includes/nukesentinel.php");
} elseif (defined('INSIDE_MOD')) {
@require_once("../../config.php");
@require_once("../../db/db.php");
@require_once("../../includes/sql_layer.php");
@include_once("../../includes/nukesentinel.php");
} else {
@require_once("config.php");
@require_once("db/db.php");
@require_once("includes/sql_layer.php");
@include_once("includes/nukesentinel.php");
}
|
|
_________________ Bob Marion
Codito Ergo Sum
http://www.nukescripts.net |
|
|
|
providence
|
Posted:
Mon Sep 12, 2005 4:59 am |
|
thanks, review module is not working again..
but some html tags wont work
like
<img src=""> it wont display images
and <br> it doesnt go to next line, it displays <br>
any fixes for this? |
|
|
|
|
providence
|
Posted:
Mon Sep 12, 2005 6:58 am |
|
problem solved with html tags!
i just changed this line
comment out this line and add this
Code:$text = stripslashes(check_html($text, ""));
|
Code:
#$text = stripslashes(check_html($text, ""));
$text = stripslashes($text);
|
|
|
|
|
|
|