Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 08-04-2013, 03:44 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 598,830
Hall of Famer is on a distinguished road
Default

Well I see two problems:

1. The database insert query is clearly incorrect, the syntax should be:
PHP Code:
$mysidia->db->insert("login_attempts", array("num_attempts" => $newattempts"ip" => $ip"delay_time" => $now)); 
2. You should not attempt to output text with echo in Mysidia Adoptables, as the string will be displayed on the header, which does not make sense. Instead, use this:

PHP Code:
$document $mysidia->frame->getDocument();
$document->addLangvar('We\'re sorry, but there\'s been a serious error...'); 
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
 

Tags
bruteforce, database, errors, queries

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Login troubles & other things SmaffyBuns Questions and Supports 7 11-21-2012 02:44 PM
Having troubles Finding the Right Host and How to Install the Mys Script. Aasixx Questions and Supports 7 12-13-2011 02:16 PM
Question about Queries? Tsuntsun Questions and Supports 2 11-03-2011 01:57 PM
Anyone care to enlighten me as to why 188 queries are used on a page? Arianna Questions and Supports 5 05-14-2010 09:21 AM
MySQL queries ..? Quillink Questions and Supports 3 07-11-2009 11:47 AM


All times are GMT -5. The time now is 07:46 PM.

Currently Active Users: 3306 (0 members and 3306 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636