Bug 1509380 - corrupted source
Summary: corrupted source
Keywords:
Status: CLOSED DUPLICATE of bug 1492171
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: RackTables
Version: epel7
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Colin Coe
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-03 16:26 UTC by Jiří Sléžka
Modified: 2017-11-03 23:44 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-11-03 23:44:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jiří Sléžka 2017-11-03 16:26:03 UTC
Description of problem:

at least file /usr/share/RackTables/wwwroot/inc/exceptions.php is corrupted (not valid) php source.

Version-Release number of selected component (if applicable):

RackTables-0.20.13-1.el7.noarch

How reproducible:

Steps to Reproduce:
1. install lamp stack, RackTables, make dir in webroot and symlink to RackTables as mentioned in README

2. try access web interface

Actual results:

Empty screen is displayed and in http error log is message

PHP Parse error:  syntax error, unexpected '}', expecting end of file in /usr/share/RackTables/wwwroot/inc/exceptions.php on line 160

Expected results:

accessible web interface

Additional info:

php -l /usr/share/RackTables/wwwroot/inc/exceptions.php

PHP Parse error:  syntax error, unexpected '}', expecting end of file in /usr/share/RackTables/wwwroot/inc/exceptions.php on line 160
Errors parsing /usr/share/RackTables/wwwroot/inc/exceptions.php

I am using php7.1 and apache2.4 from IUS repo, but source looks really corrupted.

Comment 1 Jiří Sléžka 2017-11-03 16:30:27 UTC
it looks like this is only corupted file here...

find /usr/share/RackTables/ -name "*\.php" -exec php -l '{}' \;

No syntax errors detected in /usr/share/RackTables/scripts/cleanup_ldap_cache.php
No syntax errors detected in /usr/share/RackTables/scripts/syncdomain.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/ajax-interface.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/auth.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/caching.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/code.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/config.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/database.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/deviceconfig.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/dictionary.php
PHP Parse error:  syntax error, unexpected '}', expecting end of file in /usr/share/RackTables/wwwroot/inc/exceptions.php on line 160
Errors parsing /usr/share/RackTables/wwwroot/inc/exceptions.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/functions.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/init.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/install.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/interface-8021q.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/interface-cables.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/interface-config.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/interface-lib.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/interface-reports.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/interface.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/navigation.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/ophandlers.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/popup.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/pre-init.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/remote.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/slb-interface.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/slb.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/slb2-interface.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/slbv2.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/snmp.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/solutions.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/triggers.php
No syntax errors detected in /usr/share/RackTables/wwwroot/inc/upgrade.php
No syntax errors detected in /usr/share/RackTables/wwwroot/index.php

Comment 2 Colin Coe 2017-11-03 23:44:59 UTC

*** This bug has been marked as a duplicate of bug 1492171 ***


Note You need to log in before you can comment on or make changes to this bug.