Source your envars by
source /etc/apache2/envars
and
/usr/sbin/apache2 -V
If nothing works properly than try to change the document root from /var/www/html to /var/www
/etc/apache2/sites-available/000-default.conf
Regards
sip_mw
Source your envars by
source /etc/apache2/envars
and
/usr/sbin/apache2 -V
If nothing works properly than try to change the document root from /var/www/html to /var/www
/etc/apache2/sites-available/000-default.conf
Regards
sip_mw
Hey guys,
since having installed Microsoft Office Key plugin , when I try to view details of installed software , I get this error:" Parse error: syntax error, unexpected $end in C:\xampp\htdocs\ocsreports\plugins\main_sections\ms_multi_search\ms_multi_search.php on line 1321"
The error is in the end of the file and this is the content of my ms_multi_search.php file:
.............
echo "<tr><td colspan=100 align=right><input type='submit' name='Valid-search' value='".$l->g(30)."' onclick='garde_valeur(\"VALID\",\"Valid\");'></td></tr>"; echo "<input type=hidden name='Valid' id='Valid' value=''>"; } echo "</table>"; echo "<input type=hidden name=delfield id=delfield value=''>"; echo "<input type=hidden name='reset' id='reset' value=''>"; echo "</td></tr></table>"; echo "</form>"; echo $l->g(358); echo "<br>";
Microsoft Office Key plugin works fine, my PHP version is 5.3.8 and my OCS Server version is 2.1.1.
Anyone help me?
Regards
Jacopo
Hey Marco
What was the previous version of OCS? I think your config file is corrupt (config/profiles/sadmin.xml) Regards
Log error Apache
[Mon Aug 24 11:28:07.766222 2015] [mpm_prefork:notice] [pid 2500] AH00169: caught SIGTERM, shutting down [Mon Aug 24 11:28:27.287540 2015] [mpm_prefork:notice] [pid 1190] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.11 mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations [Mon Aug 24 11:28:27.290199 2015] [core:notice] [pid 1190] AH00094: Command line: '/usr/sbin/apache2' [Mon Aug 24 11:29:03.773642 2015] [:error] [pid 1205] [client 192.168.20.102:58059] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers [Mon Aug 24 11:29:03.783127 2015] [:error] [pid 1205] [client 192.168.20.102:58059] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers [Mon Aug 24 11:29:03.799214 2015] [:error] [pid 1205] [client 192.168.20.102:58059] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers [Mon Aug 24 13:02:06.290712 2015] [:error] [pid 1204] [client 192.168.20.102:58807] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers [Mon Aug 24 13:02:06.291029 2015] [:error] [pid 1204] [client 192.168.20.102:58807] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers [Mon Aug 24 13:02:06.291573 2015] [:error] [pid 1204] [client 192.168.20.102:58807] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers [Mon Aug 24 14:59:37.539091 2015] [:error] [pid 1206] [client 192.168.20.102:60119] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers [Mon Aug 24 14:59:37.539430 2015] [:error] [pid 1206] [client 192.168.20.102:60119] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers [Mon Aug 24 14:59:37.539972 2015] [:error] [pid 1206] [client 192.168.20.102:60119] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers