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 #172194 is a reply to message #172192] Thu, 03 February 2011 19:32 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 2/3/2011 1:26 PM, P E Schoen wrote:
> "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.
>

Eclipse with the PHP plugin is a pretty good editor PHP environment.
It's in Java, though, so it will be a bit slow on older machines.

> 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?
>

The error message doesn't say. But since it works with FireFox and
Chrome, I would think it's an IE problem, and you'll need to track it
down from that end.

> 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

You'll have to get your host to install the SQLite3 PHP extension.

Alternatively, go with a better database such as MySQL or PostGreSQL,
whichever might be available on your host.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[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 00:38:17 GMT 2024

Total time taken to generate the page: 0.04067 seconds