Thank you very much, dear John, for the prompt message. I updated the error
reporting definition in include/session.php by
@ini_set('error_reporting', E_ERROR | E_WARNING | E_PARSE);
and it work very well. I'm really enthusiastic by the powerful phpgedview
script set :-)
----- Original Message -----
From: "John Finlay" <Joh...@ne...>
To: <php...@li...>
Sent: Monday, September 12, 2005 4:22 PM
Subject: RE: [Phpgedview-talk] Php-warnings: Only variables should be
assigned by reference
The answer to this problem was discussed in the help forums here:
http://sourceforge.net/forum/forum.php?thread_id=1318285&forum_id=185166
Scroll down to the bottom of the page to find the best solution. The
rest of the thread tells why the problem is occurring.
--John
-----Original Message-----
From: php...@li...
[mailto:php...@li...] On Behalf Of Peter
Buecken (PhilaTel.Net)
Sent: Monday, September 12, 2005 5:16 AM
To: php...@li...
Subject: [Phpgedview-talk] Php-warnings: Only variables should be
assigned by reference
After the installation of the phpgedview scripts on a t-online server,
there
is a series of php-warnings on each browser-page: "Only variables should
be
assigned by reference in ...".
The same warnings, when I uploaded a gedcom-file. It is viewed correctly
unless a lot of the mentioned warnings.
For the rest, the scripts seem to work correctly. The mysql database
seems
to be filled correctly, too.
What could be wrong that I get always these warnings?
Thank you much in advance
Peter
Here a list of the warnings:
Notice: Only variables should be assigned by reference in
/home/www/gedview/includes/authentication_mysql.php on line 301
Notice: Only variables should be assigned by reference in
/home/www/gedview/includes/functions_db.php on line 165
Notice: Only variables should be assigned by reference in
/home/www/gedview/includes/authentication_mysql.php on line 813
Notice: Only variables should be assigned by reference in
/home/www/gedview/includes/authentication_mysql.php on line 509
Notice: Only variables should be assigned by reference in
/home/www/gedview/includes/functions_db.php on line 268
Notice: Only variables should be assigned by reference in
/home/www/gedview/includes/functions_db.php on line 2126
Notice: Only variables should be assigned by reference in
/home/www/gedview/includes/functions_db.php on line 2131
Notice: Only variables should be assigned by reference in
/home/www/gedview/includes/functions_db.php on line 2136
Notice: Only variables should be assigned by reference in
/home/www/gedview/includes/functions_db.php on line 2141
Notice: Only variables should be assigned by reference in
/home/www/gedview/includes/authentication_mysql.php on line 939
Notice: Only variables should be assigned by reference in
/home/www/gedview/includes/authentication_mysql.php on line 779
Notice: Only variables should be assigned by reference in
/home/www/gedview/includes/functions_db.php on line 1577
Notice: Only variables should be assigned by reference in
/home/www/gedview/includes/functions_db.php on line 1317
Here the modules/versions:
Phpgedview: phpGedView-3.3.5.zip
PHP Version 4.4.0 with Hardening-Patch 0.3.2
MySql server: 4.1.13a
MySql client: 4.0.24
Here the phpgedview configuration:
$PGV_BASE_DIRECTORY = "";
$PGV_DATABASE = "db";
$DBTYPE = "mysql";
$DBHOST = "mysql.service";
$DBUSER = "***";
$DBPASS = "***";
$DBNAME = "***";
$TBLPREFIX = "pgv_";
$INDEX_DIRECTORY = "./index/";
$AUTHENTICATION_MODULE = "authentication_mysql.php";
$PGV_STORE_MESSAGES = true;
$PGV_SIMPLE_MAIL = false;
$USE_REGISTRATION_MODULE = true;
$REQUIRE_ADMIN_AUTH_REGISTRATION = true;
$ALLOW_USER_THEMES = true;
$ALLOW_CHANGE_GEDCOM = true;
$LOGFILE_CREATE = "monthly";
$PGV_SESSION_SAVE_PATH = "";
$PGV_SESSION_TIME = "7200";
$SERVER_URL = "http://www.***.de/gedview/";
$LOGIN_URL = "";
$PGV_MEMORY_LIMIT = "32M";
$ALLOW_REMEMBER_ME = true;
$CONFIG_VERSION = "3.2";
$CONFIGURED = true;
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing &
QA
Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
_______________________________________________
Phpgedview-talk mailing list
Php...@li...
https://lists.sourceforge.net/lists/listinfo/phpgedview-talk
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Phpgedview-talk mailing list
Php...@li...
https://lists.sourceforge.net/lists/listinfo/phpgedview-talk
|