473,405 Members | 2,445 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

unexpected }

I have a 638 line glob of PHP code & HTML that won't run.
I get "PHP Parse error: syntax error, unexpected '}' in quiz\\quiz.php
on line 594".
I wrote a brace checker that checks perens, square brackets, and curly
braces for mismatches & opens and it checks out perfect. so I don't
know what it is about the curly brace error. it's false.
anybody have a clue as to what the real error might be? the code looks
pristine to me.

------------------------------------
Jim Michaels
for email, edit the address

"Because we do not understand the brain very well we are constantly
tempted to use the latest technology as a model for trying to understand
it. In my childhood we were always assured that the brain was a
telephone switchboard. ('What else could it be?') I was amused to see
that Sherrington, the great British neuroscientist, thought that the
brain worked like a telegraph system. Freud often compared the brain to
hydraulic and electro-magnetic systems. Leibniz compared it to a mill,
and I am told some of the ancient Greeks thought the brain functions
like a catapult. At present, obviously, the metaphor is the digital
computer." - John R Searls.
Nov 19 '07 #1
20 3127
"Jim Michaels" <jm************@THISPLEASEyahoo.comwrote in message
news:Fd******************************@comcast.com. ..
>I have a 638 line glob of PHP code & HTML that won't run.
I get "PHP Parse error: syntax error, unexpected '}' in quiz\\quiz.php on
line 594".
I wrote a brace checker that checks perens, square brackets, and curly
braces for mismatches & opens and it checks out perfect. so I don't know
what it is about the curly brace error. it's false.
anybody have a clue as to what the real error might be? the code looks
pristine to me.
It does appear, from that description, that the error is in error.
But, just on a lark, look to see if you have "{$" inside a string somewhere.
Curly bracket followed by a dollar sign tells PHP that it's a complex,
inline variable.
So, if you that, it could produce the error you describe, without raising
the alarm with your bracket-checker.

>
------------------------------------
Jim Michaels
for email, edit the address

"Because we do not understand the brain very well we are constantly
tempted to use the latest technology as a model for trying to understand
it. In my childhood we were always assured that the brain was a telephone
switchboard. ('What else could it be?') I was amused to see that
Sherrington, the great British neuroscientist, thought that the brain
worked like a telegraph system. Freud often compared the brain to
hydraulic and electro-magnetic systems. Leibniz compared it to a mill, and
I am told some of the ancient Greeks thought the brain functions like a
catapult. At present, obviously, the metaphor is the digital
puter." - John R Searls.

Nov 19 '07 #2
Jim Michaels wrote:
I have a 638 line glob of PHP code & HTML that won't run.
I get "PHP Parse error: syntax error, unexpected '}' in quiz\\quiz.php
on line 594".
I wrote a brace checker that checks perens, square brackets, and curly
braces for mismatches & opens and it checks out perfect. so I don't
know what it is about the curly brace error. it's false.
anybody have a clue as to what the real error might be? the code looks
pristine to me.

------------------------------------
Jim Michaels
for email, edit the address

"Because we do not understand the brain very well we are constantly
tempted to use the latest technology as a model for trying to understand
it. In my childhood we were always assured that the brain was a
telephone switchboard. ('What else could it be?') I was amused to see
that Sherrington, the great British neuroscientist, thought that the
brain worked like a telegraph system. Freud often compared the brain to
hydraulic and electro-magnetic systems. Leibniz compared it to a mill,
and I am told some of the ancient Greeks thought the brain functions
like a catapult. At present, obviously, the metaphor is the digital
computer." - John R Searls.
Jim,

Obviously there's a mismatch somewhere :-). Did your brace checker
ignore braces within strings? Or within comments? Either one can throw
it off.

