ballhogjoni Posted June 6, 2007 Share Posted June 6, 2007 I am getting this error: Parse error: syntax error, unexpected ')', expecting '(' in /home/realfina/public_html/tests/cvlsofttest/alert.php on line 27 //line 27 $this->V91c7ec= new GtkDialog('Prompt', null, Gtk::DIALOG_MODAL); Quote Link to comment https://forums.phpfreaks.com/topic/54446-syntax-error-unexpected-expecting-in/ Share on other sites More sharing options...
Lumio Posted June 6, 2007 Share Posted June 6, 2007 Is GtkDialog a function or a class? If it's a function you don't need new If it's a class remove the rest. If that didn't fix that error please show us more code. Quote Link to comment https://forums.phpfreaks.com/topic/54446-syntax-error-unexpected-expecting-in/#findComment-269364 Share on other sites More sharing options...
ballhogjoni Posted June 6, 2007 Author Share Posted June 6, 2007 I have to have php 5.0 to run this, I believe. Quote Link to comment https://forums.phpfreaks.com/topic/54446-syntax-error-unexpected-expecting-in/#findComment-269366 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.