FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » IE8 crashes when back button clicked after sending email from PHP script
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: IE8 crashes when back button clicked after sending email from PHP script [message #172195 is a reply to message #172192] Thu, 03 February 2011 21:12 Go to previous messageGo to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
On 03/02/11 18:26, P E Schoen wrote:

> Another problem I have had is running SQLite on my live server
> Dreamhost. The documentation indicates that I need to download and
> install SQLite on the server. But my Perl script uses SQLite and I
> didn't have to do anything special. I did, however, need to add this:
>
> use DBI;
> my $db = DBI->connect( # connect to your database, create
> if needed
> "dbi:SQLite:dbname=$dbfile", # DSN: dbi, driver, database file
>
> While for PHP I have only:
>
> $db = new SQLite3($dbFile);
>
> The exact error message:
>
> Fatal error: Class 'SQLite3' not found in
> /home/pes1949/pauleschoen.com/cgi-bin/BGFemail.php on line 52
>
> Any way to fix this?

I had to install the php5-sqlite package to obtain sqlite3 functionality.

Might it be that although your development environment has sqlite3
support your hosting company doesn't?

Dreamhost hosting website doesn't say it supports sqlite. Of course,
this doesn't mean that it doesn't, but my experience (above) is that
it's not "compiled-in" to _all_ flavours of PHP5.

Rgds

Denis McMahon
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: REQ: Looking for a script program called paCheckbook
Next Topic: json and non UTF8
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 13:33:58 GMT 2024

Total time taken to generate the page: 0.04901 seconds