Try a editor with syntax highlighting. On Windows I recommend Crimson;
it has the added advantage of matching up braces for you.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Nov 19 '07 #3
On Mon, 19 Nov 2007 06:44:14 +0100, Jim Michaels
<jm************@THISPLEASEyahoo.comwrote:
I have a 638 line glob of PHP code & HTML that won't run.
I get "PHP Parse error: syntax error, unexpected '}' in quiz\\quiz.php
on line 594".
I wrote a brace checker that checks perens, square brackets, and curly
braces for mismatches & opens and it checks out perfect. so I don't
know what it is about the curly brace error. it's false.
anybody have a clue as to what the real error might be? the code looks
pristine to me.
An unexpected '}' doesn't mean that curly brace should not be there. For
me, most of the time I get this it means the previous expression wasn't
finished (missing ')' or ';'). If you'd have posted you code leading up to
the offending brace at line 594 maybe we could spot it...
--
Rik Wasmus
Nov 19 '07 #4
Jerry Stuckle wrote:
Jim Michaels wrote:
>I have a 638 line glob of PHP code & HTML that won't run.
I get "PHP Parse error: syntax error, unexpected '}' in
quiz\\quiz.php on line 594".
I wrote a brace checker that checks perens, square brackets, and curly
braces for mismatches & opens and it checks out perfect. so I don't
know what it is about the curly brace error. it's false.
anybody have a clue as to what the real error might be? the code
looks pristine to me.

------------------------------------
Jim Michaels
for email, edit the address

"Because we do not understand the brain very well we are constantly
tempted to use the latest technology as a model for trying to
understand it. In my childhood we were always assured that the brain
was a telephone switchboard. ('What else could it be?') I was amused
to see that Sherrington, the great British neuroscientist, thought
that the brain worked like a telegraph system. Freud often compared
the brain to hydraulic and electro-magnetic systems. Leibniz compared
it to a mill, and I am told some of the ancient Greeks thought the
brain functions like a catapult. At present, obviously, the metaphor
is the digital computer." - John R Searls.

Jim,

Obviously there's a mismatch somewhere :-). Did your brace checker
ignore braces within strings? Or within comments? Either one can throw
it off.

Try a editor with syntax highlighting. On Windows I recommend Crimson;
it has the added advantage of matching up braces for you.

it ignores within comments. and as I said, braces match.

--

------------------------------------
Jim Michaels
for email, edit the address

"Because we do not understand the brain very well we are constantly
tempted to use the latest technology as a model for trying to understand
it. In my childhood we were always assured that the brain was a
telephone switchboard. ('What else could it be?') I was amused to see
that Sherrington, the great British neuroscientist, thought that the
brain worked like a telegraph system. Freud often compared the brain to
hydraulic and electro-magnetic systems. Leibniz compared it to a mill,
and I am told some of the ancient Greeks thought the brain functions
like a catapult. At present, obviously, the metaphor is the digital
computer." - John R Searls.
Nov 20 '07 #5

Jim Michaels;104397 Wrote:
>
it ignores within comments. and as I said, braces match.
Well, sorry, but obviously they don't.
I'd like to think that php has its braces covered by now.

Without seen the code it is very hard to tell where there is a
mismatch.
We don't even know you brace checking code, there could also be a
problem in that.

FFMG.
--

'webmaster forum' (http://www.httppoint.com) | 'Free Blogs'
(http://www.journalhome.com/) | 'webmaster Directory'
(http://www.webhostshunter.com/)
'Recreation Vehicle insurance'
(http://www.insurance-owl.com/other/car_rec.php) | 'Free URL
redirection service' (http://urlkick.com/)
------------------------------------------------------------------------
FFMG's Profile: http://www.httppoint.com/member.php?userid=580
View this thread: http://www.httppoint.com/showthread.php?t=22375

Message Posted via the webmaster forum http://www.httppoint.com, (Ad revenue sharing).

Nov 20 '07 #6
On Tue, 20 Nov 2007 06:26:15 +0100, Jim Michaels
<jm************@THISPLEASEyahoo.comwrote:
Rik Wasmus wrote:
If you'd have posted you code leading up
>to the offending brace at line 594 maybe we could spot it...
I need a 2nd pair of eyes on this problem.
Guess what? We do need the lines to see...

(And thanks for the correct sig seperator BTW :) )
--
Rik Wasmus
Nov 20 '07 #7
Jim Michaels schrieb:
>>I have a 638 line glob of PHP code & HTML that won't run.
I get "PHP Parse error: syntax error, unexpected '}' in
quiz\\quiz.php on line 594".
Your attachment won't help, the error is not in quiztaker.php but in
quiz.php,

OLLi
--
Cordy: "I think it - I say it. It's my way."
[Angel 107]
Nov 21 '07 #8
On Wed, 21 Nov 2007 20:13:45 +0100, Oliver Grätz <ol***********@gmx.de>
wrote:
Jim Michaels schrieb:
>>>I have a 638 line glob of PHP code & HTML that won't run.
I get "PHP Parse error: syntax error, unexpected '}' in
quiz\\quiz.php on line 594".

Your attachment won't help, the error is not in quiztaker.php but in
quiz.php,
Ah, an attachment, that's why there was no code in the post. As this group
hasn't got 'binary' or 'binaries' in its name it didn't even occur to
check to me to check for that :).

Allthough it's a big nono to post attachments, a quick look learns me I
will unfortunatly not check this code. This is truly a maintenance
nightmare. Templates and/or isolating some deeply nested
if/else/while/switch statements seems to be badly needed.
--
Rik Wasmus
Nov 21 '07 #9
Rik Wasmus schrieb:
Allthough it's a big nono to post attachments, a quick look learns me I
will unfortunatly not check this code. This is truly a maintenance
nightmare. Templates and/or isolating some deeply nested
if/else/while/switch statements seems to be badly needed.
A "php -l" did not yield a parsing error AND the file is 692 lines long
(not 638) AND it is not matching the filename from the error message, so
I doubt the file in question was attached...

Your remarks about isolating are right. Just take out inner blocks until
the error message fades away. Go back one step and find the error
position...

OLLi

--
"My urination just hasn't been public enough lately."
[Cordelia in Angel 105]
Nov 21 '07 #10
On Thu, 22 Nov 2007 00:15:13 +0100, Oliver Grätz <ol***********@gmx.de>
wrote:
Rik Wasmus schrieb:
>Allthough it's a big nono to post attachments, a quick look learns me I
will unfortunatly not check this code. This is truly a maintenance
nightmare. Templates and/or isolating some deeply nested
if/else/while/switch statements seems to be badly needed.

A "php -l" did not yield a parsing error AND the file is 692 lines long
(not 638) AND it is not matching the filename from the error message, so
I doubt the file in question was attached...
Hmmm, don't know where something went different, a php -l here gave me a:
Parse error: syntax error, unexpected '}' in G:\Personal\quiztaker.php on
line 648
--
Rik Wasmus
Nov 21 '07 #11
Rik Wasmus schrieb:
>A "php -l" did not yield a parsing error AND the file is 692 lines long
(not 638) AND it is not matching the filename from the error message, so
I doubt the file in question was attached...

Hmmm, don't know where something went different, a php -l here gave me a:
Parse error: syntax error, unexpected '}' in G:\Personal\quiztaker.php on
line 648
# php4 -v
PHP 4.4.7-0.dotdeb.0 with Suhosin-Patch 0.9.6 (cli) (built: May 9 2007
16:38:02)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

# php4 -l quiztaker.php
No syntax errors detected in quiztaker.php

# php -v
PHP 5.2.5-0.dotdeb.0 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 12
2007 19:09:20)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

# php -l quiztaker.php
No syntax errors detected in quiztaker.php
php -v
PHP 5.2.1 (cli) (built: Feb 7 2007 23:11:26)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Xdebug v2.0.0, Copyright (c) 2002, 2003, 2004, 2005, 2006,
2007, by Derick Rethans
>php -l quiztaker.php
No syntax errors detected in quiztaker.php
No problems here, not with PHP4 nor PHP5, and not on win32.
I even changed the file from CR+LF to just LF, no change.
Have to mark this as WORKSFORME ;-)

OLLi

--
Programming is an art form that fights back.
Nov 22 '07 #12
On Thu, 22 Nov 2007 02:09:23 +0100, Oliver Grätz <ol***********@gmx.de>
wrote:
Rik Wasmus schrieb:
>>A "php -l" did not yield a parsing error AND the file is 692 lines long
(not 638) AND it is not matching the filename from the error message,
so
I doubt the file in question was attached...

