Re: IE8 crashes when back button clicked after sending email from PHP script [message #172192 is a reply to message #172183] |
Thu, 03 February 2011 18:26 |
P E Schoen
Messages: 86 Registered: January 2011
Karma:
|
Member |
|
|
"The Natural Philosopher" wrote in message
news:iieb8j$qu8$2(at)news(dot)albasani(dot)net...
> I've always found that typing both the start/end quotes,
> parentheses, or whatever at the same time, then filling in
> the middle eliminates most of those kinds of errors.
> Or use and editor with some kind of smarts. I have gotten
> used to Geany.
> If my whole page turns orange, I have an unclosed quote
> somewhere.
I have been using PerEdit, and it does work well with Perl scripts, but not
so much for PHP. I'll try Geany. Thanks for the tip.
Also, I tried using Firefox, and I did not have any problem with the back
button. Same with Google Chrome.
The error message indicates that IE8 believes it is a problem with the web
page. Would that be the page generated by the script, or the HTML containing
the form?
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?
Thanks,
Paul
|
|
|