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!
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
NukeWrapper: Undef variable: ValidExpr in page.php line 294
-
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 676
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.
- Moderated by:
- Support
