|
Jwalant Natvarlal Soneji wrote: no freedom as in changing configuration, no control of many parts of the UI.
huh? ...you do have the freedom to change those things... not sure exactly how easy you want it but I'm using Ubuntu and it's customised to how I want it (dumped Unity).
|
|
|
|
|
that's exactly what I was talking about... I could not find UI configuration editor which disable/change Unity.
|
|
|
|
|
You probably didn't look hard enough... there are Unity tweak tools, I believe the newest Ubuntu release has one that comes with it (no need to install it) but previous versions didn't, so you had to install it or you could edit the associated files through the terminal. To install it all you really have to do is look for the tools in their software center (or whatever it's currently called) which is very user friendly.
If you don't want to use Unity at all, you just have to install an alternate "interface shell", I use mostly Gnome classic (version 2.x) but Gnome 3 is not bad. If you deal with a lot of graphics in your applications (as I do) Gnome classic is probably your best choice as it doesn't hog any resources at all.
|
|
|
|
|
Thanks.. that was really very much insightful..
Albert Holguin wrote: You probably didn't look hard enough
And this is what I was talking about that its not a single step to change Unity...
The Ubuntu Settings page is so small; hides most of the changes a non-novice user will be looking for...
Albert Holguin wrote: install an alternate "interface shell"
Let me try this one... thanks..
|
|
|
|
|
|
I have been using OpenSUSE as my Desktop-OS for quite some time, as a replacement for Windows. It was the only distro that correctly recognized all hardware. Quite simple to install, got Wine and Mono on there.
Lot's of configuration options in the UI, but most examples on the internet will use the shell to change those.
Bastard Programmer from Hell
|
|
|
|
|
An important question to ask is: is your hardware supported by the Linux you want to use? And typically you'll find that out only by installing that Linux on your computer...
Of course, you can use a boot manager and share a data partition. But at some installation a Linux might report a problem when updating the boot manager ("write protected")...
Eventually I installed Windows, getting rid of those problems.
|
|
|
|
|
Bernhard Hiller wrote: some installation a Linux might report a problem when updating the boot manager ("write protected")
Never encountered a one of this kind... I have used RedHat, Ubuntu, Live Mint, Fedora, Debian and couple of others till date...
|
|
|
|
|
I do not remember which one it was with the write protected error. The different distros used different versions of the boot manager and were not able to update it correctly in all cases - I had to manually edit afterwards several times.
I tested Ubuntu 10 and 11, OpenSuse, Suse Server, Suse Desktop, and CentOS; all 64 bit.
|
|
|
|
|
Can't create table '.\userdb\od.frm' (errno: 150).
Getting this error while creating following table in mysql...
create table od(no. int,foreign key(no.) references emp(empno));
|
|
|
|
|
"no." is a strange column name - I never use dots or commas in a column name. Try "no" or "number" instead.
By the way, does your MySQL user have the right to create tables?
|
|
|
|
|
This is a foreign key error caused by the use of "." in your column identifyers. If you use capital letter format, for example: "ItemNumber" or underscores ("item_number") instead and you should be able to execute. Good luck
|
|
|
|
|
I have a button in my form and on click of that button I am writing this code....
<pre>
OdbcCommand cmd ;
cmd = new OdbcCommand("abc", cn);
cmd.CommandType = CommandType.StoredProcedure;
cmd.ExecuteNonQuery();
I have made a procedure named abc in database which is returning only one row from login table..So i am just checking that on click of that button my procedure should run but while debugging when i come to cmd.ExecuteQuery() it throws following error..
ERROR [42000] [MySQL][ODBC 5.1 Driver][mysqld-5.0.77-community-nt]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 'abc()' at line 1.
So plz tell me what should be the problem.
|
|
|
|
|
Can you show us the procedure that you have written?
I appreciate your help all the time...
CodingLover
|
|
|
|
|
Sir I have corrected that...thanks...
|
|
|
|
|
Hi,
$arr = array(5=>dog, 3=>cat, 6=>cow)
How can you delete say 2nd element from an array without using unset or any inbuilt php functions?
cheers
|
|
|
|
|
Why would you not want to use an inbuilt function?
I guess you could copy the array element by element, skipping the one you don't want. Or are you not allowed to use loops either?
|
|
|
|
|
If you really want to do that, move each item into a new array without the one you want to remove from the original.
If you've never failed... You've never lived...
|
|
|
|
|
|
You will do a lot better by asking in the Joomla forum[^]. There's too much learning involved for most of us here - over there they have already climbed that mountain.
Good hunting,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Thank you for your answer!
I've been struggling with this problem for a couple of days now and the joomla communitues shine with their absence when it comes to questions deeper than "name an extension that does this".
In my mind there's something wrong with the logic somewhere since so I was hoping that a higher skilled programmer might been able to see something despite the "joomla syntax"...
Thanks.
// Alekks
|
|
|
|
|
I've had no experience with Joomla, but I have done some simple paddling around in Drupal. I guess I was 'arguing by analogy' in that the Drupal forum is pretty good for people who know how to frame a question (as you do).
Cheers,
Peter
[edit]fixed typos[/edit]
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Hi,
i am creating a user register class using pdo prepared statements etc. But it looks like, something is going wrong in my following code.
I am getting error on the following code in bold -
public function isUsernameTaken($username)
{
$st = $this->getPdo()->prepare("select count(*) as cnt from ".
$this->getDbUserTable()." where username=?");
$row = $st->execute(array($username))->fetch();
if($row['cnt']==0)
{
return false;
}
return true;
}
the error is - Call to a member function fetch() on a non-object
Any idea about the error?
Thanks
modified 10-May-12 10:30am.
|
|
|
|
|
According to my reading of the PHP manual, $st->execute() will return a bool , indicating success/fail of the SQL call. If it succeeded, you can then call $st->fetch() to get the results.
Simple, really.
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994.
|
|
|
|
|