Fork me on GitHub

NukeWrapper: Undef variable: ValidExpr in page.php line 294  Bottom

  • Hi I have a problem with nukewrapper, after setted up the document root (working) I got this error

    Notice: Undefined variable: ValidExpr in D:\Server\xxxxx\xxxxx\xxxxx\phpnuke\page.php on line 294

    Anyone knows what it means ?

    Here is a copy of line 294 in my page.php (with column)

    // Weather example, replacing all relative links to wrap through NukeWrapper, except HTTP, mailto, and javascript links
    $wrapIn2['weather'] = Array('%]+)href\s*=\s*(["\'])(?!http)(?!mailto)(?!java)(?=[^\s#"\']*'.$ValidExpr.')%Ui');
    $wrapOut2['weather'] = Array('URL=http://absreport.aghost.net/');


    Thanks in advance!
  • I've turned Notices off in PHP, so hadn't noticed this. Notices are non-critical errors. $ValidExpr got left behind after moving some code down the page. That part is only an example of the Parsing feature. Simply remove lines 293-295, it has no bearing on the script. I'll fix it.

This list is based on users active over the last 60 minutes.