#1
Error Reports Infusion v3.xx', 'New version: v3.00
A simple system to collect error reports from members on your site, to comment on these and to track/change their status (Open, response Added, Closed). A Latest Error Reports side panel is available to alert to to any error reports. The Panel only shows when error reports were made during the last 15 days. Their status is indicated by '0' for Open, '|' for Response Added and '_' for Closed.
Remark:
Upgrade of the Error Reports Infusion as available for PHP-Fusion v6 from the main PHP-Fusion site.
Changes:
- Fully updated to comply with PHP-Fusion v7.00 and for XHTML 1.0 compliancy.
- Latest Error Reports Panel updated to only show the errors that were reported during the l5 days and to show their status.
Upgrading from PHP-Fusion v6 to PHP-Fusion v7:
Please note, if you want to upgrade you Error Reports Infusion during a PHP-Fusion version upgrade from v6 to v7, there is no need to defuse the infusion. There will be no error messages as long as you upload the infusion files at the same time as the PHP-Fusion files. When you upload the infusion files, you can simply overwrite the existing ones.
PHP-Fusion v7 utilises a somewhat different system for administering admin rights for Infusions. In v6 it used to be a single setting that gave rights to all Infusions. Under the new version every infusion will be given its own code for admin rights. As a result it is necessary to run an upgrade script (../infusions/error_reports/v6-7upgrade.php) that will at least at the rights for the primary Superadministrator. The file has checkboxes to indicate whether all superadmins should be given access rights to the Error Reports Infusion and/or whether all admins with Infusion Administration rights should be given those rights.
This script only needs to be run if a site is upgraded from PHP-Fusion v6 to v7. Even though a check has been built in to prevent the script from being run after the upgrade has already been performed, it is advised to delete the script from your server after upgrading.
DOWNLOAD (last version: 28.07.2008)
* double locale definition removed from ../locale/English.php (would not have caused errors but is still out of place ;)) (28.07.2008; thx to SiteMaster)
* added Danish locale (28.07.2008; thx to SiteMaster)
Notice: Undefined index: post_edituser in
/home/muscapal/public_html/print.php on line
114
Edited by
muscapaul on 18-09-2008 13:10
Posted by
Diemux on 26-07-2008 19:03
#2
Hey, de download link wijst naar de verkeerde download :) (PM full)
(http://www.muscapaul.com/downloads.php?cat_id=6&download_id=41)
Moet zijn:
http://www.muscapaul.com/downloads.php?cat_id=6&download_id=51
#7
In error_reports.php line 42
Code
$result = dbquery("INSERT INTO ".DB_ERROR_REPORTS." (error_user, error_summary, error_version, error_description, error_response, error_status, error_datestamp) VALUES('".$userdata['user_id']."', '$error_summary', '$error_version', '$error_description', '', '".$locale['err142']."', '".time()."')");
There is no $locale['err142'] in the locale which results in;
Notice: Undefined variable: error_status in /home/xxxxxx/public_html/infusions/error_reports/error_reports.php on line 139
Notice: Undefined index: post_edituser in
/home/muscapal/public_html/print.php on line
114
Edited by
HobbyMan on 04-08-2008 19:02
#9
New version: v3.01
Changes:
v3.01 (muscapaul)
- Typo resulting in bug in error_reports.php corrected (thx to HobbyMan).
- Updated Danish locale added (thx to helmtuh).
DOWNLOAD (last version: 18.09.2008)
* Turkish and Polish locale files added (18.09.2008)
Notice: Undefined index: post_edituser in
/home/muscapal/public_html/print.php on line
114
Edited by
muscapaul on 18-09-2008 13:13
#13
Hi.
I'm getting an error with the latest version:
Notice: Undefined variable: error_status in C:\WM\www\hjemmeside\infusions\error_reports\error_reports.php on line 74
- line 74 looks like this:
Code
echo "<td class='tbl1'>".$error_status."</td>\n";
#17
Problem solved. Problem was with error_status. I must changed code.
Line 42
Code
$result = dbquery("INSERT INTO ".DB_ERROR_REPORTS." (error_user, error_summary, error_version, error_description, error_response, error_status, error_datestamp) VALUES('".$userdata['user_id']."', '$error_summary', '$error_version', '$error_description', '', '".$locale['err162']."', '".time()."')");
changed on
Code
$result = dbquery("INSERT INTO ".DB_ERROR_REPORTS." (error_user, error_summary, error_version, error_description, error_response, error_status, error_datestamp) VALUES('".$userdata['user_id']."', '$error_summary', '$error_version', '$error_description', '', '0', '".time()."')");
and lines where
Code
if ($data['error_status'] == '0') {
$error_status = $locale['err162'];
}
if ($data['error_status'] == '1') {
$error_status = $locale['err163'];
}
if ($data['error_status'] == '2') {
$error_status = $locale['err164'];
}
echo "<td class='tbl1'>".$error_status."</td>\n";
i changed on
Code
if ($data['error_status'] == '0') {
echo "<td align='center' class='tbl1'>".$locale['err162']."</td>\n";
}
if ($data['error_status'] == '1') {
echo "<td align='center' class='tbl1'>".$locale['err163']."</td>\n";
}
if ($data['error_status'] == '2') {
echo "<td align='center' class='tbl1'>".$locale['err164']."</td>\n";
}
Now it's working fine
Notice: Undefined index: post_edituser in
/home/muscapal/public_html/print.php on line
114
Edited by
edi18028 on 27-10-2009 18:24