php5 ./configure error: Cannot find MySQL header files

August 16th, 2009

I was installing php and the rest on ns3 and obviously I got the latest php 5.2.9
Using the usual configure options I was getting: configure error: Cannot find MySQL header files
Turned out I had to pass the base mysql installation folder to both the –with-mysql option AND –with-mysql-pdo=shared which rutned into “–with-mysql-pdo=shared,/path/to/mysql” without the quotes. or with them, doesn’t matter for the shell.

Related posts

Twitter down

August 15th, 2009

I posted a coiple of blogposts and expected the autotwitter to do its job and since I lunched the alus.ws shortener service and made it use that one instead of tinyurl I figured I shoudl check to see if it posts ok. To my dissapointment, it did not.
So, I wasted about 1 hour going through logs and making tests and all just to see it’s not working. Then, I googled and found out that actually there is (was) some kind of attaack which rendered the twitter site and some others useless.

God I hate hackers.

Related posts

New site on the net: all about me

August 15th, 2009

I finally managed to launch the long-awaited (by me at least) site about me. ALL about ME.
I’m so ego-centric and ego-everything.
Since it just launched, there is not much on it 🙂
So read more about me here: http://www.ciuly.info/

Related posts

Tertiary DNS Server is now online

August 15th, 2009

I finally managed to pull this off. I set up ns1.ciuly.com, ns2.ciuly.com a while ago and now ns3.ciuly.com and migrated 2 of the websites to use them.
I will be monitoring how things work and if all ok, I’ll probably migrate all my websites on them.
The reason for this is that I plan on supporting dynamic sub-domains on at least the new alus.ws url shortener website I launched yesterday.

Related posts

My very own URL shortener service

August 15th, 2009

I just started up my own url shortener service on ALUS based on tinyurl wo which I made 2 modifications at this time:
– presented the user the very short url, without the i parameter (as in http://alus.ws/1(3 characters shorter than default)
– added another parameter, tinyurl, to the save GET request which simulates the same output as the tinyurl.com api-create.php page. This part is then used by the autotwitter I use, which i also had to modify because it uses tinyurl hardcoded

Enjoy 🙂

Related posts

Weird IE6 bug

August 10th, 2009

I don’t use IE if I can help it but my internet banking does so ocne in a while I’m forced to.
Also, I don’t use automatic/windows updates at all. If tehre is some update that I really need, I try to get it manually. So my IE is outdated.
That being said, I noticed quite a while back that it happens that I start a new IE browser and no site will load. I disabled all add-ons and still nothing. However, I noticed that disabling an addon, closing browser,then enabling it back, again closing browser and starting the browser the 3rd time will sometimes make it work.
But this is an annoying workaround and it doesn’t work all the time.
Today I found another workaround: open a second browser window without closing the first one. From all my tries tilll now, this works all the time and is much more nicer and user friendly.

So, whomever is having this issue, I hope it will work for you 🙂

Related posts

Delphi, ADO: update/modify and delete from a join recordset

August 10th, 2009

It’s been a while since I’ve written a Db-app from scratch and a few days ago I started writing an invoice-like app for myself.
At one point I needed to insert/update/delete into/from a resultset of a join. I was getting this error:
“Row cannot be located for updating. Some values may have been changed since it was last read.”
After googleing for a little while I found the following golden piece of information on ADO programming on the web archive which was posted here

Now everything works like a charm 🙂

Related posts

MySQL – Data Provider Or Other Service Returned An E_FAIL Status

August 7th, 2009

I spent quite soem time on this error until I managed to figure it out.
My problme was different from what you can usually find on the net. I had a table with 1 autoinc integer column and the rest all varchars fo various lengths. So no date field.
What I ended up doing was to install the latest mysql odbc connector (5.1 as of this writing) which offered me some options (I don’t knoiw if they are required as I set them, I used my common sense when setting them absed on my needs). I cheked on the flags pages the following:
– Don’t prompt when connecting (flags 2)
And that’s it 😀 so nothing spectacular.
Before this I was using the 5.0 connector. So it appears there was some problem there because this is the only thing I changed.

Enjoy 🙂

Related posts

Greasemonkey: warn helper and aa_common_all scripts have been updated

August 2nd, 2009

I made a new fix in the ban_spammer function of the warn helper script, whichi required a modificaiton of the progress log functions in common_all.

Related posts

Some improvements in server configuration.

August 2nd, 2009

Just a flittle while ago, I moved the mysql DB to the (not so) new HDD. beside space (which the binary logs nicely fill up) there will also be some speed improvement.
I also moved the data storage part of the email server to the new HDD.
This move reduced my primary (and very old) HDD usage from 99% to 44%. It’s a 5.4 GB HDD fro those who didn’t read my past messages. The new hdd is 80 GB.
Why isn’t the new HDD the primary (and only) hdd? well, because I hate reinstalling 😀 Plus, the rest of the pc-s hardware matches it 🙂

Related posts