I have project Image Gallery website.(I use Eclipse,WAMP)
How to Connecting GWT(front end) with PHP(back end) so that GWT widget can display my database? Please give detail simple example if anyone can.
For some reason, trying to view any node of a certain content type leads to a 404 error. When viewed in a View table, they display just fine. What could be happening?
Viewing the database with phpMyAdmin shows the data just fine.
The problematic node type was created with CCK.
I use Aptana Studio 2.0 to create an Adobe AIR 2.0 webapplication.
I have to contact my MySQL database from my server to be able to use my application.
I tried, but it failed. Does AIR have these abilities anyways, and how? If not, what are the alternatives?
When I am trying to connect to a MySQL database from a remote computer I get a prompt saying: Connection Failed: [HY000] [MySQL][ODBC 5.1 Driver]Can't Connect to MySQL server on 'XXX.XXX.XX.XX' (10060)
I have created a user account in the MySQL Administrator and added a host to enable remote access, I have also made an exception for my Windows Firewall on port 3306 but the connection still fails.
What is the problem?
Thanks!
Hello,
I want to pass data to a server and store the file there in a database as binary data.
NSData *myData = [NSData dataWithContentsOfFile:pathDoc];
pathDoc = [NSString stringWithFormat:@"<size>%d</size><type>%d</type><cdate>%@</cdate><file>%c</file><fname>File</fname>",fileSizeVal,filetype,creationDate,myData];
Any idea about this?
Thanks you,
Milan
We have a website on IIS7 using ASP.NET Routing that seems as though it might be running out of resources.
It just hangs after a few days, there is no error message or apparent crash.
We are making sure every .Open command is matched by a .Close command on the database connection.
We are doing the same with file Open/Close but there are very few of those.
Is there anything else we should check?
Hi to All,
I developed an iPhone app which displays iPhone AddressBook contacts list.
I want to add extra fields to the selected contact.
Using AddressBook framework,it was not possible.So,i want to attach those values to the "contacts" table of my database.
How can i store(insert) those existing contacts into contacts(using sqlite3 insert command).
Please,help me with a sample code.
Thanks in Advance,
Ramya.
Hi, I was testing some data in my tables of my database, to see if there was any error, now I cleaned all the testing data, but my id (auto increment) does not start from 1 anymore, can (how do) I reset it ?
Sorry for any mistake in English, and thanks for the attention.
I have a running django/apache2 + memcached app (ubuntu) and would like to keep track of logged in users that are online.
What would be the best way to track this?
I would prefer not writing to the database each time a logged in user loads a page; but what other options are there?
Does anyone knows how to force WEBrick to process more than one request at a time? I'm using some Ajax on my page for long running database-related tasks and I can clearly see the requests are being processed in a pipeline.
I am using Persistent Storage in Blackberry,now i want to use SQlite Database with Blackberry 4.5.But i didn't get any tutorial for that.Can i use SQlite with Blackberry 4.5 or i need any other version of Blackberry.
I want to develop my project on Google App Engine with Struts2. For the database I have two options JPA and JDO. Will you guys please suggest me on it? Both are new for me and I need to learn them. So I will be focused on one after your replies.
Thanks.
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
I have DATABASE trigger. But when I save object through hibernate session object, Its throws
above exception
I have a column with the type of Varchar in my Postgres database which I meant to be integers... and now I want to change them, unfortunately this doesn't seem to work using my rails migration.
change_column :table1, :columnB, :integer
So I tried doing this:
execute 'ALTER TABLE "table1" ALTER COLUMN "columnB" TYPE integer USING CAST(columnB AS INTEGER)'
but cast doesn't work in this instance because some of the column are null...
any ideas?
hi
Suppose that you have a win form with 5 combo boxes on it.
Some one told me that you must have 5 data table in order to fill them one by one.
How do you fill them with data stored in Database?
I have a SQL Server database with an Apartment table (which has columns FloorNum and BuildingID) and an ApartmentBuilding table (with column NumFloors). Is there any way to set up a constraint (using the SQL Server UI) to check that Apartment.FloorNum is greater than ApartmentBuilding.NumFloors?
I tried this:
FloorNum > ApartmentBuilding.NumFloors
but now I realize that I somehow have to join the columns on the BuildingID, but I have no idea how to do that within a constraint.
Thanks for your help!
Hi
can any body suggest me any idea about how can i compare two fields in django.
as i have two password fields in my forms.py file.
now i want to compare the two fields and if both are same then save the user in database
else append an error message to reenter the values again.
thanks
I recently came to know that, different Information Technology are also based on N-Tier Architecture.
For example, a Web Technology is usually 3-Tier Architecture: The user, The Web Server and The Database Server. But we also develop various applications in N-tier. What are the difference between these two and how are they related to each other.
Title pretty much says it.
I want to store a C#.NET ulong into a T-SQL database. I don't see any provisions for doing this, as the SQL bigint has the same Min/Max values as a normal long.
Is there any way I can do this? Or is catching an OverflowException my only hope?
I am doing a select * on a postgresql table, and everything looks good. But if I do:
SELECT Name from People
It says:
ERROR: column People.Name does not exist
SQL state: 42703
Character: 8
But the name column shows up during select *. I've tried:
SELECT People.Name from People
as well, with the same result. Am I missing something? It should be pretty easy to do this in any other database.
Hi there,
I have an enum type on my Java model which I'd like to map to a table on the database. I'm working with Hibernate Annotations and I don't know how to do that. Since the answers I search were rather old, I wonder which way is the best?
Thanks in advance
I need to create database for SQL Server, what kind of naming convention I sohuld use?
1) Table names could be : customer, Customer, CUSTOMER
2) Field names could be : customer_id, CustomerId, CustomerID, CUSTOMER_ID, customerid, CUSTOMERID and so on...
Is there any official suggestion for naming conventions or what is msot common way to name tables and fields?
I can find the definition files at http://www.php.net/~helly/php/ext/spl/... but I want to extend DirectoryIterator and SplFileInfo to work over a virtual filesystem stored on a database... not a real filesystem...
Many thanks...
I recently came to know that, different Information Technology are also based on N-Tier Architecture.
For example, a Web Technology is usually 3-Tier Architecture: The user, The Web Server and The Database Server. But we also develop various applications in N-tier. What are the difference between these two and how are they related to each other.
I need to include several stored procedure in a single transaction in a single database,
if any of stored procedure fail then roll back transaction of all stored procedure procesed in the scope.
I work with SQL-SERVER 2008