231
culex
Re: hahaha culex your signature
  • 2010/3/14 15:30

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Lol yeah that rocks... I did see this before just couldn't remember where.



232
culex
Re: hahaha culex your signature
  • 2010/3/13 20:53

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Speaking about speanding all evening doing non-important things..

Check my 404 error page..




233
culex
Re: hahaha culex your signature
  • 2010/3/13 20:43

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


From the Random Shack Data Processing Dictionary:

Endless Loop: n., see Loop, Endless.
Loop, Endless: n., see Endless Loop.

Lol well I guess that sundays gone :) :)



234
culex
Re: hahaha culex your signature
  • 2010/3/13 18:48

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


hehe ok didnt see this until now. Yeah there are some good ones out there :)



235
culex
Re: xoops chat integration (like facebook) ?
  • 2010/3/13 12:47

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Try..

right-click page, inspect element and choose consol in fire-bug and then F5 to refresh page to see if any errors there :) ?



236
culex
Re: xoops chat integration (like facebook) ?
  • 2010/3/10 12:57

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Wow I never considered this to be a protector problem but yes this would probably be the case.

Just went to see why I dont have problems with this blank screen and to my horror discovered protector to be desabled :-S..

Just checked with newest version protector 3.50 Beta and dont have any problems with white screen yet.

Just to be safe though. XOOPS < 2.4.2 does not support preloads and you'll need to add the jquery plugins manually to your theme :)



237
culex
Re: xoops chat integration (like facebook) ?
  • 2010/3/7 21:01

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


@mazarin.: This is in local test server or in live web ?



238
culex
Re: xoops chat integration (like facebook) ?
  • 2010/3/6 22:58

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


@ kris_fr.: This is only in local server WAMP. In live website with zetagenesis it works perfect.

Actually I cannot get xim to work very nice at all in local server, but it runs nicely in live web.

could be some internal settings in local server interfering with the module I think :)



239
culex
Re: xoops chat integration (like facebook) ?
  • 2010/3/6 21:18

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Just following up on the local test server issues previously mentioned in this thread.

I have just tested the script with a fresh XOOPS and xim install with these system variables

Quote:

XOOPS Version.: XOOPS 2.5.0-alpha1
PHP Version.: 5.3.0
mySQL Version.: 5.1.36-community-log
Server API.: apache2handler
OS.: WINNT


1) copied module
2) Installed, made visible.
3) Made block visible (right side, all pages ,admin + registered user)

A variaty of things are still unclear, but maybe someone has an educated guess to some of my problems.

test 1)
Script do not run in zetagenesis theme, half 'n half in default theme (xoopsTheme->addscript show ANSI charset in javascript in theme header..)
- The script however ran perfect with newly added suico theme.

Test 2)
After testing with suico, script now also work perfect in default theme.

test3) Javascript inserts now appear with good charset in theme and script run ok. Still no good explanation as to why not with zetagenesis theme.

All test are done with FF 3.0.11 and IE 8.0.6



240
culex
Re: Counting iterations
  • 2010/3/5 19:31

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Hmmm a number of things. Xoops uses it's own classes for dealing with queries, and this way is ignoring these. Also you're not sanitizing your sql input. intval(), addslashes, stripslahes() etc. When you put something from $_get, $_post directly into your queries you're inviting someone to try posting bad things to your database. But ok. here goes. To continue your script this is how.
<?php
$pass 
addSlashes($_GET['pass']);
$name addSlashes($_GET['name']);
$db mysql_connect("localhost","username","sqlpassword");
if (!
$db)
  {
  die(
'Could not connect: ' mysql_error());
  }

$sql "INSERT INTO pass (password) VALUES ('$pass') WHERE name = ('$name')";
if (!
mysql_query($sql,$db))
  {
  die(
'Error: ' mysql_error());
  }
echo 
"Success";
mysql_close($db);
?>
This is better though
<?php
global $xoopsDB;
 
$myts =& MyTextSanitizer::getInstance(); 
    
$pass $myts->addSlashes($_GET['pass']);
    
$name $myts->addSlashes($_GET['name']);

     
$sql "INSERT INTO ".$xoopsDB->prefix('pass')." VALUES ('$pass') WHERE name ='$name'";
     
$result $xoopsDB->queryF($sql);
?>




TopTop
« 1 ... 21 22 23 (24) 25 26 27 ... 49 »



Login

Who's Online

142 user(s) are online (94 user(s) are browsing Support Forums)


Members: 0


Guests: 142


more...

Donat-O-Meter

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

Latest GitHub Commits