I have a very strange issue that I'm hoping someone can help me with. I have various installations of Eclipse on my development machine at work. The one I primarily use is Weblogic WorkSpace Studio 10.2. This installation, along with a few Pulse installations I have set up works fine when I'm logged into my computer physically.
Howe...
I am attempting to migrate hosts and am having issues migrating from one Drupal instance to another. I have a multi-site install. I am attempting to maintain the files/code as well as databases. I have transferred the files from the instance of Drupal from my old server to the new server. I have exported the databases via phpmyadmin ...
I am dispatching events from a child to a parent swf. It was working properly, until I used a preloader swf to load the parent, then the parent stopped getting events from the child. I get this error now:
TypeError: Error #1034: Type Coercion failed: cannot convert com.company.events::MyCustomEvent@22494251 to com.company.events.MyCusto...
When I enter a string that it not in the list, I get this error in my enum CrimeType
class: IllegalArgumentException, no enum const class CrimeType.a(in java.lang.Enum).
What does it mean and how can I fix this?
public void enterCrime()
{
Crimes crimes = new Crimes();
System.out.print("\t\tEnter crime: ");
crimeName = In...
When I enter a string that it not in the list, I get this error in my enum CrimeType
class: IllegalArgumentException, no enum const class CrimeType.a(in java.lang.Enum).
What does it mean and how can I fix this?
public void enterCrime()
{
Crimes crimes = new Crimes();
System.out.print("\t\tEnter crime: ");
crimeName = In...
Consider the following code:
template<int* a>
class base {};
int main()
{
base<(int*)0> test;
return 0;
}
Both Comeau and MSVC compile this without issues (except for Comeau warning about an unused variable), while GCC fails on the base<(int*)0> test; line, stating
In function `int main()':
a casts to a type other than...
I'm getting this same error, but I've checked to make sure the properties were set correctly in the .h file.
Here's the code:
NSUInteger theSizesCount = [theWho.theSizes count];
The error is "error: request for member theSizes in something not a strucutre or union. This .m file is importing 6 .h files, and 4 of them have the same prop...
Hi i have a debian server.
Today my site was showing Error establishing a database connection.
When i tried to restart mysql i am getting this error:
ERROR: The partition with is too full! failed!
I have run apt-get clean command also but still i am getting this error.
Please help
...
Warning: file_get_contents(http://localhost/sample_pie.php) [function.file-get-contents]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\xampp\htdocs\EXACT\report.php on lin...
Can you suggest what factors can cause an C++ Builder's 2009 linker error "Unresolved external '__fastcall System::TObject::NewInstance(System::TMetaClass *)' referenced from XXX.obj"?
We have a set of Delphi files (pas) and set of C++ Builder files (hpp and obj), which was generated from these pas files.
Set of files is copied to anot...
I installed mysql server on linux box IP = 192.168.1.100 but when i try to connect to this IP it alway error(111). but use localhost and 127.0.0.1 is OK.
beer@beer-laptop# ifconfig | grep "inet addr"
inet addr:127.0.0.1 Mask:255.0.0.0
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
beer@beer-lapto...
I'm trying to validate the following XML but I'm unable to, can you please spot the error?
<!-- menu: its a menu -->
<menu id="Welcome">
<!--audio: file to play -->
<audio src="D:\Telephony\VOXs\Welcome.vox" />
</menu>
<!-- form: its a menu -->
<menu id="LanguageSelection">
<audio src="D:\Telephony\VOXs\LanguageSelection.vo...
When the compiler gets here:
outFile1<<"The highest number is "<<maxnum<<", and it is located at coordinates "<<maxX<","<<maxY<<"."<<endl;
it gives the error
invalid operands of types const char[2]' and int' to binary `operator<<'
...
When I am running my code, it always stops at the for loop and skips it.
public void assignCell()
{
Prisoner prisoner = prisoners.get(id-1);
for(Cell cell : cells)
if(cell.isAvailable())
{
cell.allocate(prisoner);
String bunk = null;
if(cell.isEven())
{
bunk = "top bunk of cell...
I'm using mysql together with asp.net on my webserver. I also use a sqlite database to be able to use the database on another device. I need to send data between the two databases. This is something that needs to be done many times a day. This is an example of how I do it:
using (MySqlTransaction mysqltransaction = mysqlconn.BeginTr...
Hi,
I am fetching data from this url "http://potlocator.com/locationXML.php",
But while parsing the data with NSXMLParser, i am getting this error,
found Error Operation could not be completed. (NSXMLParserErrorDomain error 68.)
What might be the problem ?
Thanks
...
Hehe, don't laugh at me, just trying to set up Sphinx on my local WAMP, I haven't done this before so I'm probably doing something silly.
This is my sphinx.conf file:
source code
{
type = mysql
sql_host = localhost
sql_user = root
sql_pass =
sql_db = ****
sql_port = 3306
sql_query = SELECT id, language_id, c...
Hey Everyone,
I'm getting a very strange error message when I try to iterate through an array of objects. The error is
NoMethodError (undefined method `+@' for []:Array):
Here is the code of that loop.
#go through items and see if there are any corresponding offers
#All matches are stored in a hash
items.each do |itemsi|
bestoff...
I developed an asp.net application and tested on my pc and every thing works fine. But, when i deployed it on the server it comes up with the follwing error:
Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find th...
I have a page with jquery on it. It works fine in Firefox, Chrome etc but if I load it in IE, none of the Jquery functions run, and IE's script debugger shows:
Error
A Runtime Error has occurred.
Do you wish to Debug?
Line: 269
Error: Unterminated string constant
Yes No
The line in question is in my (unmodified) jquery.js th...