vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Lesane's Store and zajako's Hotel Integration (v1.1) (https://vborg.vbsupport.ru/showthread.php?t=41525)

ExAvIoUr 08-08-2002 08:07 PM

PHP Code:

Database error in vBulletin 2.2.6:

Invalid SQLINSERT INTO privatemessage (privatemessageid,userid,touserid,fromuserid,title,message,dateline,messageread,folderidVALUES 

(NULL,,,16,'Your room Key sent by sonic','Your room is ready.  It is room 1 and is named Test. Your key is za23470ja15ko904. To goto your room click 

[url=http://xx.xxx.xx.xx/gsu/room.php?action=enterroom&roomnumber=1&roomkey=za23470ja15ko904]here[/url]'
,1028840685,0,0)
mysql errorYou have an error in your SQL syntax near ',16,'Your room Key sent by sonic','Your room is ready.  It is room 1 and is name' at line 3

mysql error number: 1064

Date: Thursday 08th of August 2002 05:04:45 PM
Script:  [url]http://xx.xxx.xx.xx/gsu/gsu/store.php?action=dobuyroom[/url]
Referer: [url]http://xx.xxx.xx.xx/gsu/store.php?action=hotel[/url] 

what did i do wrong?

Link14716 08-09-2002 12:29 AM

Hmm..... go to hotel.php?action=buyroom

do all the crap their, and tell me if you get an error.

ExAvIoUr 08-09-2002 08:37 PM

it works but it doesn't take out ne money?

Link14716 08-11-2002 10:27 PM

like I said, go to the location above and try it out, tell me if there are any errors. If there are, ask about it in the hotel thread *points to first post*, if not I will TRY to make a fix for it.

Also, once the error hits, the querys stop, thus money is AFTER those ++++s, so of course it can't take out the money.

proxyMX 08-12-2002 12:16 AM

CRATER, BRING OUT YOUR STORES DAMNIT!

Link14716 09-14-2002 03:11 AM

UPDATE 9/13/02
Because I am no longer the idiot I once was, security has been upped, a minor but very important change has been made to the part to be added to the store.php file and also a nice tip on how to make it so no one can use the hotel.php script to gain free rooms. IT is really just a matter of re-installing, if you want upgrading instructions, ask me. ;)

Main post is updated, and well, new attachment. ;)

dynamite 09-16-2002 02:10 AM

I was installing the hack but I believe part of the storehotel.txt file has some junk in it... at the bottom it contains:

If ($other =="otheremailaddyperson")
{
$toaddress = $otheremail;
$subject = "Your room key ".$bbuserinfo[username];
$mailcontent = 'Your room is ready. It is room '.$roomnumber[roomnumber].' and is named '.$roomname.'. Your key is '.$key.'. To goto your room use this link http://www.vggmn.com/twz/forums2/roo...om&roomnumber='.$roomnumber[roomnumber].'&roomkey='.$key;
$additional_headers = "From: Hotel@vggmn.com\n"
."Reply-To: "."webmaster@vggmn.com";
@mail($toaddress, $subject, $mailcontent, $additional_headers);
}

evallaw rules, govern this Agreement, and you expressly agree that jurisdiction for any claim or dispute arising from the use of the Service or Software resides in the federal and state courts of the Commonwealth of Virginia.

Doc. #48668-2 2
("dooutput(\"".gettemplate('store_hotel_dobuyroom' )."\");");
}


Of course I don't know what needs to be fixed, so it is causing some problems:dead:

Otherwise this is really cool!!!

Link14716 09-26-2002 12:04 AM

All I can say is.... what ther hell???

EDIT: I see now. Something with the eval was parsed into whatever that is....... I will look into it and try to fixc the error.....

influence 10-01-2002 03:31 AM

im getting the same error. please try to fix it ASAP because when people click on store thats the first thing that shows.

influence 10-01-2002 03:34 AM

Parse error: parse error, unexpected T_STRING in /home/rapflava/public_html/forums/store.php on line 1070



Quote:

evallaw rules, govern this Agreement, and you expressly agree that jurisdiction for any claim or dispute arising from the use of the Service or Software resides in the federal and state courts of the Commonwealth of Virginia.

Doc. #48668-2 2
("dooutput(\"".gettemplate('store_hotel_dobuyroom' )."\");");
}
line starting with evallaw is line 1070


All times are GMT. The time now is 06:58 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01242 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete