function.strpos error
I am trying to apply a template to a page. When I launch the page, I am getting an error (function.strpos). The page is http://www.1to1marketing-inc.com/test.php. My credentials and the page is attached.
I am trying to apply a template to a page. When I launch the page, I am getting an error (function.strpos). The page is http://www.1to1marketing-inc.com/test.php. My credentials and the page is attached.
It looks like the full error is:
Warning: strpos() [
function.strpos: Empty needle in
/home/content/05/11651305/html/marketing1to1/CSSMenuWriter/cssmw_home/menu.php
on line 10
If you attach a copy of that menu.php file and I'll take a look.
Incidentally, this is just a warning and not an error. An adequate solution may be to turn off warnings.
Thanks for your help Ray. The file is attached.
Update line 10 to: if ($assumedRoot && strpos(strtolower($WA_thisFile), strtolower($assumedRoot)) === 0) {
I added that line. There is still another now.
Warning: strpos() [function.strpos]: Empty needle in /home/content/05/11651305/html/marketing1to1/CSSMenuWriter/cssmw_home/menu.php on line 6:
Try updating line 6 to:
if ($WA_localRoot && strpos($WA_curURL,strtolower($WA_localRoot)) === 0 && (strlen($WA_localRoot) >= strlen($WA_remoteRoot) || strpos($WA_curURL,strtolower($WA_localRoot)) === 0)) {
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.