PDA

View Full Version : Installation - Cannot run 'vbacmps_install.php'


cypjaxion
06-19-2004, 02:33 PM
Whenever I run 'vbacmps_install.php' I get the following error:


Parse error: parse error in /home/virtual/site55/fst/var/www/html/forums/includes/functions.php on line 1864

Fatal error: Call to undefined function: exec_nocache_headers() in /home/virtual/site55/fst/var/www/html/forums/admincp/global.php on line 37

The said line in functions.php is:

$debughtml .= " (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')'?')=== false, '?', '?','?','?','?','?','&amp;') . "tempusage=1\">Template Usage</a>) (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')'?')=== false, '?', '?','?','?','?','?','&amp;') . "explain=1\">Explain</a>)<br />\n";

and is part of:

$debughtml = '<hr />';
//$debughtml .= "<ul><a href=\"#\" onclick=\"set_cookie('vbulletin_collapse', ''); window.location=window.location\">vbulletin_collapse</a>:<br /><li>" . str_replace("\n", '</li><li>', $_COOKIE['vbulletin_collapse']) . "</li></ul>";
$debughtml .= "\n<form name=\"debugger\" action=\"\">\n<div align=\"center\">\n<!--querycount-->Executed <b>$query_count</b> queries<!--/querycount-->" . iif($_TEMPLATEQUERIES, " (<b>" . sizeof($_TEMPLATEQUERIES) . "</b> queries for uncached templates)", '') . " . ";
$debughtml .= " (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')'?')=== false, '?', '?','?','?','?','?','&amp;') . "tempusage=1\">Template Usage</a>) (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')'?')=== false, '?', '?','?','?','?','?','&amp;') . "explain=1\">Explain</a>)<br />\n";
$debughtml .= "<select>\n\t<option>(Page Generated in $totaltime Seconds)</option>\n$messages</select>\n";


The second line in question is:


exec_nocache_headers();

Any suggestions as to what is wrong? if it helps, I have the following hacks installed already:

VB3 Member Album
v3Articles

cypjaxion
06-19-2004, 04:51 PM
I tried doing this onto a clean install of VB and the same problem applies. Am I the only one to experience this?

Our Sponsors
 

Zachery
06-19-2004, 05:19 PM
What are you using to edit your files?

cypjaxion
06-20-2004, 03:37 PM
Hah! Just worked it out, it's dreamweaver being problematic ...

Seriously, that program rocks in every area of web design bar complex coding, annoyingly. Had to try and use notepad! Anyone recommend a good, free PHP editor?

Our Sponsors
 

DarknessDivine
06-20-2004, 04:21 PM
I haven't personally used any of these but thought it might help..;)

List of php editors.. (http://phpeditors.dancinghippo.com/)
Chrimson Editor (http://chrimsoneditor.com)
Maguma (http://www.maguma.com/en/lightdownload.html)