Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
1 + 1 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Dictionary 0.91b
by deepak267 on 2009/4/15 9:53:04

Thanks Ghia,

I will change them this evening and post the result.
Re: Dictionary 0.91b
by ghia on 2009/4/15 9:37:38

The module (Random client Quotes?) was written for PHP4 and you are probably on PHP5.
Replace all occurences in all files of HTTP_*_VARS to _* (eg HTTP_GET_VARS to _GET).
Re: Dictionary 0.91b
by deepak267 on 2009/4/15 9:12:11

Hi Ghia,

I found the similar problem with "cquote" module.

in this module, the index.php has folloing code for insert:


-------------------------------------
if ($op == "add") {
// Add quote
$myts =& MyTextSanitizer::getInstance();
$client = $myts->makeTboxData4Save($client);
$quote = $myts->makeTboxData4Save($quote);
$curl = $myts->makeTboxData4Save($curl);
$newid = $xoopsDB->genId($xoopsDB->prefix("cquotes")."id");
$sql = "INSERT INTO ".$xoopsDB->prefix("cquotes")." (id, client, quote, curl) VALUES (".$newid.", '".$client."', '".$quote."', '".$curl."')";
if (!$xoopsDB->query($sql)) {
xoops_cp_header();
echo "Could not add category";
xoops_cp_footer();
} else {
redirect_header("index.php?op=list",1,_XD_DBSUCCESS);
}
exit();
}
-------------------------------------

is it something to do with "MyTextSanitizer"

sorry for asking so many question.
Re: Dictionary 0.91b
by deepak267 on 2009/4/9 23:38:59

My System Overview:

Production
-------------------
XOOPS Version - XOOPS 2.3.1
PHP Version - 5.2.8
MySQL Version - 5.0.67.d7-ourdelta-log
Server API Version - cgi-fcgi
OS Version - Linux

Test
---------------

XOOPS Version - XOOPS 2.3.2
PHP Version - 5.0.0RC2
MySQL Version - 5.0.67-community-nt-log
Server API Version - apache2handler
OS Version - WINNT

Will try your suggested module. and get back to you in few days.

Thanks for your help.

Happy Easter to you.

Re: Dictionary 0.91b
by ghia on 2009/4/9 19:46:36

And you have PHP 4 on the test system and PHP 5 on the production system?

Try one of the Wordbook clones Lexicon or Lexique instead.

Who's Online

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


Members: 0


Guests: 96


more...

Donat-O-Meter

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

Latest GitHub Commits