Hmmm, don't know where something went different, a php -l here gave me
a:
Parse error: syntax error, unexpected '}' in G:\Personal\quiztaker.php
on
line 648
PHP 4.4.7-0.dotdeb.0 with Suhosin-Patch 0.9.6 (cli) (built: May 9 2007
16:38:02)
No syntax errors detected in quiztaker.php
PHP 5.2.5-0.dotdeb.0 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 12
2007 19:09:20)
No syntax errors detected in quiztaker.php
PHP 5.2.1 (cli) (built: Feb 7 2007 23:11:26)
No syntax errors detected in quiztaker.php
No problems here, not with PHP4 nor PHP5, and not on win32.
I even changed the file from CR+LF to just LF, no change.
Have to mark this as WORKSFORME ;-)
Win64,
PHP 5.2.4 (cli) (built: Aug 30 2007 07:06:31),
Parse error: syntax error, unexpected '}' in quiztaker.php on line 648

Weird....
--
Rik Wasmus
Nov 22 '07 #13
On Thu, 22 Nov 2007 02:35:29 +0100, Rik Wasmus
<lu************@hotmail.comwrote:
On Thu, 22 Nov 2007 02:09:23 +0100, Oliver Grätz <ol***********@gmx.de>
wrote:
>Rik Wasmus schrieb:
>>>A "php -l" did not yield a parsing error AND the file is 692 lines
long
(not 638) AND it is not matching the filename from the error message,
so
I doubt the file in question was attached...

Hmmm, don't know where something went different, a php -l here gave me
a:
Parse error: syntax error, unexpected '}' in G:\Personal\quiztaker.php
on
line 648
>PHP 4.4.7-0.dotdeb.0 with Suhosin-Patch 0.9.6 (cli) (built: May 9 2007
PHP 5.2.5-0.dotdeb.0 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 12
PHP 5.2.1 (cli) (built: Feb 7 2007 23:11:26)
No syntax errors detected in quiztaker.php

No problems here, not with PHP4 nor PHP5, and not on win32.
I even changed the file from CR+LF to just LF, no change.
Have to mark this as WORKSFORME ;-)

Win64,
PHP 5.2.4 (cli) (built: Aug 30 2007 07:06:31),
Parse error: syntax error, unexpected '}' in quiztaker.php on line 648

Weird....
md5_file() =f0fa03b6e3479c5f45ff6f0174ad378d
Yours?
--
Rik Wasmus
Nov 22 '07 #14
Rik Wasmus schrieb:
>Win64,
PHP 5.2.4 (cli) (built: Aug 30 2007 07:06:31),
Parse error: syntax error, unexpected '}' in quiztaker.php on line 648

Weird....

md5_file() =f0fa03b6e3479c5f45ff6f0174ad378d
Yours?
>php -r "echo md5_file('quiztaker.php')";
f0fa03b6e3479c5f45ff6f0174ad378d

Nope, we're shoveling the same coals into the engine...

And I can even get some HTML output from the script after changing the
top of the file to

<?php
function getconfigvar() {return '';}
$_SESSION['minutes']=(int)(ini_get("session.gc_maxlifetime")/60);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
// now the rest follows...

so this is no fake OK message. It reallys seems to have something to do
with some very subtle differences in the PHP version or configuration.
Hard to catch, giving up...

OLLi

--
public class ValidationMessage
{
//internal members
string messageId;
string messageText;
string helpLink;
/* ... */
double cheeseburger;
char broiled;
long time;

//helper functions
/* ... */
}
Nov 22 '07 #15
Oliver Grätz wrote:
Rik Wasmus schrieb:
>>Win64,
PHP 5.2.4 (cli) (built: Aug 30 2007 07:06:31),
Parse error: syntax error, unexpected '}' in quiztaker.php on line 648

Weird....
md5_file() =f0fa03b6e3479c5f45ff6f0174ad378d
Yours?
>php -r "echo md5_file('quiztaker.php')";
f0fa03b6e3479c5f45ff6f0174ad378d

Nope, we're shoveling the same coals into the engine...

And I can even get some HTML output from the script after changing the
top of the file to

<?php
function getconfigvar() {return '';}
$_SESSION['minutes']=(int)(ini_get("session.gc_maxlifetime")/60);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
// now the rest follows...

so this is no fake OK message. It reallys seems to have something to do
with some very subtle differences in the PHP version or configuration.
Hard to catch, giving up...

