OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



problems w/ php 4.4.0 and OJS 2.0.1

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

problems w/ php 4.4.0 and OJS 2.0.1

Postby ripnix » Fri Jul 22, 2005 2:51 am

Hello again. I've just upgraded my php version to 4.4.0 from the FreeBSD ports tree, as usual, and i'm getting a lot of notices like:

"Only variable references should be returned by reference in... [file] line [lineno]"

Code: Select all
Notice: Only variable references should be returned by reference in /usr/home/mysite/public_html/journal/classes/db/DAO.inc.php on line 46
 
 Notice: Only variables should be assigned by reference in /usr/home/mysite/public_html/journal/classes/session/SessionManager.inc.php on line 145
 
 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /usr/home/mysite/public_html/journal/classes/db/DAO.inc.php:46) in /usr/home/mysite/public_html/journal/classes/session/SessionManager.inc.php on line 56
 
 Notice: Only variable references should be returned by reference in /usr/home/mysite/public_html/journal/classes/core/DataObject.inc.php on line 44
 
 Notice: Only variables should be assigned by reference in /usr/home/mysite/public_html/journal/index.php on line 36
 
 Notice: Only variable references should be returned by reference in /usr/home/mysite/public_html/journal/classes/db/DAO.inc.php on line 46
 
 Notice: Only variable references should be returned by reference in /usr/home/mysite/public_html/journal/classes/site/SiteDAO.inc.php on line 41
 
 Notice: Only variable references should be returned by reference in /usr/home/mysite/public_html/journal/classes/core/DataObject.inc.php on line 44
 
 Notice: Only variable references should be returned by reference in /usr/home/mysite/public_html/journal/classes/db/DAO.inc.php on line 46
 
 Notice: Only variable references should be returned by reference in /usr/home/mysite/public_html/journal/classes/site/SiteDAO.inc.php on line 41
 
 Notice: Only variable references should be returned by reference in /usr/home/mysite/public_html/journal/classes/core/DataObject.inc.php on line 44
 
 Notice: Only variable references should be returned by reference in /usr/home/mysite/public_html/journal/classes/db/DAO.inc.php on line 46
 
 Notice: Only variable references should be returned by reference in /usr/home/mysite/public_html/journal/classes/journal/JournalDAO.inc.php on line 194
 
 Warning: Cannot modify header information - headers already sent by (output started at /usr/home/mysite/public_html/journal/classes/db/DAO.inc.php:46) in /usr/home/mysite/public_html/journal/classes/template/TemplateManager.inc.php on line 152
 
 Notice: Only variable references should be returned by reference in /usr/home/mysite/public_html/journal/classes/core/Registry.inc.php on line 35


I'm testing OJS using MySQL and postgreSQL. These error messages are for postgreSQL installation, but from what could see the errors are the same for MySQL.
Could anyone help me?
Thank you,

Filipe
Last edited by ripnix on Sat Jul 08, 2006 10:16 am, edited 2 times in total.
ripnix
 
Posts: 14
Joined: Sat Jul 16, 2005 4:16 am
Location: Portugal

Postby kevin » Fri Jul 22, 2005 8:42 am

These notices will be fixed in OJS 2.0.2

In the mean time, you can suppress them by changing:

Code: Select all
error_reporting(E_ALL);


to

Code: Select all
error_reporting(E_ALL & ~E_NOTICE);


in includes/driver.inc.php
kevin
 
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm


Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron