The answer to this problem was discussed in the help forums here:
http://sourceforge.net/forum/forum.php?thread_id=3D1318285&forum_id=3D185=
166
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 =3D "";
$PGV_DATABASE =3D "db";
$DBTYPE =3D "mysql";
$DBHOST =3D "mysql.service";
$DBUSER =3D "***";
$DBPASS =3D "***";
$DBNAME =3D "***";
$TBLPREFIX =3D "pgv_";
$INDEX_DIRECTORY =3D "./index/";
$AUTHENTICATION_MODULE =3D "authentication_mysql.php";
$PGV_STORE_MESSAGES =3D true;
$PGV_SIMPLE_MAIL =3D false;
$USE_REGISTRATION_MODULE =3D true;
$REQUIRE_ADMIN_AUTH_REGISTRATION =3D true;
$ALLOW_USER_THEMES =3D true;
$ALLOW_CHANGE_GEDCOM =3D true;
$LOGFILE_CREATE =3D "monthly";
$PGV_SESSION_SAVE_PATH =3D "";
$PGV_SESSION_TIME =3D "7200";
$SERVER_URL =3D "http://www.***.de/gedview/";
$LOGIN_URL =3D "";
$PGV_MEMORY_LIMIT =3D "32M";
$ALLOW_REMEMBER_ME =3D true;
$CONFIG_VERSION =3D "3.2";
$CONFIGURED =3D 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
|