Quickstart bug

Hi,
After installing the Quickstart version, I have this error !

Warning: strpos() [function.strpos]: Empty delimiter in /var/www/vhosts/mywebsite.com/httpdocs/app/design/frontend/default/jm_tube/template/page/includes/templatetools.php on line 355

1 answer

Profile photo of JA Developer 0.00 $tone April 23, 2009
Public

Hi,
After installing the Quickstart version, I have this error !

Warning: strpos() [function.strpos]: Empty delimiter in /var/www/vhosts/mywebsite.com/httpdocs/app/design/frontend/default/jm_tube/template/page/includes/templatetools.php on line 355

Hi,

For this case, please open app/design/frontend/default/jm_tube/template/page/includes/templatetools.php file, at about line 355 find following code:

Code:

if ($uri && strpos ($uri, $_path) === 0) {

and change to:

Code:

if ($uri && $_path && strpos ($uri, $_path) === 0) {
#1

This question is now closed

Written By

Comments