<?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 Topic: parse error in core.php at line 14 on installation</title>
<link>http://omeka.org/forums/</link>
<description>Forums Topic: parse error in core.php at line 14 on installation</description>
<language>en</language>
<pubDate>Fri, 09 Jan 2009 22:20:59 +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 13: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 14: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 14: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 13: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>Mon, 24 Mar 2008 23: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>Mon, 24 Mar 2008 23: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 17: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>Sun, 23 Mar 2008 21: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>

</channel>
</rss>
