Forum Moderators: coopster & phranque

Message Too Old, No Replies

Using an Access database through Perl.

I am having problems, the code works on my PC but not on my host.

         

diddlydazz

2:45 pm on Apr 22, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I could do with a hand here ;)

I have a simple MS Access database, I am using Perl to query the database.

I have apache installed on my PC and the host has IIS 5.0

The script works fine on mine but gives me a blank screen on the host.

If anyone thinks they can help I will paste the code.

Thanks in advance as always

Dazz

added:: If it was MySQL I wouldn't have a problem ;)

Brett_Tabke

7:42 am on Apr 23, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Try turning on errors to the browser to see what it has to say:

Add this line near the very top of the script (2nd - 3rd line):

useCGI::Carp qw (fatalsToBrowser);

That will kick errors to the browser.

diddlydazz

8:30 am on Apr 23, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



cheers Brett

Dazz

diddlydazz

8:50 am on Apr 23, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Turns out the host has not installed DBI::ODBC properly.

Thanks for the tip Brett, I hadn't thought of that.

Regards

Dazz