<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Forums Tag: parse error</title>
<link>http://omeka.org/forums/</link>
<description>Forums Tag: parse error</description>
<language>en</language>
<pubDate>Thu, 21 Aug 2008 22:48:22 +0000</pubDate>

<item>
<title>DaveLester on "parse error in core.php at line 14 on installation"</title>
<link>http://omeka.org/forums/topic/parse-error-in-corephp-at-line-14-on-installation#post-283</link>
<pubDate>Wed, 26 Mar 2008 18:37:01 +0000</pubDate>
<dc:creator>DaveLester</dc:creator>
<guid isPermaLink="false">283@http://omeka.org/forums/</guid>
<description>&#60;p&#62;Post continued on another thread:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://omeka.org/forums/topic/sql-error-executing-show-files-like?replies=2&#34; rel=&#34;nofollow&#34;&#62;http://omeka.org/forums/topic/sql-error-executing-show-files-like?replies=2&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>AlanFreeman on "parse error in core.php at line 14 on installation"</title>
<link>http://omeka.org/forums/topic/parse-error-in-corephp-at-line-14-on-installation#post-276</link>
<pubDate>Tue, 25 Mar 2008 19:57:46 +0000</pubDate>
<dc:creator>AlanFreeman</dc:creator>
<guid isPermaLink="false">276@http://omeka.org/forums/</guid>
<description>&#60;p&#62;Right.&#60;/p&#62;
&#60;p&#62;The problem now is the following. I am directed to start the install process. An error is generated as follows (after turning debugging on):&#60;/p&#62;
&#60;p&#62;An error occurred within the following SQL statement: SHOW TABLES LIKE 'omeka_%' Stack Trace: #0 /homepages/18/d84696650/htdocs/Omeka/application/libraries/Zend/Db/Statement.php(109): Zend_Db_Statement_Mysqli-&#38;gt;_prepare('SHOW TABLES LIK...') #1 /homepages/18/d84696650/htdocs/Omeka/application/libraries/Zend/Db/Adapter/Mysqli.php(284): Zend_Db_Statement-&#38;gt;__construct(Object(Zend_Db_Adapter_Mysqli), 'SHOW TABLES LIK...') #2 /homepages/18/d84696650/htdocs/Omeka/application/libraries/Zend/Db/Adapter/Abstract.php(261): Zend_Db_Adapter_Mysqli-&#38;gt;prepare('SHOW TABLES LIK...') #3 /homepages/18/d84696650/htdocs/Omeka/application/libraries/Omeka/Db.php(255): Zend_Db_Adapter_Abstract-&#38;gt;query('SHOW TABLES LIK...', Array) #4 /homepages/18/d84696650/htdocs/Omeka/install/install.php(23): Omeka_Db-&#38;gt;query('SHOW TABLES LIK...') #5 /homepages/18/d84696650/htdocs/Omeka/install/index.php(18): require_once('/homepages/18/d...') #6 {main} Dump of the exception: object(Zend_Db_Statement_Mysqli_Exception)#74 (6) { [&#34;message:protected&#34;]=&#38;gt; string(37) &#34;Mysqli prepare error: Unknown command&#34; [&#34;string:private&#34;]=&#38;gt; string(0) &#34;&#34; [&#34;code:protected&#34;]=&#38;gt; int(0) [&#34;file:protected&#34;]=&#38;gt; string(87) &#34;/homepages/18/d84696650/htdocs/Omeka/application/libraries/Zend/Db/Statement/Mysqli.php&#34; [&#34;line:protected&#34;]=&#38;gt; int(85) [&#34;trace:private&#34;]=&#38;gt; array(6) { [0]=&#38;gt; array(6) { [&#34;file&#34;]=&#38;gt; string(80) &#34;/homepages/18/d84696650/htdocs/Omeka/application/libraries/Zend/Db/Statement.php&#34; [&#34;line&#34;]=&#38;gt; int(109) [&#34;function&#34;]=&#38;gt; string(8) &#34;_prepare&#34; [&#34;class&#34;]=&#38;gt; string(24) &#34;Zend_Db_Statement_Mysqli&#34; [&#34;type&#34;]=&#38;gt; string(2) &#34;-&#38;gt;&#34; [&#34;args&#34;]=&#38;gt; array(1) { [0]=&#38;gt; string(26) &#34;SHOW TABLES LIKE 'omeka_%'&#34; } } [1]=&#38;gt; array(6) { [&#34;file&#34;]=&#38;gt; string(85) &#34;/homepages/18/d84696650/htdocs/Omeka/application/libraries/Zend/Db/Adapter/Mysqli.php&#34; [&#34;line&#34;]=&#38;gt; int(284) [&#34;function&#34;]=&#38;gt; string(11) &#34;__construct&#34; [&#34;class&#34;]=&#38;gt; string(17) &#34;Zend_Db_Statement&#34; [&#34;type&#34;]=&#38;gt; string(2) &#34;-&#38;gt;&#34; [&#34;args&#34;]=&#38;gt; array(2) { [0]=&#38;gt; object(Zend_Db_Adapter_Mysqli)#69 (6) { [&#34;_config:protected&#34;]=&#38;gt; array(6) { [&#34;host&#34;]=&#38;gt; string(21) &#34;db278.oneandone.co.uk&#34; [&#34;username&#34;]=&#38;gt; string(11) &#34;dbo97893408&#34; [&#34;password&#34;]=&#38;gt; string(8) &#34;kreplach&#34; [&#34;dbname&#34;]=&#38;gt; string(10) &#34;db97893408&#34; [&#34;options&#34;]=&#38;gt; array(2) { [&#34;caseFolding&#34;]=&#38;gt; int(0) [&#34;autoQuoteIdentifiers&#34;]=&#38;gt; bool(true) } [&#34;driver_options&#34;]=&#38;gt; array(0) { } } [&#34;_fetchMode:protected&#34;]=&#38;gt; int(2) [&#34;_profiler:protected&#34;]=&#38;gt; object(Zend_Db_Profiler)#70 (4) { [&#34;_queryProfiles:protected&#34;]=&#38;gt; array(0) { } [&#34;_enabled:protected&#34;]=&#38;gt; bool(false) [&#34;_filterElapsedSecs:protected&#34;]=&#38;gt; NULL [&#34;_filterTypes:protected&#34;]=&#38;gt; NULL } [&#34;_connection:protected&#34;]=&#38;gt; object(mysqli)#72 (0) { } [&#34;_caseFolding:protected&#34;]=&#38;gt; int(0) [&#34;_autoQuoteIdentifiers:protected&#34;]=&#38;gt; bool(true) } [1]=&#38;gt; string(26) &#34;SHOW TABLES LIKE 'omeka_%'&#34; } } [2]=&#38;gt; array(6) { [&#34;file&#34;]=&#38;gt; string(87) &#34;/homepages/18/d84696650/htdocs/Omeka/application/libraries/Zend/Db/Adapter/Abstract.php&#34; [&#34;line&#34;]=&#38;gt; int(261) [&#34;function&#34;]=&#38;gt; string(7) &#34;prepare&#34; [&#34;class&#34;]=&#38;gt; string(22) &#34;Zend_Db_Adapter_Mysqli&#34; [&#34;type&#34;]=&#38;gt; string(2) &#34;-&#38;gt;&#34; [&#34;args&#34;]=&#38;gt; array(1) { [0]=&#38;gt; string(26) &#34;SHOW TABLES LIKE 'omeka_%'&#34; } } [3]=&#38;gt; array(6) { [&#34;file&#34;]=&#38;gt; string(71) &#34;/homepages/18/d84696650/htdocs/Omeka/application/libraries/Omeka/Db.php&#34; [&#34;line&#34;]=&#38;gt; int(255) [&#34;function&#34;]=&#38;gt; string(5) &#34;query&#34; [&#34;class&#34;]=&#38;gt; string(24) &#34;Zend_Db_Adapter_Abstract&#34; [&#34;type&#34;]=&#38;gt; string(2) &#34;-&#38;gt;&#34; [&#34;args&#34;]=&#38;gt; array(2) { [0]=&#38;gt; string(26) &#34;SHOW TABLES LIKE 'omeka_%'&#34; [1]=&#38;gt; array(0) { } } } [4]=&#38;gt; array(6) { [&#34;file&#34;]=&#38;gt; string(56) &#34;/homepages/18/d84696650/htdocs/Omeka/install/install.php&#34; [&#34;line&#34;]=&#38;gt; int(23) [&#34;function&#34;]=&#38;gt; string(5) &#34;query&#34; [&#34;class&#34;]=&#38;gt; string(8) &#34;Omeka_Db&#34; [&#34;type&#34;]=&#38;gt; string(2) &#34;-&#38;gt;&#34; [&#34;args&#34;]=&#38;gt; array(1) { [0]=&#38;gt; &#38;#38;string(26) &#34;SHOW TABLES LIKE 'omeka_%'&#34; } } [5]=&#38;gt; array(4) { [&#34;file&#34;]=&#38;gt; string(54) &#34;/homepages/18/d84696650/htdocs/Omeka/install/index.php&#34; [&#34;line&#34;]=&#38;gt; int(18) [&#34;args&#34;]=&#38;gt; array(1) { [0]=&#38;gt; string(56) &#34;/homepages/18/d84696650/htdocs/Omeka/install/install.php&#34; } [&#34;function&#34;]=&#38;gt; string(12) &#34;require_once&#34; } } }&#60;/p&#62;
&#60;p&#62;Please refer to Omeka documentation for help.&#60;/p&#62;
&#60;p&#62;AF: the statement&#60;br /&#62;
         SHOW TABLES LIKE 'omeka_%'&#60;br /&#62;
