error

mysql error: could not start the service mysql on local computer error 193: oxc1

I was going thru the charset change to utf8 on my local MySQL(5.1) databases, had done some changes only via phpmyadmin to the dbs and straight to my.ini - file. When I booted my pc (win xp pro sp 3), MySQL server is not starting up at all and I can't figure out why. I changed the ini-file back as it was, but no. If I'd re-install the wh...

JQuery Ajax Url question

Hey Guys, Just a quick question about JQuery's Ajax function, more specifically, the url parameter. My directory structure is like so: contact.html process.php - elements - js - jquery.js - library.js Code below ... // Post with Ajax $.ajax ({ type : 'POST', url : '../../process.php', data : fulldata, ...

SQL Server error

I am getting a fatal error on following code. exec [sp_ExternalApp_UPDATEUSER] 'ZZZ', XXXXX','DDDDD','DDDFFDD','EREE', 'EREWWWWW',1,1,'[email protected]','DEFF','XXXX','DDDD' Following error occurred: Location: memilb.cpp:1624 Expression: pilb->m_cRef == 0 SPID: 79 Process ID: 2256 Msg 3624, Level 20, State 1,...

Catchable error in php?

I have a really odd error: [04-Jun-2010 15:55:32] PHP Catchable fatal error: Object of class Type could not be converted to string in /home/prettykl/public_html/2010/includes/functions.php on line 140 This is the code and line 140 is the $sql line. if (!empty($type)) { $sql = "SELECT * FROM `types` WHERE `type` = '$t...

Cannot create R.java b/c project has errors...errors result from lack of R.java...

edit: This is an Android project. My problem arose when I added a new .wav file to my 'raw' folder. I seem to have gotten into an endless loop in Eclipse. I deleted my R.java file from my project. Choosing to "Clean" or "Build Project" has no effect (i.e. doesn't generate an R.java file, or put anything into the 'gen' folder, or crea...

MS Word page break inserting in wrong place

I am creating a MS Word document entirely through C# in VS 2008. I am trying to insert a page break, and when the page break is inserted, instead of inserting it and adding a new page at the bottom, it is inserting a break and adding a page at the top. This results in the first page being the last page. Here is the code for inserting ...

AVR_GCC compile errors delay.h

Instructions in the blinky.zip, gcc-section, Teensy++ v.2. Makefile and blinky.c are in the zip. I modified the blinky.c by defining F_CPU at the start because not using Makefile, please, see below. So why do I get the errs and how can I compile the C-files for at90usb1286 chip? $ avr-gcc -mmcu=atmega88 blinky.c In file included from b...

Return PHP error constant (such as E_USER_ERROR) from function, or use trigger_error?

Which would you recommend? Return an error code, such as E_USER_ERROR from a function, and determine proper message higher up: function currentScriptFilename() { if(!isset($_SERVER['SCRIPT_FILENAME'])) { //This? return E_USER_ERROR; } else { $url = $_SERVER['SCRIPT_FILENAME']; $exploded = explode('/', $url);...

Facebook REST api Application Secret

I'm trying to retrieve a list of my friends' birthdays using the following code. I'm using Facebook's FQL method using the old REST API. <?php $appapikey = '<app api key>'; $appsecret = '<app secret>'; $token = 'access_token=<token>'; $fql = "SELECT uid, first_name, last_name, birthday, sex, proxied_email FROM standard_user_in...

Worst compiler error message

I had this from Visual Studio: 1>lol.cpp(780): error C2780: ''unknown-type' Wide::Interpreted::State::GlobalPush(T1 &&,T2 &&,T3 &&)' : expects 3 arguments - 1 provided 1> lol.cpp(312) : see declaration of 'Wide::Interpreted::State::GlobalPush' 1>lol.cpp(780): error C2780: ''unknown-type' Wide::Interpreted::State::GlobalPush(T1 ...

Ruby Exception or Error?

I have noticed that in the Ruby exception hierarchy, there are "errors" such as ArgumentError and there are "exceptions" such as SignalException. Is there a certain practise of naming exceptions? thanks in advance, ell. ...

How to get rid of "Menu_HoverRoot(this) Object Expected" error in ASP.NET application (SharePoint 2007)

I have just deployed my ASP.NET/C# code to a sharepoint server and am getting this error when hoving over the menu: Menu_HoverRoot(this) Object Expected I have absolutely no idea what is causing it, but have seen other people with this problem, and it seems to be something with WebResource.axd. Could someone help me with this? Thanks....

Asp.net help It gives error in home page only

i am new to asp.net. I have uploaded a site in ftp. except default.aspx remaining pages working. when i navigate to home page i.e Default.aspx it shows an error Server Error in '/' Application. The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had...

OverflowError: math range error

>>> import math >>> math.pow(2, 3000) Traceback (most recent call last): File "<stdin>", line 1, in <module> OverflowError: math range error How can I fix it? thanx. ...

How to show why "try" failed in python

is there anyway to show why a "try" failed, and skipped to "except", without writing out all the possible errors by hand, and without ending the program? example: try: 1/0 except: someway to show "Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> 1/0 ZeroDivisionError: integer d...

Drupal Error After Logging In

Hello everyone. I'm kinda new to using drupal and i'm just wondering why I kind of get this error on my new site. See i have this website under WampServer running drupal6-16. Everytime I log in with my pre-created admin account 'admin01' pass: 'admin01' i get redirected to the WampServer localhost which appears to be unusual since the h...

END_TAG exception while calling WCF WebService from Android using KSOAP2?

Hi, I am trying to call a WCF Web Service from Android using KSOAP2 library. But I am getting this END_TAG exception. I have followed this thread to call WCF Web Service but still no result. I am passing "urn:TestingWcf/GetNames" as SOAP_ACTION, does this causes problem in Android since the error occurs at the statement "aht.call(SOAP_A...

strange data annotations issue in MVC 2

Hello, I came across something strange when creating an edit form with MVC 2. i realised that my error messages come up on form sumission even when i have filled ut valid data! i am using a buddy class which i have configured correctly ( i know that cos i can see my custom errors). Here is the code from the viewmodel that generates thi...

Cannot use ternary operator in LINQ query

I can't figure out why I get a Object reference not set to an instance of an object. error if I use a ternary operator in my LINQ query. var courses = from d in somesource orderby d.SourceName, d.SourceType select new { ID = d.Int...

What dose this mean? Parse error: syntax error, unexpected ':' How do i fix it?

Parse error: syntax error, unexpected ':' ...