11
Xtracted
Strange $xoopsDB->query problem
  • 2006/8/22 10:53

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


I am building a module and a problem has appeared that I just cant figure out..

On ONE place in my code I do a update query to my database and nothing happens. It doesnt change the info in the database. I get no errors when I turn on the debugs in xoops. Nothing. Everything should work just fine its just that my database isnt updated.

$query $xoopsDB->query("UPDATE ".$xoopsDB->prefix("my_table") ." SET bla='333' WHERE id='1'");



I am using if, elseif and else to see if I have declared any variable in the file and execute the approperiate section of the code depending on what variable that has been declared.

A note is that it works on all other variables everywhere else in the code, its just THAT row that doesnt work when its called..

if I change the line to:
$query mysql_query("UPDATE ".$xoopsDB->prefix("my_table") ." SET bla='333' WHERE id='1'");


it works...



Ghaaa!

(using the latest XOOPS version ((not 2.x)) with the latest MySQL version)



12
Xtracted
Re: How to make group specific themes
  • 2005/11/13 0:43

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Nice Mithrandir, what if a user is a member of several groups, is there a way to get a certain group to "override" the others?



13
Xtracted
Re: [Hacked?] All my blocks are gone?
  • 2005/9/23 10:17

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


It was my ISP who had some disk problems. The problems are fixed now.



14
Xtracted
All my blocks are gone?
  • 2005/9/22 20:16

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Hello all.

Today, without me doing anything at all to 2 of my XOOPS pages, they suddenly havent got any blocks showing.. Both pages at the same time. How can this be? Is this an ISP problem or a hacker problem or a XOOPS problem?

the sites are:

www.jhbudo.se
www.rustning.se



15
Xtracted
Re: Move Xoops to a subdir?
  • 2005/9/6 19:03

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


First thing I did when the site didnt work. Must have been some local browser cache giving me issues.. Thats what I get for using Internet Explorer..



16
Xtracted
Re: Move Xoops to a subdir?
  • 2005/9/6 17:15

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


I just moved the files to a subfolder, CHMOD mainfile.php to 777 so I could update the information in in, then CHMOD it back to 444. After that, I could get the index.php file, but when I tried to log in, I got redirected to the location for my old user.php. I had to leave the computer a while and when I came back, I tried again and it worked. It was probably some cache function in my browser that messed with me, now everything seems to work just fine. I updated all my modules just in case and then I had to fix the settings for all my blocks since the update function resets all the settings..



17
Xtracted
Move Xoops to a subdir?
  • 2005/9/6 13:36

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


I want to move my xoopspage to a sub directory on my webserver. Do I need to do anything but move all the files using FTP and then modify the physical and viritual path in the mainfile.php?



18
Xtracted
Re: Xoops 2.2 Language constants problem
  • 2005/8/1 14:10

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Anyone?



19
Xtracted
Re: Retrieve new password in Xoops 2.2
  • 2005/7/31 14:32

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Well, could you tell me how to show PHP debug for anonymous users? I can only get it displayed when logged in as admin..



20
Xtracted
Re: Xoops 2.2 Language constants problem
  • 2005/7/31 11:07

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


The constants that are wrong are the new ones added in XOOPS 2.2...

If you look at the name of the constants that are wrong, it is "_MI_SYSTEM_" wich is the constants in the system/language/english/modinfo.php file.. the ones I added..




TopTop
« 1 (2) 3 4 5 ... 14 »



Login

Who's Online

245 user(s) are online (165 user(s) are browsing Support Forums)


Members: 0


Guests: 245


more...

Donat-O-Meter

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

Latest GitHub Commits