[SOLVED] - Cannot open admin page / ERror Message on website.
Posted: Mon May 20, 2019 6:47 pm
Guys / Gals
I didn't notice when this started, but it was reported by a prospective customer, but on my website i get
On admin login i get the message below and it wont allow me to log in
I have copied the lines around 591 (starting 585 > 601 if this helps at all )
Any help would be appreciated.
I didn't notice when this started, but it was reported by a prospective customer, but on my website i get
Code: Select all
Warning: "continue 2" targeting switch is equivalent to "break 2". Did you mean to use "continue 3"? in /home/puzzlepi/prettygirlwear.co.uk/vqmod/vqmod.php on line 591
Warning: Cannot modify header information - headers already sent by (output started at /home/puzzlepi/prettygirlwear.co.uk/vqmod/vqmod.php:591) in /home/puzzlepi/prettygirlwear.co.uk/system/framework.php on line 108Warning: Cannot modify header information - headers already sent by (output started at /home/puzzlepi/prettygirlwear.co.uk/vqmod/vqmod.php:591) in /home/puzzlepi/prettygirlwear.co.uk/catalog/controller/startup/session.php on line 25
On admin login i get the message below and it wont allow me to log in
Code: Select all
Warning: "continue 2" targeting switch is equivalent to "break 2". Did you mean to use "continue 3"? in /home/puzzlepi/prettygirlwear.co.uk/vqmod/vqmod.php on line 591
Warning: Cannot modify header information - headers already sent by (output started at /home/puzzlepi/prettygirlwear.co.uk/vqmod/vqmod.php:591) in /home/puzzlepi/prettygirlwear.co.uk/system/framework.php on line 108
Code: Select all
if($mod['search']->regex == 'true') {
$pos = @preg_match($mod['search']->getContent(), $line);
if($pos === false) {
if($mod['error'] == 'log' || $mod['error'] == 'abort' ) {
VQMod::$log->write('VQModObject::applyMod - INVALID REGEX ERROR - ' . $mod['search']->getContent(), $this);
}
continue 2;
} elseif($pos == 0) {
$pos = false;
}
} else {
$pos = strpos($line, $mod['search']->getContent());
}
if($pos !== false) {
$indexCount++;
$changed = true;
Any help would be appreciated.