PHP 5.4 errors

General bug reports for the Archon software.

Moderators: paulnsorensen, kylefox2, prom, rishel

PHP 5.4 errors

Postby beltramie » Thu Nov 29, 2012 5:39 pm

Archon users at Colorado State University Pueblo have discovered that Archon version 3.21 rev-1 when used on a server with PHP version 5.4.3 or higher will not display collection content children on the public side beyond the top most level. For instance, a collection that has the following structure:
Series 1/Sub-series 1/Folder 1/Item 1
Series 2/Sub-series 1/Item 1

Will only show Series 1 and 2 to the public, not any of the child sub-series, folders and items in that collection. On the admin side all children are displayed fine.

They downgraded their version of PHP to 5.3.13 and now all the collection content is displaying correctly. See the following post
viewtopic.php?f=5&t=1310&p=3661#p3661
beltramie
 
Posts: 157
Joined: Mon Feb 16, 2009 3:58 pm
Location: Carleton College, Northfield MN

Re: PHP 5.4 errors

Postby prom » Fri Nov 30, 2012 4:18 pm

Thanks, We'll look into this. Is it providing any kind of error message?
Chris Prom
Assistant University Archivist
Archon co-Project Director
217 333 0798
prom
 
Posts: 144
Joined: Thu Sep 13, 2007 8:57 am
Location: U Illinois

Re: PHP 5.4 errors

Postby bellaa » Mon Feb 11, 2013 2:41 am

Oh thank you so much, beltramie!!! It works perfectly now!
http://www.gotapparel.com/m-32-bella.aspx
Last edited by bellaa on Mon Apr 15, 2013 12:10 am, edited 2 times in total.
bellaa
 
Posts: 1
Joined: Mon Feb 11, 2013 2:29 am

Re: PHP 5.4 errors

Postby HarrisRobin » Sat Mar 09, 2013 1:29 am

It was perfectly working. There is no such error and its working fine.

http://www.seloger.com/annuaire/agences/75/
HarrisRobin
 
Posts: 1
Joined: Sat Mar 09, 2013 1:24 am
Location: 20085 Richard Ln, Ellendale, DE 19941

Re: PHP 5.4 errors

Postby kdriscol » Mon May 20, 2013 4:28 pm

I am running Archon-3.21 rev-1 and our security group just requested that we update php so I update to php-5.4.15-1 from php-5.3.2-1

I am now filling the logs with PHP Strict Standards errors when accessing our archon site. The site pulls up but as beltramie noted it does not display collection content children on the public site.
To satisfy our security group I would like to stay at the latest version of php. What am I missing? Can this be fixed with the 5.4 version of php?

A sample of the errors from the error_log file:
[Mon May 20 17:25:09 2013] [error] [client 130.218.102.39] PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/MDB2/Driver/mysql.php on line 1426
[Mon May 20 17:25:09 2013] [error] [client 130.218.102.39] PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/MDB2/Driver/Datatype/Common.php on line 1121
[Mon May 20 17:25:09 2013] [error] [client 130.218.102.39] PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/MDB2/Driver/mysql.php on line 1421
[Mon May 20 17:25:09 2013] [error] [client 130.218.102.39] PHP Warning: Creating default object from empty value in /var/www/html/packages/core/lib/archonobject.inc.php on line 198
[Mon May 20 17:25:09 2013] [error] [client 130.218.102.39] PHP Strict Standards: Non-static method Core_QueryLog::logQuery() should not be called statically, assuming $this from incompatible context in /var/www/html/packages/core/lib/archonobject.inc.php(216) : eval()'d code on line 1
[Mon May 20 17:25:09 2013] [error] [client 130.218.102.39] PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/MDB2/Driver/mysql.php on line 1426
[Mon May 20 17:25:09 2013] [error] [client 130.218.102.39] PHP Warning: Creating default object from empty value in /var/www/html/packages/core/lib/archonobject.inc.php on line 198
[Mon May 20 17:25:09 2013] [error] [client 130.218.102.39] PHP Strict Standards: Non-static method Core_QueryLog::logQuery() should not be called statically, assuming $this from incompatible context in /var/www/html/packages/core/lib/archonobject.inc.php(216) : eval()'d code on line 1
[Mon May 20 17:25:09 2013] [error] [client 130.218.102.39] PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/MDB2/Driver/mysql.php on line 1434
[Mon May 20 17:25:09 2013] [error] [client 130.218.102.39] PHP Strict Standards: Non-static method MDB2::classExists() should not be called statically, assuming $this from incompatible context in /usr/share/pear/MDB2.php on line 2567
[Mon May 20 17:25:09 2013] [error] [client 130.218.102.39] PHP Strict Standards: Non-static method MDB2::isResultCommon() should not be called statically, assuming $this from incompatible context in /usr/share/pear/MDB2.php on line 2573
[Mon May 20 17:25:09 2013] [error] [client 130.218.102.39] PHP Strict Standards: Non-static method PEAR::isError() should not be called statically in /var/www/html/packages/core/lib/phrase.inc.php on line 187
kdriscol
 
Posts: 2
Joined: Fri Jun 08, 2012 2:05 pm

Re: PHP 5.4 errors

Postby Sagi » Fri Jul 26, 2013 2:23 pm

I am having a similar problem with PHP 5.4.17. I am on a Windows 2003 server, using apache 2.4.6. PHP5.5 no longer supports Windows 2003 Server. In saying this, I cannot yet upgrade to PHP 5.5, however the IT director will not allow a downgrade of PHP to version 5.3.13. Is there any other work around to this? I am using the latest version of Archon 3.21 rev1.

Thanks

EDIT- UPDATE: In the meantime, decided to downgrade the PHP, using version 5.3.27 and Archon seems to be working fine.
Sagi
 
Posts: 4
Joined: Tue Aug 07, 2012 12:37 pm


Return to Archon Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron