Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    E-Blah SQL Technical Support    General E-Blah SQL  ›  dbh not defined
Users Browsing Forum
No Members and 1 Guests

dbh not defined  This thread currently has 366 views. Print
1 Pages 1 Recommend Thread
namotco
June 26, 2007, 12:19pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 1
Posts Per Day: 0.00
Time Online: 9 minutes
I use mod_perl and have an HTML::Mason based site on the same server. For some reason I get errors complaining $dbh is not defined ( Can't call method "prepare" on an undefined value... ).  I put a use strict; at the top of mysql.pm (which I also had to modify by hard coding the DB-related values from Settings.pl because $main::varName wasn't working) to see what the problem might be.  I'm wondering what I should do to fix all this...
Logged Offline
Private Message Private message
Justin
June 29, 2007, 7:56am Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,007
Gender: Male
Posts Per Day: 6.77
Reputation: 93.38%
Reputation Score: +296 / -21
Time Online: 36 days 17 hours 26 minutes
Location: Tallassee, AL
Age: 21
E-Blah does not support mod_perl.


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 1 - 1
1 Pages 1 Recommend Thread
Print

E-Blah Community    E-Blah SQL Technical Support    General E-Blah SQL  ›  dbh not defined