Hi everyone I need help with something i get this error fatal error C1075: end of file found before the left brace '{' at 'c:\documents and settings\navideeah\desktop\maplestoryserver\maplestoryserver\mapleisland.cpp(350)' was matched and i get the error around here [code=cplusplus] void NPCsScripts::npc_22000(NPC* npc){ int state = npc->getState(); int map = npc->getPlayerMap(); if(npc->getPlayerMap() == 0){ if(state == 0){ npc->addText("Hey hows it going, I'm Shanks, the Driver of this magnificent ship "); npc->addText("Are you getting tired of this place, well I can take you out of here FOREVER!!"); npc->addText("Just a warning though, once you leave, you will enter the real world, and it is much …

Member Avatar
Member Avatar
+0 forum 21

I am used codegniter 1.7.1 older version for my real estate stie and it is working fine in local host xamp server. But when i uploaded in to server, the site not working , showing error as "Fatal error: Cannot redeclare class Locale in /application/libraries/Locale.php on line 12" pls help me how to solve this .. thanks in advance..

Member Avatar
Member Avatar
+0 forum 9

Good Morning all, Hopefully someone can head me in the right direction. I know nothing about perl or cgi but have a script that I purchased and had modified by a programmer half way around the world. He uploaded it to my development domain and the script works just fine... I downloaded it to my local system for storage and then uploaded it to my Live/Production domain, and I get nothing but the error screen saying 500 Internal Server error. Through some investigation I determined that it may be a permissions error, so I set the permissions to 755 as …

Member Avatar
Member Avatar
+0 forum 4

This is the table that gives error -- ----------------------------------------------------- -- Table `mydb`.`Supervise1` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `mydb`.`Supervise1` ( `S1_Date` VARCHAR(45) NOT NULL, `S1_Contracter` VARCHAR(45) NOT NULL, `S1_Contractee` VARCHAR(45) NOT NULL, `S1_ID` VARCHAR(45) NOT NULL, PRIMARY KEY (`S1_Contracter`, `S1_Contractee`, `S1_Date`, `S1_ID`), INDEX `Contracter_idx` (`S1_Contracter` ASC), INDEX `Contractee_idx` (`S1_Contractee` ASC), INDEX `S1_ID_idx` (`S1_ID` ASC), CONSTRAINT `S1_Date` FOREIGN KEY (`S1_Date`) REFERENCES `mydb`.`Contract` (`Date`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `S1_Contracter` FOREIGN KEY (`S1_Contracter`) REFERENCES `mydb`.`Contract` (`Contracter`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `S1_Contractee` FOREIGN KEY (`S1_Contractee`) REFERENCES `mydb`.`Contract` (`Contractee`) ON DELETE NO ACTION ON …

Member Avatar
Member Avatar
+0 forum 5

Hello: I am getting a parse error while running a file on my server on my home machine: Parse error: syntax error, unexpected end of file I have been researching this for a few hours now but have had no results to overcome this error. In the editor it is indicating the last line, </html>, but I am sure that last line is correct and the error must lie somewhere in the code above that. Any advice or pointers in the right direction would be much appreciated. ` <!-- The tab on top --> <div class="tab"> <ul class="login"> <li class="left">&nbsp;</li> …

Member Avatar
Member Avatar
+0 forum 3

I'm trying to do a simple a database SQL script where I simply need tocreate a database as well as 4 tables within. So far I'm getting a very annoying error that states: There is already an object named 'DEVICE_TYPE' in the database. Why, I don't know? Any help regarding this matter will be highly appreciated. Please see the code below: DROP Database EliteShop GO CREATE Database EliteShop GO USE EliteShop GO CREATE TABLE DEVICE_TYPE ( Device_TypeID INT IDENTITY(1,1), Device_TypeID_Name VARCHAR(50), CONSTRAINT pk_devicetype PRIMARY KEY(Device_TypeID) ) CREATE TABLE MANUFACTURER ( Manufacturer_Code VARCHAR(50), Manufacturer_Description VARCHAR(100), CONSTRAINT pk_manufacturercode PRIMARY KEY(Manufacturer_Code) ) CREATE …

Member Avatar
Member Avatar
+0 forum 4

i have continued my developing my code on e-commerce website to grant the discount to client on basis of coupon code entered <?php /** * Consider and apply voucher codes * Types of voucher code * - = FIXED AMOUNT OFF * % = PERCENTAGE OFF * s = SET NEW SHIPPING COST * @param voucherCode String * @return void */ if(isset($_POST["submit"])){ $code=$_POST["code"]; $coupon=new coupon(); $coupon->Vouchers($code); } class coupon { function Vouchers( Registry $registry, $voucherCode ) { //The voucher code value is checked to ensure it is not empty // (as per point 1) if( $voucherCode != '' ) { …

Member Avatar
Member Avatar
+0 forum 5

I have a Tecra 8100 laptop. I've just upgraded its Toshiba DVD-ROM (SD-C2402) drive to CD-RW/DVD-ROM drive (Toshiba model: SD-R2102). Now I get "IDE #1 Error" anytime computer boots up. And, it won't boot from a CD. It is working fine from Windows (XP) after it's re-seated. Is anyway to get rid of that error message? Please help! Thank you for your time. Sincerely, Dave

Member Avatar
Member Avatar
+1 forum 9

I'm new in android develop . i tried to follow steps to create an android cordova splashscreen but I got this error : CallbackContext cannot be resolved to a type SplashScreen.java cordova cannot be resolved SplashScreen.java preferences cannot be resolved SplashScreen.java Please Help . Thanks

Member Avatar
+0 forum 0

Facebook error parsing input URL error 502 Bad Gateway I did plenty of research on trying to fix the issue, but I'm still having no luck with it. When I share my page I get 502 Bad Gateway on Facebook. I played around with the www.conf file because others had posted that it works for them, but no luck for me. I also restarted PHP-FPM and I still am getting the same results. connect() failed (111: Connection refused)

Member Avatar
+0 forum 0

I'm trying to parse a few references from a file and load them to mysql table but keep on getting this error everytim,e i run the script: DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' Njuguna, M.I., Yusuf, J. A., Akama, V.,2013,Animal husbandry in the developed w' at line 1 at manuscripts3.pl line 51, <$fh> line 1. Uncaught exception from user code:See code below #!/usr/bin/perl use strict; use warnings; use diagnostics; use DBI; my $driver = "mysql"; my $database …

Member Avatar
Member Avatar
+0 forum 5

Server Error in 'Performance' Application. ExecuteReader: Connection property has not been initialized. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: ExecuteReader: Connection property has not been initialized. Function FncReadQuery(ByVal StrSql As String, ByVal DT As String) As OleDb.OleDbCommand Dim ConnNewClient As New OleDb.OleDbConnection() Dim commNewClient As New OleDb.OleDbCommand Dim DbPath As String = FncGetPath() ConnNewClient = New OleDbConnection ConnNewClient = FncDBConnect(DbPath) commNewClient = New OleDbCommand commNewClient.CommandTimeout = 3600 commNewClient.Connection = ConnNewClient commNewClient.CommandText = StrSql …

Member Avatar
Member Avatar
+0 forum 5

I am printing in my c program which deals with structures but not able to understand why getting a small box containing 0001 in box.printing is fine but the uneccessay boxes are coming. I dont know what they actually mean.

Member Avatar
Member Avatar
+0 forum 2

im a complete newbie in visual basic and im currently working on my first project which is the book borrowing system. the project is almost done except with this error. Syntax error(missing operator) in query expression 'Title like %Mathew Henry's Commentary:GEnesis to Revelation%"

Member Avatar
Member Avatar
+0 forum 7

Hi Guys, im creating a shopping cart as part of my website however whenever i try to empty my cart i get the error: `( ! ) Notice: Undefined index: login_user in C:\wamp\www\catalogue.php on line 32` login_user refers to a session that gets created when the user logs in. Line 32 looks like this: `<?php echo "Welcome ".$_SESSION['login_user'];?>! <br> <a href="logout.php">Logout</a>` its a little weird as to why the error occurs when i click empty cart but points towards the line above the two files in question are login.php and catalogue.php both are below: **Login.php: ** `<?php session_start(); // Starting …

Member Avatar
Member Avatar
+0 forum 4

Hi, my working with my registration web application. Here my code. <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <style type="text/css"> .style1 { width: 47%; height: 169px; } .style2 { font-size: large; color: #0000FF; font-weight: bold; font-family: "Berlin Sans FB"; text-transform: uppercase; text-align: center; } .style3 { font-family: "Trebuchet MS"; font-size: small; font-weight: bold; } .style6 { height: 13px; } .style7 { font-family: "Trebuchet MS"; font-size: small; font-weight: bold; width: 79px; } .style8 { height: 13px; width: 79px; } .style9 { font-family: "Trebuchet MS"; font-size: small; font-weight: bold; …

Member Avatar
Member Avatar
+0 forum 4

This is my php code.And i get no database selected error while running it in the localhost.kindly help me please. <?php $hostname_localhost ="localhost"; $database_localhost ="mydatabase"; $username_localhost ="root"; $password_localhost =""; $localhost = mysql_connect($hostname_localhost,$username_localhost,$password_localhost) or trigger_error(mysql_error()); mysql_select_db($database_localhost, $localhost); $username = $_POST['username']; $password = $_POST['password']; $query_search = "select * from tbl_user where username = '".$username."' AND password = '".$password. "'"; $query_exec = mysql_query($query_search) or die(mysql_error()); $rows = mysql_num_rows($query_exec); //echo $rows; if($rows == 0) { echo "No Such User Found"; } else { echo "User Found"; } ?>

Member Avatar
Member Avatar
+0 forum 3

Hi Guys. Ive got a small problem where I'm trying to display rows from my DB Here is the code that I'm currently using: <?php $results = $sqli = ("SELECT * FROM `books` ORDER BY `ISBN` ASC"); if ($results) { //fetch results set as object and output HTML while($obj = $results->fetch_object()) { echo '<div class="book">'; echo '<form method="post" action="cart_update.php">'; echo '<div class="book-thumb"><img src="images/'.$obj->BookImage.'"></div>'; echo '<div class="book-content"><h3>'.$obj->Title.'</h3>'; echo '<div class="book-desc">'.$obj->BookDesc.'</div>'; echo '<div class="book-info">'; echo 'Price '.$currency.$obj->Price.' | '; echo 'Qty <input type="text" name="product_qty" value="1" size="3" />'; echo '<button class="add_to_cart">Add To Cart</button>'; echo '</div></div>'; echo '<input type="hidden" name="ISBN" value="'.$obj->ISBN.'" />'; echo '<input …

Member Avatar
Member Avatar
+0 forum 2

I have the following code: It gives me a segfault when I modify any element in the character string. Why is that? The first two statements print fine but as soon as I modify the value of any element in the character string it gives me an error! I have tried hard but I can't find an explanation for the segfault. For the statement that is causing the segfault I tried str[3] = 'a'; but that too is giving me the same error. #include<stdio.h> #include<stdlib.h> void stringmodify(char *); int main() {char *array = "BLAH BLAH"; stringmodify(array); return 0; } void …

Member Avatar
Member Avatar
+0 forum 3

Hello. I'm creating a CMS. I've got this log_error. Can you explain the problem for me if the error message is clear enough for you to understand it? I'm new to PHP. the log_error says: `PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent`

Member Avatar
Member Avatar
+0 forum 12

Hi. I am working on vb.net and i want ot link a form with a button so when i click on button the form show but it contain error kindly guide code is this: Dim myform As New Form1 myform.Show() and the compiler show error on myform.show()

Member Avatar
Member Avatar
+0 forum 3

Does anyone know this error : Syntax error (missing operator) in query expression '***Budy Soleman***' **<--( this is content of textbox.text)** This is my code in VB.net with ms-access Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Call connect() Dim simpan As String simpan = "insert into mst_karyawan values(" & TextBox8.Text & "," & TextBox2.Text & "," & _ TextBox1.Text & "," & ComboBox1.SelectedValue.item(0) & "," & ComboBox2.SelectedValue.item(0) & "," & _ TextBox5.Text & "," & ComboBox3.SelectedValue.item(0) & "," & ComboBox4.SelectedValue.item(0) & "," & _ ComboBox5.SelectedValue.item(0) & "," & TextBox10.Text & "," & TextBox3.Text & "," …

Member Avatar
Member Avatar
+1 forum 4

Hi guys, I'm getting a simple error and I need your help. I want to display every object in a list by returning that object as a string but I'm getting the following error: The name 'myBikeList' does not exist in the current context My code: List<Vehicle> myList;//= new List<Vehicle>(); //METHOD public override string ToString() { foreach (Motorbike bike in myList) { string myBikeList = ("[MOTORBIKE]: " + bike.VehicleRegistration + " " + bike.EngineSize + " " + bike.Make + " " + bike.Model + " " + bike.EngineSize + " " + bike.TopSpeed + "\n"); } return myBikeList; } …

Member Avatar
Member Avatar
+0 forum 5

when I create a program with VB6 and I do storage program that I have made the message "System error & H80004005 (-2147467259). Unspecified error". Can you all enlighten me? thank you for your help

Member Avatar
Member Avatar
+0 forum 7

The End.