works fine from within PhPMyAdmin
&#60;/p&#62;</description>
</item>
<item>
<title>AlanFreeman on "parse error in core.php at line 14 on installation"</title>
<link>http://omeka.org/forums/topic/parse-error-in-corephp-at-line-14-on-installation#post-275</link>
<pubDate>Tue, 25 Mar 2008 19:25:18 +0000</pubDate>
<dc:creator>AlanFreeman</dc:creator>
<guid isPermaLink="false">275@http://omeka.org/forums/</guid>
<description>&#60;p&#62;The problem is caused because 1&#38;#38;1 runs both PhP4 and PhP5 in parallel, and PhP4 is chosen by default.&#60;/p&#62;
&#60;p&#62;1&#38;#38;1 FAQ says that code can be forced to run as PhP5 in one of two ways:&#60;/p&#62;
&#60;p&#62;(1) if the php code itself has the extension .php5&#60;br /&#62;
(2) if the following line is added to the .htaccess file:&#60;br /&#62;
     AddType x-mapp-php5 .php&#60;/p&#62;
&#60;p&#62;When I put this line in the .htaccess for the root, the installation process starts correctly (though it generates errors further on - I will check whether additional htaccess files are needed in subdirectories or includes)&#60;/p&#62;
&#60;p&#62;This seems to me of general interest - there must be quite a few servers running 2 versions of PhP.&#60;/p&#62;
&#60;p&#62;A
&#60;/p&#62;</description>
</item>
<item>
<title>AlanFreeman on "parse error in core.php at line 14 on installation"</title>
<link>http://omeka.org/forums/topic/parse-error-in-corephp-at-line-14-on-installation#post-274</link>
<pubDate>Tue, 25 Mar 2008 18:26:51 +0000</pubDate>
<dc:creator>AlanFreeman</dc:creator>
<guid isPermaLink="false">274@http://omeka.org/forums/</guid>
<description>&#60;p&#62;OK I checked with 1&#38;#38;1 - apparently although my package does include PhP5, because I started my subscription before it was introduced, I do not have access to it. I'll work this out with them and then try again.&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
A
&#60;/p&#62;</description>
</item>
<item>
<title>DaveLester on "parse error in core.php at line 14 on installation"</title>
<link>http://omeka.org/forums/topic/parse-error-in-corephp-at-line-14-on-installation#post-267</link>
<pubDate>Tue, 25 Mar 2008 04:58:30 +0000</pubDate>
<dc:creator>DaveLester</dc:creator>
<guid isPermaLink="false">267@http://omeka.org/forums/</guid>
<description>&#60;p&#62;That's causing your problems.  I checked the 1&#38;#38;1 hosting website, and they &#60;em&#62;do&#60;/em&#62; support PHP4,PHP5.  Without using 1&#38;#38;1 personally, i know many shared hosting services allow you to change your PHP version in an admin panel, or by contacting their staff.  Good luck.
&#60;/p&#62;</description>
</item>
<item>
<title>AlanFreeman on "parse error in core.php at line 14 on installation"</title>
<link>http://omeka.org/forums/topic/parse-error-in-corephp-at-line-14-on-installation#post-266</link>
<pubDate>Tue, 25 Mar 2008 04:50:12 +0000</pubDate>
<dc:creator>AlanFreeman</dc:creator>
<guid isPermaLink="false">266@http://omeka.org/forums/</guid>
<description>&#60;p&#62;My PhP version is 4.4.8.&#60;br /&#62;
Can I run Omeka on this version?&#60;br /&#62;
Is it possible that this is the cause of the problem?&#60;/p&#62;
&#60;p&#62;A
&#60;/p&#62;</description>
</item>
<item>
<title>DaveLester on "parse error in core.php at line 14 on installation"</title>
<link>http://omeka.org/forums/topic/parse-error-in-corephp-at-line-14-on-installation#post-261</link>
<pubDate>Mon, 24 Mar 2008 22:00:53 +0000</pubDate>
<dc:creator>DaveLester</dc:creator>
<guid isPermaLink="false">261@http://omeka.org/forums/</guid>
<description>&#60;p&#62;Hi Alan, what version of Omeka are you running?
&#60;/p&#62;</description>
</item>
<item>
<title>AlanFreeman on "parse error in core.php at line 14 on installation"</title>
<link>http://omeka.org/forums/topic/parse-error-in-corephp-at-line-14-on-installation#post-254</link>
<pubDate>Mon, 24 Mar 2008 02:29:49 +0000</pubDate>
<dc:creator>AlanFreeman</dc:creator>
<guid isPermaLink="false">254@http://omeka.org/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I get the following error on installation:&#60;/p&#62;
&#60;p&#62;&#34;&#60;br /&#62;
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/18/d84696650/htdocs/Omeka/application/libraries/Omeka/Core.php on line 14&#60;br /&#62;
&#34;&#60;/p&#62;
&#60;p&#62;My ISP is 1&#38;#38;1, a german-based company&#60;/p&#62;
&#60;p&#62;Any advice would be welcome&#60;/p&#62;
&#60;p&#62;Alan
&#60;/p&#62;</description>
</item>
<item>
<title>veehikle on "Parse Error: unexpected '{' when trying to install"</title>
<link>http://omeka.org/forums/topic/parse-error-unexpected-when-trying-to-install#post-172</link>
<pubDate>Thu, 28 Feb 2008 12:25:41 +0000</pubDate>
<dc:creator>veehikle</dc:creator>
<guid isPermaLink="false">172@http://omeka.org/forums/</guid>
<description>&#60;p&#62;That fixed it....and it installed fine. We're up and running with the pilot...&#60;/p&#62;
&#60;p&#62;We're now running on PHP 5.x.&#60;/p&#62;
&#60;p&#62;Now I have to go and see what else broke out there on the site!
&#60;/p&#62;</description>
</item>
<item>
<title>djweinstein on "Parse Error: unexpected '{' when trying to install"</title>
<link>http://omeka.org/forums/topic/parse-error-unexpected-when-trying-to-install#post-169</link>
<pubDate>Thu, 28 Feb 2008 05:38:00 +0000</pubDate>
<dc:creator>djweinstein</dc:creator>
<guid isPermaLink="false">169@http://omeka.org/forums/</guid>
<description>&#60;p&#62;I received the following error message after transferring Omeka to a server running PHP 5.2:&#60;/p&#62;
&#60;p&#62;Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /nfsn/content/teaching/public/omeka/application/libraries/Omeka/Core.php on line 14&#60;/p&#62;
&#60;p&#62;Thoughts?
&#60;/p&#62;</description>
</item>
<item>
<title>KrisKelly on "Parse Error: unexpected '{' when trying to install"</title>
<link>http://omeka.org/forums/topic/parse-error-unexpected-when-trying-to-install#post-167</link>
<pubDate>Thu, 28 Feb 2008 02:37:40 +0000</pubDate>
<dc:creator>KrisKelly</dc:creator>
<guid isPermaLink="false">167@http://omeka.org/forums/</guid>
<description>&#60;p&#62;Could you do me a huge favor and double check that you have PHP5 enabled?  The 'try' keyword only works in PHP5 so it would cause a fatal error if you didn't have the right version of PHP installed on your web host.
&#60;/p&#62;</description>
</item>
<item>
<title>veehikle on "Parse Error: unexpected '{' when trying to install"</title>
<link>http://omeka.org/forums/topic/parse-error-unexpected-when-trying-to-install#post-165</link>
<pubDate>Wed, 27 Feb 2008 23:30:36 +0000</pubDate>
<dc:creator>veehikle</dc:creator>
<guid isPermaLink="false">165@http://omeka.org/forums/</guid>
<description>&#60;p&#62;Got the following error when I began to install...&#60;/p&#62;
&#60;p&#62;All directories were installed on the server&#60;br /&#62;
MySQL 5 Server setup&#60;br /&#62;
Linux/appache&#60;br /&#62;
Using FTP Leech for the uploads&#60;br /&#62;
Confirmed the access permissions on the directories.&#60;/p&#62;
&#60;p&#62;Here's the error...&#60;br /&#62;
&#60;a href=&#34;http://www.historicalsocietyofsomersethills.org/omeka/install/&#34; rel=&#34;nofollow&#34;&#62;http://www.historicalsocietyofsomersethills.org/omeka/install/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Parse error: parse error, unexpected '{' in /home/content/v/e/e/veehikle1/html/omeka/install/install.php on line 16&#60;/p&#62;
&#60;p&#62;If I go look at the file.....(install.php)&#60;/p&#62;
&#60;p&#62;try {&#60;br /&#62;
    $db = $core-&#38;gt;getDb();&#60;/p&#62;
