Search blog

Thursday, December 6, 2012

Zencart unable to connect to database

If you were fiddling around with Zencart for the first time and experience some problem connecting to your Zencart database and the errors is because of a password changed you made, like I did in the Godaddy shared hosting account try the following steps:

1. Change the password in the includes/configure.php file
2. Change the password in the admin/include/configure.php file.

Do check whether other details like the server name, website URL etc. are also set correctly.

Even though you might have kept your folders in a folder which makes the domain name as:
http://www.example.com/folder_name

the following values still should be just your site name:
  define('HTTP_SERVER', 'http://www.example.com');
  define('HTTPS_SERVER', 'https://www.example.com');

The following values should be as (including the trailing slash):
 define('DIR_WS_CATALOG', '/folder_name/');
  define('DIR_WS_HTTPS_CATALOG', '/folder_name/');

And make sure you don't overwrite any one of the configure.php file with the other. Although they both have the same filename they are different and server different purpose.

Wednesday, December 5, 2012

Inspiration for Internet Startups



Here are some dose of inspiration that I've managed to garner so far along my Internet business journey and undoubtedly they are nothing but SO TRUE!!!!

1. One of the co-founder of reddit.com (one of the top website in the world and America) says, "Don't try to build an awesome product in the start itself. That barely happens. Start small and then go on building on it."

2.  "Nobody should start to undertake a large project. You start with a small trivial project, and you should never expect it to get large. If you do, you'll just overdesign and generally think it is more important than it likely is at that stage. Or worse, you might be scared away by the sheer size of the work you envision. So start small, and think about the details. Don't think about some big picture and fancy design. If it doesn't solve some fairly immediate need, it's almost certainly over-designed. And don't expect people to jump in and help you. That's not how these things work. You need to get something half-way useful first, and then others will say "hey, that almost works for me", and they'll get involved in the project." - Linux Times (2004-10-25), Linus Torvalds (Main man behind Linux Operating System)

3.  It's hard to tell with these Internet startups if they're really interested in building companies or if they're just interested in the money. I can tell you, though: If they don't really want to build a company, they won't luck into it. That's because it's so hard that if you don't have a passion, you'll give up.  -Steve Jobs

 4. For Facebook, though, hacker means something different. It’s an ideal that permeates the company’s culture. It explains:

 - the push to try new ideas (even if they fail),
 - and to promote new products quickly (even if they’re imperfect).

The hacker approach has made Facebook one of the world’s most valuable Internet companies.
Hackers “believe that something can always be better, and that nothing is ever complete,” Zuckerberg explains. “They just have to go fix it - often in the face of people who say it’s impossible or are content with the status quo.”

The Hacker Way: Minimum, Viable: http://leanstartupmachine.com/2012/03/minimum-viable-and-viral/

Saturday, November 24, 2012

Advice From An Old Programmer - (a must read)

This is an awesome read I came across yesterday penned by an amazingly talented programmer called Zed Shaw. Here's an excerpt:

"Of course, all of this advice is pointless. If you liked learning to write software with this book, you should try to use it to improve your life any way you can. Go out and explore this weird wonderful new intellectual pursuit that barely anyone in the last 50 years has been able to explore. Might as well enjoy it while you can.

Finally, I'll say that learning to create software changes you and makes you different. Not better or worse, just different. You may find that people treat you harshly because you can create software, maybe using words like "nerd". Maybe you'll find that because you can dissect their logic that they hate arguing with you. You may even find that simply knowing how a computer works makes you annoying and weird to them.

To this I have just one piece of advice: they can go to hell. The world needs more weird people who know how things work and who love to figure it all out. When they treat you like this, just remember that this is your journey, not theirs. Being different is not a crime, and people who tell you it is are just jealous that you've picked up a skill they never in their wildest dreams could acquire.
You can code. They cannot. That is pretty damn cool."
To read more: Advice From An Old Programmer.

Friday, November 16, 2012

Changing Site's Default Email Address in Drupal

This is a pretty simple solution for changing your site's 'default email address' in Drupa 6.

1. If not using MIME mail try this: admin/settings/site-information

2. If using MIME mail use this: admin/settings/mimemail

Top 5 Posts (Weekly)