OLLi
Remember, when you include the file, it's effectively the same as
copying/pasting the source into the file. IOW, a syntax error (i.e. an
unmatched '"'( can be carried over into the included file.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Nov 22 '07 #16
Oliver Grätz wrote:
Jim Michaels schrieb:
>>>I have a 638 line glob of PHP code & HTML that won't run.
I get "PHP Parse error: syntax error, unexpected '}' in
quiz\\quiz.php on line 594".

Your attachment won't help, the error is not in quiztaker.php but in
quiz.php,

OLLi



I renamed it. I also added more commented-out code.

--

------------------------------------
Jim Michaels
for email, edit the address

"Because we do not understand the brain very well we are constantly
tempted to use the latest technology as a model for trying to understand
it. In my childhood we were always assured that the brain was a
telephone switchboard. ('What else could it be?') I was amused to see
that Sherrington, the great British neuroscientist, thought that the
brain worked like a telegraph system. Freud often compared the brain to
hydraulic and electro-magnetic systems. Leibniz compared it to a mill,
and I am told some of the ancient Greeks thought the brain functions
like a catapult. At present, obviously, the metaphor is the digital
computer." - John R Searls.
Nov 23 '07 #17
Jerry Stuckle wrote:
Oliver Grätz wrote:
>Rik Wasmus schrieb:
>>>Win64,
PHP 5.2.4 (cli) (built: Aug 30 2007 07:06:31),
Parse error: syntax error, unexpected '}' in quiztaker.php on line 648

Weird....
md5_file() =f0fa03b6e3479c5f45ff6f0174ad378d
Yours?
>>php -r "echo md5_file('quiztaker.php')";
f0fa03b6e3479c5f45ff6f0174ad378d

Nope, we're shoveling the same coals into the engine...

And I can even get some HTML output from the script after changing the
top of the file to

<?php
function getconfigvar() {return '';}
$_SESSION['minutes']=(int)(ini_get("session.gc_maxlifetime")/60);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
// now the rest follows...

so this is no fake OK message. It reallys seems to have something to do
with some very subtle differences in the PHP version or configuration.
Hard to catch, giving up...

OLLi

Remember, when you include the file, it's effectively the same as
copying/pasting the source into the file. IOW, a syntax error (i.e. an
unmatched '"'( can be carried over into the included file.
when I edited in dreamweaver 8 I don't think I saw any strings out of place.
I am using 3 different versions of PHP. PHP4 & PHP5 from XAMPP, PHP
5.2.3 CLI win32. ALL fail. all have warnings and errors set to full
blast. with XAMPP, all errors are fed into apache/error.log.

I get some HTML, but it's essentially <body></bodywith nothing in
between. the basic HTML page. I also get an error message about the
curly brace in the error log.
with the win32 version I get the error message straignt out on the
command-line.
I'll try removing sections under a different filename and see what happens.
------------------------------------
Jim Michaels
Nov 23 '07 #18
Jim Michaels wrote:
Jerry Stuckle wrote:
>Oliver Grätz wrote:
>>Rik Wasmus schrieb:
Win64,
PHP 5.2.4 (cli) (built: Aug 30 2007 07:06:31),
Parse error: syntax error, unexpected '}' in quiztaker.php on line 648
>
Weird....
md5_file() =f0fa03b6e3479c5f45ff6f0174ad378d
Yours?

php -r "echo md5_file('quiztaker.php')";
f0fa03b6e3479c5f45ff6f0174ad378d

Nope, we're shoveling the same coals into the engine...

And I can even get some HTML output from the script after changing the
top of the file to

<?php
function getconfigvar() {return '';}
$_SESSION['minutes']=(int)(ini_get("session.gc_maxlifetime")/60);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
// now the rest follows...

so this is no fake OK message. It reallys seems to have something to do
with some very subtle differences in the PHP version or configuration.
Hard to catch, giving up...

OLLi

Remember, when you include the file, it's effectively the same as
copying/pasting the source into the file. IOW, a syntax error (i.e.
an unmatched '"'( can be carried over into the included file.

when I edited in dreamweaver 8 I don't think I saw any strings out of
place.
I am using 3 different versions of PHP. PHP4 & PHP5 from XAMPP, PHP
5.2.3 CLI win32. ALL fail. all have warnings and errors set to full
blast. with XAMPP, all errors are fed into apache/error.log.

I get some HTML, but it's essentially <body></bodywith nothing in
between. the basic HTML page. I also get an error message about the
curly brace in the error log.
with the win32 version I get the error message straignt out on the
command-line.
I'll try removing sections under a different filename and see what happens.
------------------------------------
Jim Michaels
Which says you have a basic syntax error.

Don't trust Dreamweaver (or any other editor) to do your work for you.
They all can make mistakes. And ultimately, YOU are responsible for the
code.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Nov 24 '07 #19
Jim Michaels wrote:
<?php
include 'header.php';
$_SESSION['minutes']=(int)(ini_get("session.gc_maxlifetime")/60);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
...blah...</head>

<body>
<div class="heading">Quiz</div>
<?php
//must have just typed in the URL.
if (!isset($_SESSION['uid']) && !isset($_SESSION['battery_id'])) {
?>
<br /><!--needed because of padding in span -->
<span class="needaccount">You need to register before you can take a
test.</span><br />
<br />
<a href="userlogin.php">Login</a><br />
<a href="ucreateacct.php">Register</a><br />
<?
and there's the culprit. <? instead of <?php
I knew it was not a bracket or quote problem. dreamweaver covers quotes
by making mistakes very visible. the tool I wrote covers brackets. but
dw is supposed to handle generic PHP code, therefore it displays <? the
same as <?PHP. I think this should be an option, because it could make
the difference between your code running or not running - not every
server has short_tags enabled.

and after running the code with the session variables in place, I find
it is still quite buggy due to discovering something very important
missing... time for a rewrite/rethink. ugh. what was I thinking?

anyway, thanks for the help. I wouldn't have gotten this far without a
2nd pair of eyes. thanks again.
------------------------------------
Jim Michaels
for email, edit the address
Nov 24 '07 #20
Jim Michaels schrieb:
>
anyway, thanks for the help. I wouldn't have gotten this far without a
2nd pair of eyes. thanks again.
I tried a lot but in the end you had to find it yourself. Sorry, but I
couldn't make the database calls for you without a copy of the database.

OLLi

--
guy pouring the alcohol away...
"That is a single malt. What kind of a monster are ya?"
[Life on Mars 106]
Nov 24 '07 #21

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Robert Mazur | last post by:
MySQL 5.0 alpha (binary install) on Solaris 9 -or- RedHat 8.0 mysql-connector-java-3.0.8-stable ----------------------- Is there something different going on with JDBC and the alpha version...
1
by: Ken | last post by:
Any thoughts on making explicit calls to unexpected()? My sense is that this function is really intended to be invoked automatically as part of exception handling. Are there times when explicit...
3
by: Teddy | last post by:
Hello all According to "Think in C++ Volume2", the code below should run smoothly: #include <iostream> #include <exception> using namespace std; class ex { };
2
by: Gerhard Esterhuizen | last post by:
Hi, I am observing unexpected behaviour, in the form of a corrupted class member access, from a simple C++ program that accesses an attribute declared in a virtual base class via a chain of...
3
by: Eric Anderson Vianet SAO | last post by:
hello all When i tried ´pg_dump -v -f dump.dmp dtbtransporte´ I got the error: pg_dump: restoring data for table tbdmovimento pg_dump: dumping out the contents of table tbdmovimento ...
5
by: Vijayakrishna Pondala | last post by:
Hi, We are using the following error randomly, when accessing a webservice method/servlet hosted on JBoss application server: The underlying connection was closed: An unexpected error occurred...
5
by: r.nikhilk | last post by:
Hi, Currently, we are porting C++ applications from 32 bit to 64 bit on AIX platform. (The current version of AIX is 5.3 and xlC verison is 8.0). We are able to compile the applications by...
8
by: Jim Michaels | last post by:
C:\prj\quiz\withusers>php tareports.php PHP Parse error: syntax error, unexpected T_ELSE in C:\prj\quiz\withusers\tareports.php on line 205 this is the section of code. if (isset($row4)) {...
3
by: Anup Daware | last post by:
Hi Group, I am facing a strange problem here: I am trying to read xml response from a servlet using XmlTextWriter. I am able to read the read half of the xml and suddenly an exception:...
13
by: bintom | last post by:
I ran the following simple code in C++ and got unexpected results: float f = 139.4; cout << f; Output: 139.399994;
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.