&#60;p&#62;	//Build the database if necessary&#60;br /&#62;
	$show_tables_sql = &#34;SHOW TABLES&#34;;&#60;br /&#62;
	//Ensure that we don't confuse Omeka if there are already tables in the DB&#60;br /&#62;
	if($db-&#38;gt;prefix) $show_tables_sql .= &#34; LIKE '$db-&#38;gt;prefix%'&#34;;&#60;br /&#62;
	$res = $db-&#38;gt;query($show_tables_sql);&#60;br /&#62;
	$tables = $res-&#38;gt;fetchAll();&#60;br /&#62;
line 16 is the try comment....&#60;/p&#62;
&#60;p&#62;Any ideas...?&#60;br /&#62;
Not a real computer geek...but I'm willing to learn....
&#60;/p&#62;</description>
</item>
<item>
<title>DaveLester on "Parse Error"</title>
<link>http://omeka.org/forums/topic/parse-error#post-48</link>
<pubDate>Mon, 26 Nov 2007 16:47:50 +0000</pubDate>
<dc:creator>DaveLester</dc:creator>
<guid isPermaLink="false">48@http://omeka.org/forums/</guid>
<description>&#60;p&#62;Great to see this has been resolved.  When I had a similar upgrade, Bluehost didn’t edit my php.ini file for me, so I had to manually make the following revisions:&#60;/p&#62;
&#60;p&#62;Replace: extension_dir = &#34;./&#34; with extension_dir = &#34;/usr/lib/php/extensions/no-debug-non-zts-20050922/&#34;&#60;br /&#62;
Add: extension=pdo.so&#60;br /&#62;
Add: extension=pdo_mysql.so&#60;/p&#62;
&#60;p&#62;Users who still see the parse error should double check they're using PHP5 -- earlier versions will spit out that error in RC3; we'll be adding in a check for this in future releases.
&#60;/p&#62;</description>
</item>
<item>
<title>MarjorieMcLellan on "Parse Error"</title>
<link>http://omeka.org/forums/topic/parse-error#post-47</link>
<pubDate>Mon, 26 Nov 2007 13:30:54 +0000</pubDate>
<dc:creator>MarjorieMcLellan</dc:creator>
<guid isPermaLink="false">47@http://omeka.org/forums/</guid>
<description>&#60;p&#62;From Bluehost:&#60;br /&#62;
This is now working. The extensions are not installed by default and they were not installed on the server so I installed them and edited your php.ini file accordingly.   &#60;/p&#62;
&#60;p&#62;Brett&#60;br /&#62;
Technical Support Specialist Level 3&#60;br /&#62;
BlueHost.com&#60;br /&#62;
888.401.4678&#60;/p&#62;
&#60;p&#62;Most questions can be answered by articles in our forum, knowledgebase, and video tutorials:&#60;br /&#62;
Forum:                &#60;a href=&#34;http://www.bluehostforum.com&#34; rel=&#34;nofollow&#34;&#62;http://www.bluehostforum.com&#60;/a&#62;&#60;br /&#62;
Knowledgebase:        &#60;a href=&#34;http://helpdesk.bluehost.com/kb/&#34; rel=&#34;nofollow&#34;&#62;http://helpdesk.bluehost.com/kb/&#60;/a&#62;&#60;br /&#62;
Tutorials:            &#60;a href=&#34;http://www.bluehost.com/tutorials/&#34; rel=&#34;nofollow&#34;&#62;http://www.bluehost.com/tutorials/&#60;/a&#62;&#60;br /&#62;
Server Status:        &#60;a href=&#34;http://serverstatus.bluehost.com/&#34; rel=&#34;nofollow&#34;&#62;http://serverstatus.bluehost.com/&#60;/a&#62;&#60;br /&#62;
When you have a new questions or issue, please open a new support ticket.
&#60;/p&#62;</description>
</item>
<item>
<title>DaveLester on "Parse Error"</title>
<link>http://omeka.org/forums/topic/parse-error#post-46</link>
<pubDate>Sun, 25 Nov 2007 22:32:53 +0000</pubDate>
<dc:creator>DaveLester</dc:creator>
<guid isPermaLink="false">46@http://omeka.org/forums/</guid>
<description>&#60;p&#62;Thanks for directly pasting your exchanges with Bluehost into the forum, I hope it will clarify this for others in the future.&#60;/p&#62;
&#60;p&#62;We currently list PHP 5.2.x as a system requirement, however we’re working on an overhaul of our database connections in the core code which will lower that requirement to 5.1.4 once completed – possibly by next month. Omeka should work on earlier versions, but there may be some bugs that may otherwise pop up.  Our test environments have primarily been on 5.2.x, so it’d be helpful to hear from a variety of users who use PHP 5 but 5.1.x.&#60;/p&#62;
&#60;p&#62;The PHPinfo file is perfect – the first place I should have directed you.  Other users who want to see a similar page should create a new php text file, with the following code:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;?php phpinfo(); ?&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;You have PHP version 5 installed, however only the sqlite2 driver is listed as enabled.  Omeka requires that the mysql driver be enabled.  When contacting support, you can ask them to install the PDO_MySQL module. &#60;a href=&#34;http://pecl.php.net/package/PDO_MYSQL&#34; rel=&#34;nofollow&#34;&#62;http://pecl.php.net/package/PDO_MYSQL&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Good luck!
&#60;/p&#62;</description>
</item>
<item>
<title>MarjorieMcLellan on "Parse Error"</title>
<link>http://omeka.org/forums/topic/parse-error#post-45</link>
<pubDate>Sun, 25 Nov 2007 04:15:14 +0000</pubDate>
<dc:creator>MarjorieMcLellan</dc:creator>
<guid isPermaLink="false">45@http://omeka.org/forums/</guid>
<description>&#60;p&#62;I checked with our web designer.  I've pasted his feedback below. I did read the omeka server requirements to a bluehost  tech before setting up the account and he said that they were ok. &#60;/p&#62;
&#60;p&#62;Margie&#60;/p&#62;
&#60;p&#62;I put a file in your site that gives a list&#60;br /&#62;
of everything you'd want to know about the version and configuration of php&#60;br /&#62;
and related apps. Go here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://daytonstories.org/phpinfo.php&#34; rel=&#34;nofollow&#34;&#62;http://daytonstories.org/phpinfo.php&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You'll see at the top that you now have php version 5.1.6. That may be the&#60;br /&#62;
problem right there since the system requirements for Omeka call for version&#60;br /&#62;
5.2.x or greater. The good news is that if you scroll down the page a bit,&#60;br /&#62;
you will see that PDO is enabled. Also, the version of MySQL is up to snuff.&#60;/p&#62;
&#60;p&#62;So, my question for Omeka would be whether php version 5.1.6 could be the&#60;br /&#62;
culprit. My question for Bluehost is whether they can host your site with&#60;br /&#62;
php 5.2.x.&#60;/p&#62;
&#60;p&#62;By the way, php version 5.2.1 was released in February and the latest&#60;br /&#62;
version is 5.2.5. The Bluehost guy said that upgrading the php version&#60;br /&#62;
sometimes causes old scripts to break. So I wouldn't be surprised if they&#60;br /&#62;
balk. But I sure hope they can accommodate you.
&#60;/p&#62;</description>
</item>
<item>
<title>MarjorieMcLellan on "Parse Error"</title>
<link>http://omeka.org/forums/topic/parse-error#post-44</link>
<pubDate>Sat, 24 Nov 2007 23:33:14 +0000</pubDate>
<dc:creator>MarjorieMcLellan</dc:creator>
<guid isPermaLink="false">44@http://omeka.org/forums/</guid>
<description>&#60;p&#62;OK.  I received this message from bluehost:&#60;br /&#62;
Your account has been migrated to a server running PHP 5/ MySQL 5.&#60;/p&#62;
&#60;p&#62;Now, when I go to the page, &#60;a href=&#34;http://www.daytonstories.org/omeka,&#34; rel=&#34;nofollow&#34;&#62;http://www.daytonstories.org/omeka,&#60;/a&#62;&#60;br /&#62;
It invites me to proceed with installing Omeka. However, the next screen says:&#60;/p&#62;
&#60;p&#62;&#34;could not find driver&#34;&#60;/p&#62;
&#60;p&#62;Margie
&#60;/p&#62;</description>
</item>
<item>
<title>MarjorieMcLellan on "Parse Error"</title>
<link>http://omeka.org/forums/topic/parse-error#post-43</link>
<pubDate>Sat, 24 Nov 2007 20:38:02 +0000</pubDate>
<dc:creator>MarjorieMcLellan</dc:creator>
<guid isPermaLink="false">43@http://omeka.org/forums/</guid>
<description>&#60;p&#62;Dave,&#60;/p&#62;
&#60;p&#62;Thanks for the quick reply. I got an interesting response to my help ticket inquiry.  As you read this, keep in mind that my bluehost account was set up only 2 weeks ago and that the omeka application was the first thing that I tried to set up on it.  I've backed it all up and ok'd migrating my account as proposed below.  I thought you would like to have this information; I'll let you know how it goes.&#60;/p&#62;
&#60;p&#62;Margie&#60;br /&#62;
___________&#60;/p&#62;
&#60;p&#62;Marjorie,&#60;/p&#62;
&#60;p&#62;I have a different take on this issue. The reason you don't have PDO is because you've been with us so long that you still have a PHP4 server. All newer PHP5 servers come with PDO built-in. To confirm this, I just had an administrator try installing PDO, and he got this error:&#60;/p&#62;
&#60;p&#62;    pecl/PDO requires PHP (version &#38;gt;= 5.0.3), installed version is 4.4.7&#60;/p&#62;
&#60;p&#62;We don't arbitrarily upgrade PHP4 servers to PHP5 because some older scripts are not compatible with PHP5. If you would like to try PHP5, we will move your account to a server with PHP 5 installed. Your site will be down up to 24 hours for DNS propagation.  Also before we proceed with the move we want to make sure you have a backup of all your files because there is a small chance of data corruption with a server move. To proceed, please respond with the time to initiate the migration, as well as the password for your account OR the last 4 digits of your credit card, for verification purposes. &#60;/p&#62;
&#60;p&#62;Thank you,&#60;/p&#62;
&#60;p&#62;Roger Brown
&#60;/p&#62;</description>
</item>
<item>
<title>DaveLester on "Parse Error"</title>
<link>http://omeka.org/forums/topic/parse-error#post-42</link>
<pubDate>Sat, 24 Nov 2007 07:58:25 +0000</pubDate>
<dc:creator>DaveLester</dc:creator>
<guid isPermaLink="false">42@http://omeka.org/forums/</guid>
<description>&#60;p&#62;Hi Marjorie,&#60;/p&#62;
&#60;p&#62;Thanks for posting this question on the forums.  I’ve had my personal website hosted by Bluehost for several years, so I can hopefully point you in the right direction.&#60;/p&#62;
&#60;p&#62;Omeka uses PDO, which provides a data-access abstraction layer packaged with PHP and enabled by default.   We need this to make the necessary database connections, edits, and additions.  For some reason, Bluehost has a policy of disabling PDO on all their servers by default, but is willing to change the setting for users who need this functionality.  At this time, Omeka requires PDO to run smoothly.&#60;/p&#62;
&#60;p&#62;It’s likely that you don’t PDO enabled already for your Bluehost account.  To double check or make such a request, visit the Bluehost Helpdesk (http://helpdesk.bluehost.com/help) and open a ticket.  Based upon my research, most if not all other shared hosts including Dreamhost keep PDO enabled; Bluehost remains an odd exception.&#60;/p&#62;
&#60;p&#62;The parse error you’re experiencing in the core file is related to the PDO connection, so I’d start troubleshooting there.  However, without PDO a message should appear that says &#34;could not find driver,&#34; rather than giving a fatal error.  Is it possible you also edited the core file by accident, or removed one of the necessary quotes from the db.ini file?  There shouldn’t be a parsing error, and I can’t replicate it.  If it persists, we’ll have to dig a little deeper.
&#60;/p&#62;</description>
</item>
<item>
<title>MarjorieMcLellan on "Parse Error"</title>
<link>http://omeka.org/forums/topic/parse-error#post-41</link>
<pubDate>Thu, 22 Nov 2007 18:21:47 +0000</pubDate>
<dc:creator>MarjorieMcLellan</dc:creator>
<guid isPermaLink="false">41@http://omeka.org/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;We've just installed omeka on our server, but we're getting a parse error that says:&#60;/p&#62;
&#60;p&#62;&#34;Parse error: syntax error, unexpected '{' in /home/daytonst/public_html/omeka/core.php on line 21&#34;&#60;/p&#62;
&#60;p&#62;So far we've installed the omeka folder on our bluehost webserver and setup an empty database with a username and password and entered that information into the db.ini file. I checked to make sure mod_rewrite was enabled and it is. Also, all of the Omeka files have permissions set to either 0755 or 0644.&#60;/p&#62;
&#60;p&#62;Thank you for assistance with this.&#60;/p&#62;
&#60;p&#62;Marjorie McLellan
&#60;/p&#62;</description>
</item>

</channel>
</rss>
