Recent Posts of Frog CMS in Parse error: syntax error, unexpected ',', expecting '(' in ...index.php on line 26 http://forum.madebyfrog.com/rss en-us 25 Parse error: syntax error, unexpected ',', expecting '(' in ...index.php on line 26 <p>Thank you David! Yes, Media Temple sets everything to PHP4 by default. Had to change it to PHP5. Now it's working. Finally got around to deploying my first frog site :)</p> Sun, 01 Jun 2008 07:05:50 +0000 http://forum.madebyfrog.com/topic/302?page=1#post_1466 ricks http://forum.madebyfrog.com/topic/302?page=1#post_1466 Parse error: syntax error, unexpected ',', expecting '(' in ...index.php on line 26 <p>It must be PHP5+. Frog will not work with any earlier versions. Definitely check that out! Most ISPs, I think, now at least give the choice of PHP4 or 5. Frog needs <strong>5</strong>!</p> Sat, 31 May 2008 17:09:58 +0000 http://forum.madebyfrog.com/topic/302?page=1#post_1463 David http://forum.madebyfrog.com/topic/302?page=1#post_1463 Parse error: syntax error, unexpected ',', expecting '(' in ...index.php on line 26 <p>thanks for the suggestion, david. but it doesn't work. i guess because it's a parse error it doesn't matter if the code is actually called or not.</p> <p>i also set the rewritebase to what you have, and that didn't help either.</p> <p>is a PHP version thing? does frog not work on every version? not sure what media temple has installed...</p> Sat, 31 May 2008 15:14:53 +0000 http://forum.madebyfrog.com/topic/302?page=1#post_1462 ricks http://forum.madebyfrog.com/topic/302?page=1#post_1462 Parse error: syntax error, unexpected ',', expecting '(' in ...index.php on line 26 <p>Hi Ricks -- that's an odd one. I would try this: check the config.php file for these lines:</p> <pre><code>// if your server doesn't have PDO (with MySQL driver) set the below to false define('USE_PDO', false); </code></pre> <p>If you have "true", try changing it to "false"... See how that goes. My .htaccess "rewrite" line looks like this, btw:</p> <pre><code>RewriteBase / </code></pre> <p>Hope that helps! Let us know how it goes...</p> Sat, 31 May 2008 06:43:26 +0000 http://forum.madebyfrog.com/topic/302?page=1#post_1461 David http://forum.madebyfrog.com/topic/302?page=1#post_1461 Parse error: syntax error, unexpected ',', expecting '(' in ...index.php on line 26 <p>i suspect it might have somethign to do with the config.php or hte .htaccess but i'm not sure what. maybe i set somethig wrong. what should the rewrite base look like? i have it like this: RewriteBase //</p> Sat, 31 May 2008 02:09:12 +0000 http://forum.madebyfrog.com/topic/302?page=1#post_1457 ricks http://forum.madebyfrog.com/topic/302?page=1#post_1457 Parse error: syntax error, unexpected ',', expecting '(' in ...index.php on line 26 <p>it was working fine on localhost, then i uploaded it to media temple and got this syntax error. doesn't make sense to me why there would be a syntax error. the line in question (line 26) is: $<strong>FROG_CONN</strong>-&gt;setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, true);</p> Sat, 31 May 2008 02:04:01 +0000 http://forum.madebyfrog.com/topic/302?page=1#post_1456 ricks http://forum.madebyfrog.com/topic/302?page=1#post_1456 Parse error: syntax error, unexpected ',', expecting '(' in ...index.php on line 26 <p>Did anyone else have this problem?</p> Sat, 31 May 2008 02:01:24 +0000 http://forum.madebyfrog.com/topic/302?page=1#post_1455 ricks http://forum.madebyfrog.com/topic/302?page=1#post_1455